diff options
| author | nje-odoo <nje@odoo.com> | 2019-12-11 05:46:07 +0000 |
|---|---|---|
| committer | Simon Lejeune <sle@openerp.com> | 2020-02-06 10:18:34 +0000 |
| commit | 9d85bce7db59ebf8cb65c2aa13524fdc69944eb2 (patch) | |
| tree | 06f11a551fb181eb257504b8d0bc6559a5cab6fa /addons | |
| parent | b88304137722f0f3794c4f7a91cecce09c4052ae (diff) | |
[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>
Diffstat (limited to 'addons')
| -rw-r--r-- | addons/purchase/tests/test_purchase_order_report.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/addons/purchase/tests/test_purchase_order_report.py b/addons/purchase/tests/test_purchase_order_report.py index 82fe92cefda..53b76e16155 100644 --- a/addons/purchase/tests/test_purchase_order_report.py +++ b/addons/purchase/tests/test_purchase_order_report.py @@ -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, }), ], }) |
