[IMP] stock_location_position: black, isort

This commit is contained in:
Guewen Baconnier
2019-12-19 11:02:56 +01:00
committed by Thierry Ducrest
parent 8f287880c8
commit 35e5684aaf
2 changed files with 19 additions and 23 deletions

View File

@@ -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",
}

View File

@@ -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)")