[FIX] PO invoice based on manual - lines
bzr revid: fp@tinyerp.com-20110117221213-ja4lgvb6txpnxb3p
This commit is contained in:
@@ -128,7 +128,7 @@ class purchase_line_invoice(osv.osv_memory):
|
||||
'property_account_expense_categ', 'product.category',
|
||||
context=context)
|
||||
fpos = line.order_id.fiscal_position or False
|
||||
a = account_fiscal_obj.map_account(cr, uid, fpos, a)
|
||||
a = account_fiscal_obj.map_account(cr, uid, fpos, a).id
|
||||
inv_id = invoice_line_obj.create(cr, uid, {
|
||||
'name': line.name,
|
||||
'origin': line.order_id.name,
|
||||
|
||||
Reference in New Issue
Block a user