diff options
Diffstat (limited to 'addons/account_check_printing/data/account_check_printing_data.xml')
| -rw-r--r-- | addons/account_check_printing/data/account_check_printing_data.xml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/account_check_printing/data/account_check_printing_data.xml b/addons/account_check_printing/data/account_check_printing_data.xml index 95fd0ab2d20..4092efd96fd 100644 --- a/addons/account_check_printing/data/account_check_printing_data.xml +++ b/addons/account_check_printing/data/account_check_printing_data.xml @@ -16,7 +16,7 @@ <field name="model_id" ref="account.model_account_payment"/> <field name="code"> if context.get('active_model') == 'account.payment' and context.get('active_ids'): - action = self.env['account.payment'].browse(context['active_ids']).print_checks() + action = env['account.payment'].browse(context['active_ids']).print_checks() </field> </record> |
