[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:
nje-odoo
2020-02-06 10:18:34 +00:00
committed by Simon Lejeune
parent b883041377
commit 9d85bce7db
@@ -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,
}),
],
})