[REM] product : Removed constraint on min/max margin value.
bzr revid: mdi@tinyerp.com-20120924084536-r429tvqy9jhjytjo
This commit is contained in:
parent
e708ec5345
commit
e8060bc72e
|
@ -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'])
|
||||
]
|
||||
|
|
Loading…
Reference in New Issue