mirror of
https://github.com/OCA/bank-payment.git
synced 2025-02-02 10:37:31 +02:00
Add @api.model on _get_struct_communication_types
This commit is contained in:
committed by
Enric Tobella
parent
883ecc60a4
commit
24861b05d6
@@ -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')]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user