mirror of
https://github.com/OCA/stock-logistics-warehouse.git
synced 2025-01-21 14:27:28 +02:00
Add stock_vertical_lift_server_env
Compatibility layer between server_environment and stock_vertical_lift
This commit is contained in:
committed by
nguyenhk
parent
3b408103bf
commit
7d1c1f20d2
1
stock_vertical_lift_server_env/__init__.py
Normal file
1
stock_vertical_lift_server_env/__init__.py
Normal file
@@ -0,0 +1 @@
|
|||||||
|
from . import models
|
||||||
16
stock_vertical_lift_server_env/__manifest__.py
Normal file
16
stock_vertical_lift_server_env/__manifest__.py
Normal file
@@ -0,0 +1,16 @@
|
|||||||
|
# Copyright 2020 Camptocamp SA
|
||||||
|
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
|
||||||
|
{
|
||||||
|
"name": "Vertical Lift - Server Environment",
|
||||||
|
"summary": "Server Environment layer for Vertical Lift",
|
||||||
|
"version": "13.0.1.0.0",
|
||||||
|
"category": "Stock",
|
||||||
|
"author": "Camptocamp, Odoo Community Association (OCA)",
|
||||||
|
"license": "AGPL-3",
|
||||||
|
"depends": ["stock_vertical_lift", "server_environment"], # OCA/server-env
|
||||||
|
"website": "https://github.com/OCA/stock-logistics-warehouse",
|
||||||
|
"data": [],
|
||||||
|
"installable": True,
|
||||||
|
"auto_install": True,
|
||||||
|
"development_status": "Alpha",
|
||||||
|
}
|
||||||
1
stock_vertical_lift_server_env/models/__init__.py
Normal file
1
stock_vertical_lift_server_env/models/__init__.py
Normal file
@@ -0,0 +1 @@
|
|||||||
|
from . import vertical_lift_shuttle
|
||||||
@@ -0,0 +1,21 @@
|
|||||||
|
# Copyright 2020 Camptocamp SA
|
||||||
|
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
|
||||||
|
|
||||||
|
from odoo import models
|
||||||
|
|
||||||
|
|
||||||
|
class VerticalLiftShuttle(models.Model):
|
||||||
|
_name = "vertical.lift.shuttle"
|
||||||
|
_inherit = ["vertical.lift.shuttle", "server.env.mixin"]
|
||||||
|
|
||||||
|
@property
|
||||||
|
def _server_env_fields(self):
|
||||||
|
base_fields = super()._server_env_fields
|
||||||
|
sftp_fields = {
|
||||||
|
"hardware": {},
|
||||||
|
"server": {},
|
||||||
|
"port": {},
|
||||||
|
"use_tls": {},
|
||||||
|
}
|
||||||
|
sftp_fields.update(base_fields)
|
||||||
|
return sftp_fields
|
||||||
1
stock_vertical_lift_server_env/readme/CONTRIBUTORS.rst
Normal file
1
stock_vertical_lift_server_env/readme/CONTRIBUTORS.rst
Normal file
@@ -0,0 +1 @@
|
|||||||
|
* Guewen Baconnier <guewen.baconnier@camptocamp.com>
|
||||||
1
stock_vertical_lift_server_env/readme/DESCRIPTION.rst
Normal file
1
stock_vertical_lift_server_env/readme/DESCRIPTION.rst
Normal file
@@ -0,0 +1 @@
|
|||||||
|
Adds OCA Server Environment features to Stock Vertical Lift.
|
||||||
Reference in New Issue
Block a user