[IMP] fetched sale description directly from the product_id
bzr revid: bde@tinyerp.com-20110921060552-zltdpunvj4fmk5ws
This commit is contained in:
parent
c3752d57d7
commit
2a373c64c6
|
@ -680,9 +680,8 @@ 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'])
|
||||
sale_description = line.product_id.description_sale
|
||||
if sale_description:
|
||||
inv_line['note'] = sale_description
|
||||
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