Do not set list_price in test without company
issue10878
This commit is contained in:
1 parent
170866f70b
commit
2b21704ef8
1 file changed
-4
@@ -48,7 +48,6 @@ class StockForecastTestCase(CompanyTestMixin, ModuleTestCase):
|
||||
'name': 'Test create_moves',
|
||||
'type': 'goods',
|
||||
'default_uom': unit.id,
|
||||
'list_price': Decimal('1'),
|
||||
}])
|
||||
product, = Product.create([{
|
||||
'template': template.id,
|
||||
@@ -128,7 +127,6 @@ class StockForecastTestCase(CompanyTestMixin, ModuleTestCase):
|
||||
'name': 'Test create_moves',
|
||||
'type': 'goods',
|
||||
'default_uom': unit.id,
|
||||
'list_price': Decimal('1'),
|
||||
}])
|
||||
product, = Product.create([{
|
||||
'template': template.id,
|
||||
@@ -207,7 +205,6 @@ class StockForecastTestCase(CompanyTestMixin, ModuleTestCase):
|
||||
'name': 'Test create_moves',
|
||||
'type': 'goods',
|
||||
'default_uom': unit.id,
|
||||
'list_price': Decimal('1'),
|
||||
}])
|
||||
product, = Product.create([{
|
||||
'template': template.id,
|
||||
@@ -258,7 +255,6 @@ class StockForecastTestCase(CompanyTestMixin, ModuleTestCase):
|
||||
'name': 'Test complete',
|
||||
'type': 'goods',
|
||||
'default_uom': unit.id,
|
||||
'list_price': Decimal('1'),
|
||||
}])
|
||||
product, = Product.create([{
|
||||
'template': template.id,
|
||||
|
||||
Reference in new issue
Block a user