diff --git a/account_banking_pain_base/models/payment_line.py b/account_banking_pain_base/models/payment_line.py index 9717fd562..8f0160be2 100644 --- a/account_banking_pain_base/models/payment_line.py +++ b/account_banking_pain_base/models/payment_line.py @@ -20,12 +20,13 @@ # ############################################################################## -from openerp import models, fields +from openerp import models, fields, api class PaymentLine(models.Model): _inherit = 'payment.line' + @api.model def _get_struct_communication_types(self): return [('ISO', 'ISO')]