[FIX] account: remove reason in new draft invoice created from refund
This fix prevents from giving the reason of the refund to the draft invoice created if you select the 'modify' option when refunding an invoice, which now keeps the description of the original invoice.
This commit is contained in:
@@ -98,7 +98,6 @@ class AccountInvoiceRefund(models.TransientModel):
|
||||
'invoice_line_ids': invoice_lines,
|
||||
'tax_line_ids': tax_lines,
|
||||
'date': date,
|
||||
'name': description,
|
||||
'origin': inv.origin,
|
||||
'fiscal_position_id': inv.fiscal_position_id.id,
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user