From 8c91f76a0836d4bd2b2c680d6b7d7e49ba1b650d Mon Sep 17 00:00:00 2001 From: Thierry Ducrest Date: Mon, 10 Oct 2022 10:52:29 +0200 Subject: [PATCH] [IMP] stock_location_position: black, isort, prettier --- .../odoo/addons/stock_location_position | 1 + setup/stock_location_position/setup.py | 6 ++++++ stock_location_position/models/stock_location.py | 8 ++++---- 3 files changed, 11 insertions(+), 4 deletions(-) create mode 120000 setup/stock_location_position/odoo/addons/stock_location_position create mode 100644 setup/stock_location_position/setup.py diff --git a/setup/stock_location_position/odoo/addons/stock_location_position b/setup/stock_location_position/odoo/addons/stock_location_position new file mode 120000 index 000000000..c6554cb87 --- /dev/null +++ b/setup/stock_location_position/odoo/addons/stock_location_position @@ -0,0 +1 @@ +../../../../stock_location_position \ No newline at end of file diff --git a/setup/stock_location_position/setup.py b/setup/stock_location_position/setup.py new file mode 100644 index 000000000..28c57bb64 --- /dev/null +++ b/setup/stock_location_position/setup.py @@ -0,0 +1,6 @@ +import setuptools + +setuptools.setup( + setup_requires=['setuptools-odoo'], + odoo_addon=True, +) diff --git a/stock_location_position/models/stock_location.py b/stock_location_position/models/stock_location.py index 537700303..bee77c275 100644 --- a/stock_location_position/models/stock_location.py +++ b/stock_location_position/models/stock_location.py @@ -10,10 +10,10 @@ class StockLocation(models.Model): _inherit = "stock.location" - corridor = fields.Char("Corridor", help="Define as the street") - row = fields.Char("Row", help="Define as the side within the street") - rack = fields.Char("Rack", help="Define as the house number within the street") - level = fields.Char("Level", help="Define as the floor of the house") + corridor = fields.Char(help="Define as the street") + row = fields.Char(help="Define as the side within the street") + rack = fields.Char(help="Define as the house number within the street") + level = fields.Char(help="Define as the floor of the house") posx = fields.Integer( "Box (X)", help="Optional (X) coordinate of the bin if the location"