diff options
| author | Christophe Simonis <chs@odoo.com> | 2019-09-13 18:07:59 +0200 |
|---|---|---|
| committer | Christophe Simonis <chs@odoo.com> | 2019-09-13 18:07:59 +0200 |
| commit | 6c948c36bbf72dd896e0bff03aa7fbddadcbb0cd (patch) | |
| tree | f8620905c011735d8a3c340c46d1417a54a75972 /addons/stock_picking_batch/tests/test_batch_picking.py | |
| parent | 48503fcf08eac6fed12e080d4f501f9bbc8d257d (diff) | |
| parent | 197474e5b9ad43ab2d587a98136a1a809ce9a2e7 (diff) | |
[MERGE] forward port branch saas-12.5 up to 197474e5b9a
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)] }) |
