diff --git a/stock_location_position/__manifest__.py b/stock_location_position/__manifest__.py index 5ed80d403..e8866ac9c 100644 --- a/stock_location_position/__manifest__.py +++ b/stock_location_position/__manifest__.py @@ -3,19 +3,15 @@ # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). { - 'name': 'Stock Location Position', - 'version': '12.0.1.0.0', - 'author': "BCIM, Okia, Camptocamp, Odoo Community Association (OCA)", - 'website': "https://github.com/OCA/stock-logistics-warehouse", - 'summary': "Add coordinate attributes on stock location.", - 'category': 'Stock Management', - 'depends': [ - 'stock', - ], - 'data': [ - 'views/stock_location.xml', - ], - 'installable': True, - 'development_status': 'Alpha', - 'license': 'AGPL-3', + "name": "Stock Location Position", + "version": "12.0.1.0.0", + "author": "BCIM, Okia, Camptocamp, Odoo Community Association (OCA)", + "website": "https://github.com/OCA/stock-logistics-warehouse", + "summary": "Add coordinate attributes on stock location.", + "category": "Stock Management", + "depends": ["stock"], + "data": ["views/stock_location.xml"], + "installable": True, + "development_status": "Alpha", + "license": "AGPL-3", } diff --git a/stock_location_position/models/stock_location.py b/stock_location_position/models/stock_location.py index ee43c13d2..42048cc62 100644 --- a/stock_location_position/models/stock_location.py +++ b/stock_location_position/models/stock_location.py @@ -8,12 +8,12 @@ from odoo import fields, models class StockLocation(models.Model): - _inherit = 'stock.location' + _inherit = "stock.location" - corridor = fields.Char('Corridor') - row = fields.Char('Row') - rack = fields.Char('Rack') - level = fields.Char('Level') - posx = fields.Integer('Box (X)') - posy = fields.Integer('Box (Y)') - posz = fields.Integer('Box (Z)') + corridor = fields.Char("Corridor") + row = fields.Char("Row") + rack = fields.Char("Rack") + level = fields.Char("Level") + posx = fields.Integer("Box (X)") + posy = fields.Integer("Box (Y)") + posz = fields.Integer("Box (Z)")