diff --git a/rma_sale/wizards/rma_add_sale.py b/rma_sale/wizards/rma_add_sale.py index c4810f1f..b44af4a5 100644 --- a/rma_sale/wizards/rma_add_sale.py +++ b/rma_sale/wizards/rma_add_sale.py @@ -64,9 +64,7 @@ class RmaAddSale(models.TransientModel): ) rec.show_lot_filter = bool(rec.lot_domain_ids) - lot_ids = fields.Many2many( - comodel_name="stock.production.lot", string="Lots/Serials selected" - ) + lot_ids = fields.Many2many(comodel_name="stock.production.lot", string="Lots/Serials selected") def select_all(self): self.ensure_one() diff --git a/setup/rma_sale/odoo/addons/rma_sale b/setup/rma_sale/odoo/addons/rma_sale new file mode 120000 index 00000000..243aef4e --- /dev/null +++ b/setup/rma_sale/odoo/addons/rma_sale @@ -0,0 +1 @@ +../../../../rma_sale \ No newline at end of file diff --git a/setup/rma_sale/setup.py b/setup/rma_sale/setup.py new file mode 100644 index 00000000..28c57bb6 --- /dev/null +++ b/setup/rma_sale/setup.py @@ -0,0 +1,6 @@ +import setuptools + +setuptools.setup( + setup_requires=['setuptools-odoo'], + odoo_addon=True, +)