diff options
| author | Yannick Tivisse <yti@odoo.com> | 2016-08-05 15:29:54 +0200 |
|---|---|---|
| committer | Yannick Tivisse <yti@odoo.com> | 2016-08-08 12:24:40 +0200 |
| commit | d6e1d41128c126071d697220f1c83495d6cabc71 (patch) | |
| tree | 919f0028eb0162b5efd3baf211d8679456f9ccc5 /addons/account_check_printing/data | |
| parent | 5177186f437cfc14753a3d7c444fc2b68cf42d83 (diff) | |
[MIG] account: Migrate remaining old API chuncks of code
Diffstat (limited to 'addons/account_check_printing/data')
| -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 4fd632173af..95fd0ab2d20 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.pool['account.payment'].print_checks(cr, uid, context['active_ids'], context=context) + action = self.env['account.payment'].browse(context['active_ids']).print_checks() </field> </record> |
