mirror of
https://github.com/NaN-tic/trytond-contract_payment_type.git
synced 2023-12-14 06:13:04 +01:00
parent
88aac31bca
commit
08589d08ed
1 changed files with 2 additions and 2 deletions
|
@ -57,8 +57,8 @@ class ContractConsumption(metaclass=PoolMeta):
|
|||
]
|
||||
|
||||
@classmethod
|
||||
def _get_invoice(cls, keys):
|
||||
invoice = super(ContractConsumption, cls)._get_invoice(keys)
|
||||
def _get_invoice(cls, keys, lines):
|
||||
invoice = super(ContractConsumption, cls)._get_invoice(keys, lines)
|
||||
values = dict(keys)
|
||||
invoice.payment_type = values['payment_type']
|
||||
invoice.bank_account = values['bank_account']
|
||||
|
|
Loading…
Reference in a new issue