summaryrefslogtreecommitdiff
path: root/addons
diff options
context:
space:
mode:
authorqdp-odoo <qdp@odoo.com>2018-12-05 13:53:36 +0000
committerqdp-odoo <qdp@odoo.com>2018-12-07 09:08:06 +0000
commitfd7aa0cfa06e3846ae2e81fa7244163b659be58d (patch)
treee2269d41c66d9329f383de0027da76d283fcdb93 /addons
parent8e38d97f6901fb5dc27be7da61a22f6b67eb8e2a (diff)
[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
Diffstat (limited to 'addons')
-rw-r--r--addons/sale/wizard/sale_make_invoice_advance.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/sale/wizard/sale_make_invoice_advance.py b/addons/sale/wizard/sale_make_invoice_advance.py
index 2914a99fa08..1cb023437ed 100644
--- a/addons/sale/wizard/sale_make_invoice_advance.py
+++ b/addons/sale/wizard/sale_make_invoice_advance.py
@@ -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,