[FIX] product: fixed traceback when creating so line:
wrong error used.
This commit is contained in:
committed by
Thibault Delavallée
parent
907c62f0ca
commit
1903e89e0d
@@ -262,7 +262,7 @@ class product_pricelist(osv.osv):
|
||||
try:
|
||||
qty_in_product_uom = product_uom_obj._compute_qty(
|
||||
cr, uid, context['uom'], qty, product.uom_id.id or product.uos_id.id)
|
||||
except except_orm:
|
||||
except UserError:
|
||||
# Ignored - incompatible UoM in context, use default product UoM
|
||||
pass
|
||||
|
||||
|
||||
Reference in New Issue
Block a user