diff options
Diffstat (limited to 'addons/account_check_printing/tests/test_print_check.py')
| -rw-r--r-- | addons/account_check_printing/tests/test_print_check.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/addons/account_check_printing/tests/test_print_check.py b/addons/account_check_printing/tests/test_print_check.py index 30d88d054b2..82222daea88 100644 --- a/addons/account_check_printing/tests/test_print_check.py +++ b/addons/account_check_printing/tests/test_print_check.py @@ -39,7 +39,7 @@ class TestPrintCheck(AccountTestInvoicingCommon): 'invoice_date': '2017-01-01', 'invoice_line_ids': [(0, 0, {'product_id': self.product_a.id, 'price_unit': 100.0})] } for i in range(nb_invoices_to_test)]) - out_invoices.post() + out_invoices.action_post() # Create a single payment. payment = self.env['account.payment.register'].with_context(active_model='account.move', active_ids=out_invoices.ids).create({ @@ -80,7 +80,7 @@ class TestPrintCheck(AccountTestInvoicingCommon): 'invoice_date': '2017-01-01', 'invoice_line_ids': [(0, 0, {'product_id': self.product_a.id, 'price_unit': 100.0})] } for i in range(nb_invoices_to_test)]) - out_refunds.post() + out_refunds.action_post() # Create a single payment. payment = self.env['account.payment.register'].with_context(active_model='account.move', active_ids=out_refunds.ids).create({ |
