Skip to content

Commit

Permalink
[FIX] sale - copy customer ref instead of order name in sale_line_inv…
Browse files Browse the repository at this point in the history
…oice wizard

lp bug: https://launchpad.net/bugs/1188528 fixed

bzr revid: yannick.vaucher@camptocamp.com-20130607092405-1roxnirhtfcxo0d3
  • Loading branch information
yvaucher committed Jun 7, 2013
1 parent b8046b6 commit 4cc85da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion addons/sale/wizard/sale_line_invoice.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ def make_invoice(order, lines):
else:
pay_term = False
inv = {
'name': order.name,
'name': order.client_order_ref or '',
'origin': order.name,
'type': 'out_invoice',
'reference': "P%dSO%d" % (order.partner_id.id, order.id),
Expand Down

0 comments on commit 4cc85da

Please sign in to comment.