[FIX] account_anglo_saxon: leftover typo from r.5693
bzr revid: odo@openerp.com-20111115165046-day3tpvk2in3euo9
This commit is contained in:
parent
f957f0a09e
commit
7d4de5867c
|
@ -30,7 +30,7 @@ class purchase_order(osv.osv):
|
|||
line = super(purchase_order, self)._prepare_inv_line(cr, uid, account_id, order_line, context=context)
|
||||
if order_line.product_id and not order_line.product_id.type == 'service':
|
||||
acc_id = order_line.product_id.property_stock_account_input and order_line.product_id.property_stock_account_input.id
|
||||
if not oa:
|
||||
if not acc_id:
|
||||
acc_id = order_line.product_id.categ_id.property_stock_account_input_categ and order_line.product_id.categ_id.property_stock_account_input_categ.id
|
||||
if acc_id:
|
||||
fpos = order_line.order_id.fiscal_position or False
|
||||
|
|
Loading…
Reference in New Issue