Add invoice date on credit wizard

issue8925
This commit is contained in:
Raimon Esteve 2020-06-26 18:02:08 +02:00
parent 79a9414552
commit 5603fa025c
1 changed files with 2 additions and 2 deletions

View File

@ -360,8 +360,8 @@ class Invoice(metaclass=PoolMeta):
return result
def _credit(self):
credit = super(Invoice, self)._credit()
def _credit(self, **values):
credit = super(Invoice, self)._credit(**values)
for field in _SII_INVOICE_KEYS:
setattr(credit, field, getattr(self, field))