diff --git a/stock_location_zone/README.rst b/stock_location_zone/README.rst index 1f57cd2ba..21ec6f883 100644 --- a/stock_location_zone/README.rst +++ b/stock_location_zone/README.rst @@ -7,9 +7,9 @@ Stock Location Zone !! changes will be overwritten. !! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png +.. |badge1| image:: https://img.shields.io/badge/maturity-Alpha-red.png :target: https://odoo-community.org/page/development-status - :alt: Beta + :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 @@ -28,6 +28,11 @@ Stock Location Zone Add coordinate attributes on stock location. Define picking zone with links to picking type. +.. 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:: @@ -60,12 +65,14 @@ Authors * BCIM * Okia +* Camptocamp Contributors ~~~~~~~~~~~~ * Syvain Van Hoof (Okia sprl) * Jacques-Etienne Baudoux (BCIM) +* Guewen Baconnier (Camptocamp) Maintainers ~~~~~~~~~~~ diff --git a/stock_location_zone/__manifest__.py b/stock_location_zone/__manifest__.py index 08b4873c0..3ed81d847 100644 --- a/stock_location_zone/__manifest__.py +++ b/stock_location_zone/__manifest__.py @@ -19,5 +19,6 @@ 'security/ir.model.access.csv', ], 'installable': True, + 'development_status': 'Alpha', 'license': 'AGPL-3', } diff --git a/stock_location_zone/models/stock_location.py b/stock_location_zone/models/stock_location.py index 33d8b3517..d1bee86ce 100644 --- a/stock_location_zone/models/stock_location.py +++ b/stock_location_zone/models/stock_location.py @@ -1,10 +1,11 @@ # 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 psycopg2 import sql -from odoo import _, api, exceptions, fields, models, SUPERUSER_ID +from odoo import _, api, fields, models, SUPERUSER_ID from odoo.tools.sql import index_exists, _schema @@ -37,8 +38,7 @@ class StockLocation(models.Model): kind = fields.Selection([ ('zone', 'Picking Zone'), ('area', 'Area'), - ('bin', 'Bin'), - ], + ('bin', 'Bin')], string='Kind') picking_zone_id = fields.Many2one( diff --git a/stock_location_zone/readme/CONTRIBUTORS.rst b/stock_location_zone/readme/CONTRIBUTORS.rst index 2cfff722a..8ef4d90eb 100644 --- a/stock_location_zone/readme/CONTRIBUTORS.rst +++ b/stock_location_zone/readme/CONTRIBUTORS.rst @@ -1,2 +1,3 @@ * Syvain Van Hoof (Okia sprl) * Jacques-Etienne Baudoux (BCIM) +* Guewen Baconnier (Camptocamp) 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 index 8f68ab0bb..542d00e98 100644 --- a/stock_location_zone/static/description/index.html +++ b/stock_location_zone/static/description/index.html @@ -3,7 +3,7 @@ - + Stock Location Zone