[FIX] When converting a pos order line to an invoice line, a key 'note' was passed to the 'create' but there is not a 'note' field in the model invoice line.
bzr revid: sle@openerp.com-20140414123529-7k2a0fdsz7fg01xl
This commit is contained in:
parent
afd490c984
commit
57fc6c4d55
|
@ -919,8 +919,6 @@ class pos_order(osv.osv):
|
|||
line.product_id.uom_id.id,
|
||||
line.qty, partner_id = order.partner_id.id,
|
||||
fposition_id=order.partner_id.property_account_position.id)['value'])
|
||||
if line.product_id.description_sale:
|
||||
inv_line['note'] = line.product_id.description_sale
|
||||
inv_line['price_unit'] = line.price_unit
|
||||
inv_line['discount'] = line.discount
|
||||
inv_line['name'] = inv_name
|
||||
|
|
Loading…
Reference in New Issue