diff --git a/setup/stock_location_zone/odoo/addons/stock_location_zone b/setup/stock_location_zone/odoo/addons/stock_location_zone new file mode 120000 index 000000000..7d216d8f9 --- /dev/null +++ b/setup/stock_location_zone/odoo/addons/stock_location_zone @@ -0,0 +1 @@ +../../../../stock_location_zone \ No newline at end of file diff --git a/setup/stock_location_zone/setup.py b/setup/stock_location_zone/setup.py new file mode 100644 index 000000000..28c57bb64 --- /dev/null +++ b/setup/stock_location_zone/setup.py @@ -0,0 +1,6 @@ +import setuptools + +setuptools.setup( + setup_requires=['setuptools-odoo'], + odoo_addon=True, +) diff --git a/stock_location_zone/README.rst b/stock_location_zone/README.rst new file mode 100644 index 000000000..3251dc8b0 --- /dev/null +++ b/stock_location_zone/README.rst @@ -0,0 +1,92 @@ +=================== +Stock Location Zone +=================== + +.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! This file is generated by oca-gen-addon-readme !! + !! changes will be overwritten. !! + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + +.. |badge1| image:: https://img.shields.io/badge/maturity-Alpha-red.png + :target: https://odoo-community.org/page/development-status + :alt: Alpha +.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png + :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html + :alt: License: AGPL-3 +.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fstock--logistics--warehouse-lightgray.png?logo=github + :target: https://github.com/OCA/stock-logistics-warehouse/tree/13.0/stock_location_zone + :alt: OCA/stock-logistics-warehouse +.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png + :target: https://translation.odoo-community.org/projects/stock-logistics-warehouse-13-0/stock-logistics-warehouse-13-0-stock_location_zone + :alt: Translate me on Weblate +.. |badge5| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png + :target: https://runbot.odoo-community.org/runbot/153/13.0 + :alt: Try me on Runbot + +|badge1| |badge2| |badge3| |badge4| |badge5| + +This module introduces Zone concept on stock locations to allow better +classification of stock locations in a warehouse. + +Locations are then classified by location kinds that could be: + +* Zone: locations that are flagged as being zones. Zones are subdivisions of the warehouse for splitting picking operations. A picking operator work in a zone and can pick from any location of the zone. +* Area: locations with children that are part of a zone. Areas are subdivisions of the warehouse for put-away operations. Each area has storage characteristics and strategy, e.g. area for pallets, shelf for boxes... +* Bin: locations without children that are part of a zone +* Stock: internal locations whose parent is a view +* Other: any other location + +.. IMPORTANT:: + This is an alpha version, the data model and design can change at any time without warning. + Only for development or testing purpose, do not use in production. + `More details on development status `_ + +**Table of contents** + +.. contents:: + :local: + +Bug Tracker +=========== + +Bugs are tracked on `GitHub Issues `_. +In case of trouble, please check there if your issue has already been reported. +If you spotted it first, help us smashing it by providing a detailed and welcomed +`feedback `_. + +Do not contact contributors directly about support or help with technical issues. + +Credits +======= + +Authors +~~~~~~~ + +* BCIM +* Okia +* Camptocamp + +Contributors +~~~~~~~~~~~~ + +* Syvain Van Hoof (Okia sprl) +* Jacques-Etienne Baudoux (BCIM) +* Guewen Baconnier (Camptocamp) +* Akim Juillerat + +Maintainers +~~~~~~~~~~~ + +This module is maintained by the OCA. + +.. image:: https://odoo-community.org/logo.png + :alt: Odoo Community Association + :target: https://odoo-community.org + +OCA, or the Odoo Community Association, is a nonprofit organization whose +mission is to support the collaborative development of Odoo features and +promote its widespread use. + +This module is part of the `OCA/stock-logistics-warehouse `_ project on GitHub. + +You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. diff --git a/stock_location_zone/__init__.py b/stock_location_zone/__init__.py new file mode 100644 index 000000000..0650744f6 --- /dev/null +++ b/stock_location_zone/__init__.py @@ -0,0 +1 @@ +from . import models diff --git a/stock_location_zone/__manifest__.py b/stock_location_zone/__manifest__.py new file mode 100644 index 000000000..f0b4ba9de --- /dev/null +++ b/stock_location_zone/__manifest__.py @@ -0,0 +1,17 @@ +# Copyright 2017 Syvain Van Hoof (Okia sprl) +# Copyright 2016-2019 Jacques-Etienne Baudoux (BCIM) +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). + +{ + "name": "Stock Location Zone", + "version": "13.0.1.0.0", + "author": "BCIM, Okia, Camptocamp, Odoo Community Association (OCA)", + "website": "https://github.com/OCA/stock-logistics-warehouse", + "summary": "Classify locations with zones.", + "category": "Stock Management", + "depends": ["stock"], + "data": ["views/stock_location.xml"], + "installable": True, + "development_status": "Alpha", + "license": "AGPL-3", +} diff --git a/stock_location_zone/i18n/stock_location_zone.pot b/stock_location_zone/i18n/stock_location_zone.pot new file mode 100644 index 000000000..273c83164 --- /dev/null +++ b/stock_location_zone/i18n/stock_location_zone.pot @@ -0,0 +1,198 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * stock_location_zone +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 12.0\n" +"Report-Msgid-Bugs-To: \n" +"Last-Translator: <>\n" +"Language-Team: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: \n" + +#. module: stock_location_zone +#: model:ir.model.fields,field_description:stock_location_zone.field_stock_location__area +#: selection:stock.location,kind:0 +msgid "Area" +msgstr "" + +#. module: stock_location_zone +#: selection:stock.location,kind:0 +msgid "Bin" +msgstr "" + +#. module: stock_location_zone +#: model:ir.model.fields,field_description:stock_location_zone.field_stock_location__posx +msgid "Box (X)" +msgstr "" + +#. module: stock_location_zone +#: model:ir.model.fields,field_description:stock_location_zone.field_stock_location__posy +msgid "Box (Y)" +msgstr "" + +#. module: stock_location_zone +#: model:ir.model.fields,field_description:stock_location_zone.field_stock_location__posz +msgid "Box (Z)" +msgstr "" + +#. module: stock_location_zone +#: model:ir.model.fields,field_description:stock_location_zone.field_stock_picking_zone__code +msgid "Code" +msgstr "" + +#. module: stock_location_zone +#: model:ir.model.fields,field_description:stock_location_zone.field_stock_location__corridor +msgid "Corridor" +msgstr "" + +#. module: stock_location_zone +#: model:ir.model.fields,field_description:stock_location_zone.field_stock_picking_zone__create_uid +msgid "Created by" +msgstr "" + +#. module: stock_location_zone +#: model:ir.model.fields,field_description:stock_location_zone.field_stock_picking_zone__create_date +msgid "Created on" +msgstr "" + +#. module: stock_location_zone +#: model_terms:ir.actions.act_window,help:stock_location_zone.action_picking_zone +msgid "Define the picking zones of your warehouses" +msgstr "" + +#. module: stock_location_zone +#: model:ir.model.fields,field_description:stock_location_zone.field_stock_picking_zone__display_name +msgid "Display Name" +msgstr "" + +#. module: stock_location_zone +#: model:ir.model.fields,help:stock_location_zone.field_stock_location__location_name_format +msgid "Format string that will compute the name of the location. Use location fields. Example: '{area}-{corridor:0>2}.{rack:0>3}.{level:0>2}'" +msgstr "" + +#. module: stock_location_zone +#: model:ir.model.fields,help:stock_location_zone.field_stock_location__level +msgid "Height on the shelf" +msgstr "" + +#. module: stock_location_zone +#: model:ir.model.fields,help:stock_location_zone.field_stock_location__rack +msgid "House number" +msgstr "" + +#. module: stock_location_zone +#: model:ir.model.fields,field_description:stock_location_zone.field_stock_picking_zone__id +msgid "ID" +msgstr "" + +#. module: stock_location_zone +#: model:ir.model,name:stock_location_zone.model_stock_location +msgid "Inventory Locations" +msgstr "" + +#. module: stock_location_zone +#: model:ir.model.fields,field_description:stock_location_zone.field_stock_location__kind +msgid "Kind" +msgstr "" + +#. module: stock_location_zone +#: model:ir.model.fields,field_description:stock_location_zone.field_stock_picking_zone____last_update +msgid "Last Modified on" +msgstr "" + +#. module: stock_location_zone +#: model:ir.model.fields,field_description:stock_location_zone.field_stock_picking_zone__write_uid +msgid "Last Updated by" +msgstr "" + +#. module: stock_location_zone +#: model:ir.model.fields,field_description:stock_location_zone.field_stock_picking_zone__write_date +msgid "Last Updated on" +msgstr "" + +#. module: stock_location_zone +#: model:ir.model.fields,field_description:stock_location_zone.field_stock_location__level +msgid "Level" +msgstr "" + +#. module: stock_location_zone +#: model:ir.model.fields,field_description:stock_location_zone.field_stock_location__location_name_format +msgid "Location Name Format" +msgstr "" + +#. module: stock_location_zone +#: model:ir.model.fields,field_description:stock_location_zone.field_stock_picking_zone__name +msgid "Name" +msgstr "" + +#. module: stock_location_zone +#: model:ir.model.fields,help:stock_location_zone.field_stock_location__posx +#: model:ir.model.fields,help:stock_location_zone.field_stock_location__posy +#: model:ir.model.fields,help:stock_location_zone.field_stock_location__posz +msgid "Optional localization details, for information purpose only" +msgstr "" + +#. module: stock_location_zone +#: model:ir.model.fields,field_description:stock_location_zone.field_stock_location__picking_type_id +#: model:ir.model.fields,field_description:stock_location_zone.field_stock_picking_zone__picking_type_id +msgid "Pick Type" +msgstr "" + +#. module: stock_location_zone +#: selection:stock.location,kind:0 +msgid "Picking Zone" +msgstr "" + +#. module: stock_location_zone +#: model:ir.actions.act_window,name:stock_location_zone.action_picking_zone +#: model:ir.ui.menu,name:stock_location_zone.picking_zone_menu +#: model_terms:ir.ui.view,arch_db:stock_location_zone.picking_zone_view_filter +#: model_terms:ir.ui.view,arch_db:stock_location_zone.picking_zone_view_tree +msgid "Picking Zones" +msgstr "" + +#. module: stock_location_zone +#: model:ir.model.fields,help:stock_location_zone.field_stock_location__picking_type_id +#: model:ir.model.fields,help:stock_location_zone.field_stock_picking_zone__picking_type_id +msgid "Picking type for operations from this location" +msgstr "" + +#. module: stock_location_zone +#: model:ir.model.fields,field_description:stock_location_zone.field_stock_location__picking_zone_id +msgid "Picking zone" +msgstr "" + +#. module: stock_location_zone +#: model:ir.model.fields,field_description:stock_location_zone.field_stock_location__rack +msgid "Rack" +msgstr "" + +#. module: stock_location_zone +#: model:ir.model.fields,field_description:stock_location_zone.field_stock_location__row +msgid "Row" +msgstr "" + +#. module: stock_location_zone +#: model:ir.model.fields,help:stock_location_zone.field_stock_location__row +msgid "Side in the street" +msgstr "" + +#. module: stock_location_zone +#: model:ir.model,name:stock_location_zone.model_stock_picking_zone +msgid "Stock Picking Zone" +msgstr "" + +#. module: stock_location_zone +#: model:ir.model.fields,help:stock_location_zone.field_stock_location__corridor +msgid "Street" +msgstr "" + +#. module: stock_location_zone +#: sql_constraint:stock.picking.zone:0 +msgid "The picking zone code must be unique" +msgstr "" + diff --git a/stock_location_zone/i18n/zh_CN.po b/stock_location_zone/i18n/zh_CN.po new file mode 100644 index 000000000..117417ed9 --- /dev/null +++ b/stock_location_zone/i18n/zh_CN.po @@ -0,0 +1,200 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * stock_location_zone +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 12.0\n" +"Report-Msgid-Bugs-To: \n" +"PO-Revision-Date: 2019-10-12 16:36+0000\n" +"Last-Translator: 黎伟杰 <674416404@qq.com>\n" +"Language-Team: none\n" +"Language: zh_CN\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=1; plural=0;\n" +"X-Generator: Weblate 3.8\n" + +#. module: stock_location_zone +#: model:ir.model.fields,field_description:stock_location_zone.field_stock_location__area +#: selection:stock.location,kind:0 +msgid "Area" +msgstr "区域" + +#. module: stock_location_zone +#: selection:stock.location,kind:0 +msgid "Bin" +msgstr "箱子" + +#. module: stock_location_zone +#: model:ir.model.fields,field_description:stock_location_zone.field_stock_location__posx +msgid "Box (X)" +msgstr "盒子(X)" + +#. module: stock_location_zone +#: model:ir.model.fields,field_description:stock_location_zone.field_stock_location__posy +msgid "Box (Y)" +msgstr "盒子(Y)" + +#. module: stock_location_zone +#: model:ir.model.fields,field_description:stock_location_zone.field_stock_location__posz +msgid "Box (Z)" +msgstr "盒子(Z)" + +#. module: stock_location_zone +#: model:ir.model.fields,field_description:stock_location_zone.field_stock_picking_zone__code +msgid "Code" +msgstr "代码" + +#. module: stock_location_zone +#: model:ir.model.fields,field_description:stock_location_zone.field_stock_location__corridor +msgid "Corridor" +msgstr "过道" + +#. module: stock_location_zone +#: model:ir.model.fields,field_description:stock_location_zone.field_stock_picking_zone__create_uid +msgid "Created by" +msgstr "创建者" + +#. module: stock_location_zone +#: model:ir.model.fields,field_description:stock_location_zone.field_stock_picking_zone__create_date +msgid "Created on" +msgstr "创建时间" + +#. module: stock_location_zone +#: model_terms:ir.actions.act_window,help:stock_location_zone.action_picking_zone +msgid "Define the picking zones of your warehouses" +msgstr "定义仓库的拣货区域" + +#. module: stock_location_zone +#: model:ir.model.fields,field_description:stock_location_zone.field_stock_picking_zone__display_name +msgid "Display Name" +msgstr "显示名称" + +#. module: stock_location_zone +#: model:ir.model.fields,help:stock_location_zone.field_stock_location__location_name_format +msgid "Format string that will compute the name of the location. Use location fields. Example: '{area}-{corridor:0>2}.{rack:0>3}.{level:0>2}'" +msgstr "格式字符串,用于计算位置名称。使用位置字段。例: '{area}-{corridor:0>2}.{rack:0>3}.{level:0>2}'" + +#. module: stock_location_zone +#: model:ir.model.fields,help:stock_location_zone.field_stock_location__level +msgid "Height on the shelf" +msgstr "架子上的高度" + +#. module: stock_location_zone +#: model:ir.model.fields,help:stock_location_zone.field_stock_location__rack +msgid "House number" +msgstr "门牌号码" + +#. module: stock_location_zone +#: model:ir.model.fields,field_description:stock_location_zone.field_stock_picking_zone__id +msgid "ID" +msgstr "ID" + +#. module: stock_location_zone +#: model:ir.model,name:stock_location_zone.model_stock_location +msgid "Inventory Locations" +msgstr "库存位置" + +#. module: stock_location_zone +#: model:ir.model.fields,field_description:stock_location_zone.field_stock_location__kind +msgid "Kind" +msgstr "种类" + +#. module: stock_location_zone +#: model:ir.model.fields,field_description:stock_location_zone.field_stock_picking_zone____last_update +msgid "Last Modified on" +msgstr "最后修改时间" + +#. module: stock_location_zone +#: model:ir.model.fields,field_description:stock_location_zone.field_stock_picking_zone__write_uid +msgid "Last Updated by" +msgstr "最后更新者" + +#. module: stock_location_zone +#: model:ir.model.fields,field_description:stock_location_zone.field_stock_picking_zone__write_date +msgid "Last Updated on" +msgstr "最后更新时间" + +#. module: stock_location_zone +#: model:ir.model.fields,field_description:stock_location_zone.field_stock_location__level +msgid "Level" +msgstr "层级" + +#. module: stock_location_zone +#: model:ir.model.fields,field_description:stock_location_zone.field_stock_location__location_name_format +msgid "Location Name Format" +msgstr "位置名称格式" + +#. module: stock_location_zone +#: model:ir.model.fields,field_description:stock_location_zone.field_stock_picking_zone__name +msgid "Name" +msgstr "名称" + +#. module: stock_location_zone +#: model:ir.model.fields,help:stock_location_zone.field_stock_location__posx +#: model:ir.model.fields,help:stock_location_zone.field_stock_location__posy +#: model:ir.model.fields,help:stock_location_zone.field_stock_location__posz +msgid "Optional localization details, for information purpose only" +msgstr "可选的本地化详细信息,仅供参考" + +#. module: stock_location_zone +#: model:ir.model.fields,field_description:stock_location_zone.field_stock_location__picking_type_id +#: model:ir.model.fields,field_description:stock_location_zone.field_stock_picking_zone__picking_type_id +msgid "Pick Type" +msgstr "拣货类型" + +#. module: stock_location_zone +#: selection:stock.location,kind:0 +msgid "Picking Zone" +msgstr "拣货区域" + +#. module: stock_location_zone +#: model:ir.actions.act_window,name:stock_location_zone.action_picking_zone +#: model:ir.ui.menu,name:stock_location_zone.picking_zone_menu +#: model_terms:ir.ui.view,arch_db:stock_location_zone.picking_zone_view_filter +#: model_terms:ir.ui.view,arch_db:stock_location_zone.picking_zone_view_tree +msgid "Picking Zones" +msgstr "拣货区域" + +#. module: stock_location_zone +#: model:ir.model.fields,help:stock_location_zone.field_stock_location__picking_type_id +#: model:ir.model.fields,help:stock_location_zone.field_stock_picking_zone__picking_type_id +msgid "Picking type for operations from this location" +msgstr "从此位置进行操作的拣货类型" + +#. module: stock_location_zone +#: model:ir.model.fields,field_description:stock_location_zone.field_stock_location__picking_zone_id +msgid "Picking zone" +msgstr "拣货区域" + +#. module: stock_location_zone +#: model:ir.model.fields,field_description:stock_location_zone.field_stock_location__rack +msgid "Rack" +msgstr "架子" + +#. module: stock_location_zone +#: model:ir.model.fields,field_description:stock_location_zone.field_stock_location__row +msgid "Row" +msgstr "行" + +#. module: stock_location_zone +#: model:ir.model.fields,help:stock_location_zone.field_stock_location__row +msgid "Side in the street" +msgstr "在过道上" + +#. module: stock_location_zone +#: model:ir.model,name:stock_location_zone.model_stock_picking_zone +msgid "Stock Picking Zone" +msgstr "拣货区域" + +#. module: stock_location_zone +#: model:ir.model.fields,help:stock_location_zone.field_stock_location__corridor +msgid "Street" +msgstr "过道" + +#. module: stock_location_zone +#: sql_constraint:stock.picking.zone:0 +msgid "The picking zone code must be unique" +msgstr "拣货区域代码必须唯一" diff --git a/stock_location_zone/models/__init__.py b/stock_location_zone/models/__init__.py new file mode 100644 index 000000000..88493e35d --- /dev/null +++ b/stock_location_zone/models/__init__.py @@ -0,0 +1 @@ +from . import stock_location diff --git a/stock_location_zone/models/stock_location.py b/stock_location_zone/models/stock_location.py new file mode 100644 index 000000000..388f8e925 --- /dev/null +++ b/stock_location_zone/models/stock_location.py @@ -0,0 +1,104 @@ +# Copyright 2017 Sylvain Van Hoof +# Copyright 2018-2019 Jacques-Etienne Baudoux (BCIM sprl) +# Copyright 2019 Camptocamp SA +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). + +from odoo import api, fields, models + + +class StockLocation(models.Model): + _inherit = "stock.location" + + is_zone = fields.Boolean( + string="Is a Zone Location?", help="Mark to define this location as a zone" + ) + + zone_location_id = fields.Many2one( + "stock.location", + string="Location Zone", + compute="_compute_zone_location_id", + store=True, + index=True, + ) + area_location_id = fields.Many2one( + "stock.location", + string="Location Area", + compute="_compute_zone_location_id", + store=True, + ) + + location_kind = fields.Selection( + [ + ("zone", "Zone"), + ("area", "Area"), + ("bin", "Bin"), + ("stock", "Main Stock"), + ("other", "Other"), + ], + string="Location Kind", + compute="_compute_location_kind", + store=True, + help="Group location according to their kinds: " + "* Zone: locations that are flagged as being zones " + "* Area: locations with children that are part of a zone " + "* Bin: locations without children that are part of a zone " + "* Stock: internal locations whose parent is a view " + "* Other: any other location", + ) + + @api.depends( + "is_zone", "location_id.zone_location_id", "location_id.area_location_id" + ) + def _compute_zone_location_id(self): + for location in self: + location.zone_location_id = self.browse() + location.area_location_id = self.browse() + if location.is_zone: + location.zone_location_id = location + continue + parent = location.location_id + if parent.zone_location_id: + location.zone_location_id = parent.zone_location_id + # If we have more than one level of area in a zone, + # the grouping is done by the first level + if parent.area_location_id: + location.area_location_id = parent.area_location_id + else: + location.area_location_id = location + + @api.depends( + "usage", + "location_id.usage", + "child_ids", + "area_location_id", + "zone_location_id", + ) + def _compute_location_kind(self): + for location in self: + if location.zone_location_id and not location.area_location_id: + location.location_kind = "zone" + continue + + parent = location.location_id + if location.usage == "internal" and parent.usage == "view": + # Internal locations whose parent is view are main stocks + location.location_kind = "stock" + elif ( + # Internal locations having a zone and no children are bins + location.usage == "internal" + and location.zone_location_id + and location.area_location_id + and not location.child_ids + ): + location.location_kind = "bin" + elif ( + location.usage == "internal" + and location.zone_location_id + and location.area_location_id + and location.child_ids + ): + # Internal locations having a zone and children are areas + location.location_kind = "area" + else: + # All the rest are other locations + location.location_kind = "other" diff --git a/stock_location_zone/readme/CONTRIBUTORS.rst b/stock_location_zone/readme/CONTRIBUTORS.rst new file mode 100644 index 000000000..0425dda61 --- /dev/null +++ b/stock_location_zone/readme/CONTRIBUTORS.rst @@ -0,0 +1,4 @@ +* Syvain Van Hoof (Okia sprl) +* Jacques-Etienne Baudoux (BCIM) +* Guewen Baconnier (Camptocamp) +* Akim Juillerat diff --git a/stock_location_zone/readme/DESCRIPTION.rst b/stock_location_zone/readme/DESCRIPTION.rst new file mode 100644 index 000000000..7b3ca7af2 --- /dev/null +++ b/stock_location_zone/readme/DESCRIPTION.rst @@ -0,0 +1,10 @@ +This module introduces Zone concept on stock locations to allow better +classification of stock locations in a warehouse. + +Locations are then classified by location kinds that could be: + +* Zone: locations that are flagged as being zones. Zones are subdivisions of the warehouse for splitting picking operations. A picking operator work in a zone and can pick from any location of the zone. +* Area: locations with children that are part of a zone. Areas are subdivisions of the warehouse for put-away operations. Each area has storage characteristics and strategy, e.g. area for pallets, shelf for boxes... +* Bin: locations without children that are part of a zone +* Stock: internal locations whose parent is a view +* Other: any other location diff --git a/stock_location_zone/static/description/icon.png b/stock_location_zone/static/description/icon.png new file mode 100644 index 000000000..3a0328b51 Binary files /dev/null and b/stock_location_zone/static/description/icon.png differ diff --git a/stock_location_zone/static/description/index.html b/stock_location_zone/static/description/index.html new file mode 100644 index 000000000..65cd947ed --- /dev/null +++ b/stock_location_zone/static/description/index.html @@ -0,0 +1,439 @@ + + + + + + +Stock Location Zone + + + +
+

