summaryrefslogtreecommitdiff
path: root/addons/repair/tests
diff options
context:
space:
mode:
authorSimon Lejeune <sle@openerp.com>2019-10-09 14:11:33 +0000
committerSimon Lejeune <sle@openerp.com>2019-10-15 08:49:24 +0000
commit38711e9f9c7a06017d284d75e31198fa9ae3cf37 (patch)
treef228e98d5cd9abc280cdd6a60efec24c103c8596 /addons/repair/tests
parentaae20424fef47f81447eef364bd1be00aa7744db (diff)
[REF] repair: multi company
task-2081645 closes odoo/odoo#38294 Signed-off-by: Simon Lejeune (sle) <sle@openerp.com>
Diffstat (limited to 'addons/repair/tests')
-rw-r--r--addons/repair/tests/test_repair.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/addons/repair/tests/test_repair.py b/addons/repair/tests/test_repair.py
index 1a6e236ccd1..7d8578d3f3f 100644
--- a/addons/repair/tests/test_repair.py
+++ b/addons/repair/tests/test_repair.py
@@ -60,6 +60,7 @@ class TestRepair(AccountingTestCase):
'repair_id': repair_id,
'location_id': self.env.ref('stock.stock_location_stock').id,
'location_dest_id': product_to_add.property_stock_production.id,
+ 'company_id': self.env.company.id,
})
def _create_simple_fee(self, repair_id=False, qty=0.0, price_unit=0.0):
@@ -71,6 +72,7 @@ class TestRepair(AccountingTestCase):
'product_uom': product_service.uom_id.id,
'price_unit': price_unit,
'repair_id': repair_id,
+ 'company_id': self.env.company.id,
})
def test_00_repair_afterinv(self):