[IMP] purchase_report: improve test case in report
if product have taxes and taxes_id field is empty then it will fill the 'taxes_id', so price_total field have taxed Total. Task- 2093205 closes- #41681 Signed-off-by: Simon Lejeune (sle) <sle@openerp.com>
This commit is contained in:
@@ -40,6 +40,7 @@ class TestPurchaseOrderReport(AccountTestCommon):
|
||||
'product_uom': uom_dozen.id,
|
||||
'price_unit': 100.0,
|
||||
'date_planned': datetime.today(),
|
||||
'taxes_id': False,
|
||||
}),
|
||||
(0, 0, {
|
||||
'name': self.product2.name,
|
||||
@@ -48,6 +49,7 @@ class TestPurchaseOrderReport(AccountTestCommon):
|
||||
'product_uom': uom_dozen.id,
|
||||
'price_unit': 200.0,
|
||||
'date_planned': datetime.today(),
|
||||
'taxes_id': False,
|
||||
}),
|
||||
],
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user