diff --git a/l10n_it_delivery_note_batch/tests/test_delivery_note_batch.py b/l10n_it_delivery_note_batch/tests/test_delivery_note_batch.py index ff17cba8e644..5a45767f9332 100644 --- a/l10n_it_delivery_note_batch/tests/test_delivery_note_batch.py +++ b/l10n_it_delivery_note_batch/tests/test_delivery_note_batch.py @@ -15,6 +15,7 @@ def setUpClass(cls): cls.product = cls.env.ref( "sale_product_configurator.product_product_1_product_template" ) + cls.product.company_id = cls.env.company def generate_stock_picking(self): sale_order = self.SaleOrder.create(