Set invoice account only when changing party or dates
issue12239
This commit is contained in:
parent
1b530cad80
commit
45d0a9f103
|
@ -420,7 +420,7 @@ class AccountImportContaplus(Wizard):
|
|||
totals[invoice.number] = totals[invoice.number] * -1
|
||||
|
||||
invoice.on_change_party()
|
||||
invoice.account = invoice.on_change_with_account()
|
||||
invoice._update_account()
|
||||
# on_change_party sets the payment term.
|
||||
# invoice.payment_term = invoice.on_change_with_payment_term()
|
||||
|
||||
|
|
Loading…
Reference in New Issue