diff --git a/setup/stock_inventory_justification/odoo/addons/stock_inventory_justification b/setup/stock_inventory_justification/odoo/addons/stock_inventory_justification new file mode 120000 index 000000000..86563f133 --- /dev/null +++ b/setup/stock_inventory_justification/odoo/addons/stock_inventory_justification @@ -0,0 +1 @@ +../../../../stock_inventory_justification \ No newline at end of file diff --git a/setup/stock_inventory_justification/setup.py b/setup/stock_inventory_justification/setup.py new file mode 100644 index 000000000..28c57bb64 --- /dev/null +++ b/setup/stock_inventory_justification/setup.py @@ -0,0 +1,6 @@ +import setuptools + +setuptools.setup( + setup_requires=['setuptools-odoo'], + odoo_addon=True, +) diff --git a/stock_inventory_justification/models/stock_inventory.py b/stock_inventory_justification/models/stock_inventory.py index c96c776a7..fdea3d80c 100644 --- a/stock_inventory_justification/models/stock_inventory.py +++ b/stock_inventory_justification/models/stock_inventory.py @@ -8,5 +8,6 @@ class StockInventory(models.Model): _inherit = "stock.inventory" justification_ids = fields.Many2many( - string="Justifications", comodel_name="stock.inventory.justification", + string="Justifications", + comodel_name="stock.inventory.justification", )