[FIX] sale: origin are null on invoice line to create invoice button on sale order
lp bug: https://launchpad.net/bugs/1062119 fixed bzr revid: amp@tinyerp.com-20121005101759-bdc095ez7xk2c9w4
This commit is contained in:
parent
ba97319054
commit
d9ed2215d1
|
@ -123,6 +123,7 @@ class sale_advance_payment_inv(osv.osv_memory):
|
||||||
# create the invoice
|
# create the invoice
|
||||||
inv_line_values = {
|
inv_line_values = {
|
||||||
'name': res.get('name'),
|
'name': res.get('name'),
|
||||||
|
'origin': sale.name,
|
||||||
'account_id': res['account_id'],
|
'account_id': res['account_id'],
|
||||||
'price_unit': inv_amount,
|
'price_unit': inv_amount,
|
||||||
'quantity': wizard.qtty or 1.0,
|
'quantity': wizard.qtty or 1.0,
|
||||||
|
|
Loading…
Reference in New Issue