Skip to content
Snippets Groups Projects
Commit 87f188af authored by tdi-odoo's avatar tdi-odoo Committed by qdp-odoo
Browse files

[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.
parent 212f539b
No related branches found
No related tags found
No related merge requests found
......@@ -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,
})
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment