Add @api.model on _get_struct_communication_types

This commit is contained in:
Alexis de Lattre
2015-06-13 13:57:01 +02:00
committed by Enric Tobella
parent 883ecc60a4
commit 24861b05d6

View File

@@ -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')]