mirror of
https://github.com/OCA/bank-payment.git
synced 2025-02-02 10:37:31 +02:00
[IMP] use new style to make selection extendable
This commit is contained in:
committed by
Enric Tobella
parent
5b4a5e3432
commit
96d2ba0318
@@ -42,8 +42,7 @@ class PaymentLine(orm.Model):
|
||||
"company. Depicts 'What do you want to say to the recipient "
|
||||
"about this order ?'"),
|
||||
'struct_communication_type': fields.selection(
|
||||
lambda self, *args, **kwargs:
|
||||
self._get_struct_communication_types(*args, **kwargs),
|
||||
'_get_struct_communication_types',
|
||||
'Structured Communication Type'),
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user