diff options
| author | Ankita Raval <anr@odoo.com> | 2019-10-30 06:11:02 +0000 |
|---|---|---|
| committer | Jigar Vaghela <jva@odoo.com> | 2020-02-19 09:09:20 +0000 |
| commit | d675dbaa4c7174591e0e7c1a3caf3e76877312ce (patch) | |
| tree | 40840df0a36cb9a6ba3b918835da2a40a07e3a3b /addons/account_check_printing/tests/test_print_check.py | |
| parent | 8f6bf2087e50020bfad4e336b1d4c5a98a4fa84f (diff) | |
[IMP] account,* : Change type field to move_type in account.move
task-id: 2028z813
Diffstat (limited to 'addons/account_check_printing/tests/test_print_check.py')
| -rw-r--r-- | addons/account_check_printing/tests/test_print_check.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/account_check_printing/tests/test_print_check.py b/addons/account_check_printing/tests/test_print_check.py index 3a47340a0c6..1a79d7c419b 100644 --- a/addons/account_check_printing/tests/test_print_check.py +++ b/addons/account_check_printing/tests/test_print_check.py @@ -32,7 +32,7 @@ class TestPrintCheck(AccountTestCommon): cls.bank_journal.check_manual_sequencing = True def create_invoice(self, amount=100, is_refund=False): - invoice = self.env['account.move'].with_context(default_type=is_refund and 'out_refund' or 'in_invoice').create({ + invoice = self.env['account.move'].with_context(default_move_type=is_refund and 'out_refund' or 'in_invoice').create({ 'partner_id': self.partner_axelor.id, 'invoice_date': time.strftime('%Y') + '-06-26', 'date': time.strftime('%Y') + '-06-26', |
