From a6998d67a653554a5c26b71a8bf428b8e7ba09e3 Mon Sep 17 00:00:00 2001 From: Guewen Baconnier Date: Wed, 28 Aug 2019 14:20:11 +0200 Subject: [PATCH] Set Alpha development status * Add copyright header * Add myself as contributor of stock_location_zone * Fix lint --- stock_location_zone/__manifest__.py | 1 + stock_location_zone/models/stock_location.py | 6 +++--- stock_location_zone/readme/CONTRIBUTORS.rst | 1 + 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/stock_location_zone/__manifest__.py b/stock_location_zone/__manifest__.py index 08b4873c023..3ed81d847c1 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 33d8b351794..d1bee86ce97 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 2cfff722a67..8ef4d90eb11 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)