Add @api.model on _get_struct_communication_types

This commit is contained in:
Alexis de Lattre
2015-06-13 13:57:01 +02:00
parent 885c79c424
commit 0c0a076abe

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