[FIX] product :Remove _sql_constraints
lp bug: https://launchpad.net/bugs/731035 fixed bzr revid: aag@tinyerp.co.in-20110621123355-rxwrb82jlckl622w
This commit is contained in:
@@ -122,7 +122,6 @@ class product_uom(osv.osv):
|
||||
|
||||
_sql_constraints = [
|
||||
('factor_gt_zero', 'CHECK (factor!=0)', 'The conversion ratio for a unit of measure cannot be 0!'),
|
||||
('uom_name_unique', 'unique (name)', 'You cannot have multiple Units of Measure with the same name'),
|
||||
]
|
||||
|
||||
def _compute_qty(self, cr, uid, from_uom_id, qty, to_uom_id=False):
|
||||
|
||||
Reference in New Issue
Block a user