Stock Location Zone

+ + +

Alpha License: AGPL-3 OCA/stock-logistics-warehouse Translate me on Weblate Try me on Runbot

+

This module introduces Zone concept on stock locations to allow better +classification of stock locations in a warehouse.

+

Locations are then classified by location kinds that could be:

+
    +
  • Zone: locations that are flagged as being zones. Zones are subdivisions of the warehouse for splitting picking operations. A picking operator work in a zone and can pick from any location of the zone.
  • +
  • Area: locations with children that are part of a zone. Areas are subdivisions of the warehouse for put-away operations. Each area has storage characteristics and strategy, e.g. area for pallets, shelf for boxes…
  • +
  • Bin: locations without children that are part of a zone
  • +
  • Stock: internal locations whose parent is a view
  • +
  • Other: any other location
  • +
+
+

Important

+

This is an alpha version, the data model and design can change at any time without warning. +Only for development or testing purpose, do not use in production. +More details on development status

+
+

Table of contents

+ +
+

Bug Tracker

+

Bugs are tracked on GitHub Issues. +In case of trouble, please check there if your issue has already been reported. +If you spotted it first, help us smashing it by providing a detailed and welcomed +feedback.

+

Do not contact contributors directly about support or help with technical issues.

+
+
+

Credits

+
+

Authors

+
    +
  • BCIM
  • +
  • Okia
  • +
  • Camptocamp
  • +
+
+
+

Contributors

+ +
+
+

Maintainers

+

This module is maintained by the OCA.

+Odoo Community Association +

OCA, or the Odoo Community Association, is a nonprofit organization whose +mission is to support the collaborative development of Odoo features and +promote its widespread use.

+

This module is part of the OCA/stock-logistics-warehouse project on GitHub.

+

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

+
+
+
+ + diff --git a/stock_location_zone/views/stock_location.xml b/stock_location_zone/views/stock_location.xml new file mode 100644 index 000000000..e9d9439f3 --- /dev/null +++ b/stock_location_zone/views/stock_location.xml @@ -0,0 +1,51 @@ + + + + stock.location.zone + stock.location + + + + + + + + + + + + + + view.location.search.inherit + stock.location + + + + + + + + + + + + + + + +