parent
f761a5cf18
commit
4294fe71df
|
@ -196,8 +196,8 @@ class Invoice(metaclass=PoolMeta):
|
||||||
if ml.account.type.receivable],
|
if ml.account.type.receivable],
|
||||||
key=attrgetter('maturity_date'))
|
key=attrgetter('maturity_date'))
|
||||||
|
|
||||||
def _credit(self):
|
def _credit(self, **values):
|
||||||
invoice_vals = super(Invoice, self)._credit()
|
invoice_vals = super(Invoice, self)._credit(**values)
|
||||||
rectificative_reason_code = Transaction().context.get(
|
rectificative_reason_code = Transaction().context.get(
|
||||||
'rectificative_reason_code')
|
'rectificative_reason_code')
|
||||||
if rectificative_reason_code:
|
if rectificative_reason_code:
|
||||||
|
|
Loading…
Reference in New Issue