From e8060bc72efcedc8e144515018b3221fed688db7 Mon Sep 17 00:00:00 2001 From: "Divyesh Makwana (Open ERP)" Date: Mon, 24 Sep 2012 14:15:36 +0530 Subject: [PATCH] [REM] product : Removed constraint on min/max margin value. bzr revid: mdi@tinyerp.com-20120924084536-r429tvqy9jhjytjo --- addons/product/pricelist.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/addons/product/pricelist.py b/addons/product/pricelist.py index 3c1d5febc75..e98086d49e2 100644 --- a/addons/product/pricelist.py +++ b/addons/product/pricelist.py @@ -423,9 +423,6 @@ class product_pricelist_item(osv.osv): readonly=True, relation='res.company', string='Company', store=True) } - _sql_constraints = [ - ('check_margin', 'CHECK (price_min_margin <= price_max_margin)', 'Minimum Margin must be lower than Maximum Margin !'), - ] _constraints = [ (_check_recursion, 'Error ! You cannot assign the Main Pricelist as Other Pricelist in PriceList Item!', ['base_pricelist_id']) ]