[FIX] bug 1062119
bzr revid: api@openerp.com-20121107134404-pmpq2q691fmpt1ie
This commit is contained in:
commit
8740c3306f
|
@ -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