[REM] product : Removed constraint on min/max margin value.

bzr revid: mdi@tinyerp.com-20120924084536-r429tvqy9jhjytjo
This commit is contained in:
Divyesh Makwana (Open ERP) 2012-09-24 14:15:36 +05:30
parent e708ec5345
commit e8060bc72e
1 changed files with 0 additions and 3 deletions

View File

@ -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'])
]