[FIX] Account: Analytic onchange amount unit => TypeError: int argument required
bzr revid: mra@mra-laptop-20101101094259-6h3izyiknl86jmnd
This commit is contained in:
parent
93e46a396e
commit
057c282cfb
|
@ -113,7 +113,7 @@ class account_analytic_line(osv.osv):
|
|||
if True:
|
||||
flag = False
|
||||
# Compute based on pricetype
|
||||
product_price_type_ids = product_price_type_obj.search(cr, uid, [('field','=','standard_price')], context)
|
||||
product_price_type_ids = product_price_type_obj.search(cr, uid, [('field','=','standard_price')], context=context)
|
||||
pricetype = product_price_type_obj.browse(cr, uid, product_price_type_ids, context)[0]
|
||||
if journal_id:
|
||||
journal = analytic_journal_obj.browse(cr, uid, journal_id)
|
||||
|
|
Loading…
Reference in New Issue