[MERGE] nop

bzr revid: fp@tinyerp.com-20121113081959-b3rn25egh6zv4jg7
This commit is contained in:
Fabien Pinckaers 2012-11-13 09:19:59 +01:00
commit b4aa52e4bb
1 changed files with 1 additions and 1 deletions

View File

@ -107,7 +107,7 @@ class account_analytic_line(osv.osv):
if journal_id:
journal = analytic_journal_obj.browse(cr, uid, journal_id, context=context)
if journal.type == 'sale':
product_price_type_ids = product_price_type_obj.search(cr, uid, [('field','=','list_price')], context)
product_price_type_ids = product_price_type_obj.search(cr, uid, [('field','=','list_price')], context=context)
if product_price_type_ids:
pricetype = product_price_type_obj.browse(cr, uid, product_price_type_ids, context=context)[0]
# Take the company currency as the reference one