[IMP] sale: invoice creation for downpayments cleanup

don't set the SO name in the reference/description field of the customer invoice, as it's already copied in the origin field
This commit is contained in:
qdp-odoo
2018-12-07 09:08:06 +00:00
parent 8e38d97f69
commit fd7aa0cfa0
@@ -93,7 +93,7 @@ class SaleAdvancePaymentInv(models.TransientModel):
tax_ids = taxes.ids
invoice = inv_obj.create({
'name': order.client_order_ref or order.name,
'name': order.client_order_ref,
'origin': order.name,
'type': 'out_invoice',
'reference': False,