diff options
| author | qdp-odoo <qdp@odoo.com> | 2018-12-05 13:53:36 +0000 |
|---|---|---|
| committer | qdp-odoo <qdp@odoo.com> | 2018-12-07 09:08:06 +0000 |
| commit | fd7aa0cfa06e3846ae2e81fa7244163b659be58d (patch) | |
| tree | e2269d41c66d9329f383de0027da76d283fcdb93 /addons | |
| parent | 8e38d97f6901fb5dc27be7da61a22f6b67eb8e2a (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.py | 2 |
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, |
