From 4b6c69f4219c2eeba85a4dc97369a0f34448396b Mon Sep 17 00:00:00 2001 From: "aag (OpenERP)" Date: Tue, 21 Jun 2011 18:03:55 +0530 Subject: [PATCH] [FIX] product :Remove _sql_constraints lp bug: https://launchpad.net/bugs/731035 fixed bzr revid: aag@tinyerp.co.in-20110621123355-rxwrb82jlckl622w --- addons/product/product.py | 1 - 1 file changed, 1 deletion(-) diff --git a/addons/product/product.py b/addons/product/product.py index 1db24e1bd32..a6513522db2 100644 --- a/addons/product/product.py +++ b/addons/product/product.py @@ -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):