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