1
0
Fork 0
mirror of synced 2023-12-13 21:20:09 +01:00

Set bank account when create a invoice

#035806
This commit is contained in:
Raimon Esteve 2018-10-24 11:29:21 +02:00
parent 9ac50bcc38
commit 145c53d383

View file

@ -78,6 +78,8 @@ class Sale:
payment_type = self._get_invoice_payment_type(invoice)
if payment_type:
invoice.payment_type = payment_type
if hasattr(invoice, 'bank_account'):
invoice._get_bank_account()
invoice.save()
return invoice