Add invoice date on credit wizard

issue8925
This commit is contained in:
Raimon Esteve 2020-06-26 18:12:00 +02:00
parent f761a5cf18
commit 4294fe71df
1 changed files with 2 additions and 2 deletions

View File

@ -196,8 +196,8 @@ class Invoice(metaclass=PoolMeta):
if ml.account.type.receivable],
key=attrgetter('maturity_date'))
def _credit(self):
invoice_vals = super(Invoice, self)._credit()
def _credit(self, **values):
invoice_vals = super(Invoice, self)._credit(**values)
rectificative_reason_code = Transaction().context.get(
'rectificative_reason_code')
if rectificative_reason_code: