diff options
Diffstat (limited to 'addons/stock_picking_batch/tests/test_batch_picking.py')
| -rw-r--r-- | addons/stock_picking_batch/tests/test_batch_picking.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/addons/stock_picking_batch/tests/test_batch_picking.py b/addons/stock_picking_batch/tests/test_batch_picking.py index c870a6f5faf..0c477f88dc0 100644 --- a/addons/stock_picking_batch/tests/test_batch_picking.py +++ b/addons/stock_picking_batch/tests/test_batch_picking.py @@ -24,6 +24,7 @@ class TestBatchPicking(TransactionCase): 'location_id': self.stock_location.id, 'location_dest_id': self.customer_location.id, 'picking_type_id': self.picking_type_out, + 'company_id': self.env.company.id, }) self.env['stock.move'].create({ @@ -40,6 +41,7 @@ class TestBatchPicking(TransactionCase): 'location_id': self.stock_location.id, 'location_dest_id': self.customer_location.id, 'picking_type_id': self.picking_type_out, + 'company_id': self.env.company.id, }) self.env['stock.move'].create({ @@ -54,6 +56,7 @@ class TestBatchPicking(TransactionCase): self.batch = self.env['stock.picking.batch'].create({ 'name': 'Batch 1', + 'company_id': self.env.company.id, 'picking_ids': [(4, self.picking_client_1.id), (4, self.picking_client_2.id)] }) |
