[FIX]:product - check uos not necessary
lp bug: https://launchpad.net/bugs/543979 fixed bzr revid: ksa@tinyerp.co.in-20101122092339-e7h61g88n9ephjn8
This commit is contained in:
committed by
ksa (Open ERP)
parent
06ba41035e
commit
203545eac4
@@ -327,7 +327,7 @@ class product_template(osv.osv):
|
||||
return True
|
||||
|
||||
_constraints = [
|
||||
(_check_uos, 'Error: UOS must be in a different category than the UOM', ['uos_id']),
|
||||
# (_check_uos, 'Error: UOS must be in a different category than the UOM', ['uos_id']),
|
||||
(_check_uom, 'Error: The default UOM and the purchase UOM must be in the same category.', ['uom_id']),
|
||||
]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user