[FIX]delivery: remove a unlink code for fix lp 927415

lp bug: https://launchpad.net/bugs/927415 fixed

bzr revid: mma@tinyerp.com-20120206123230-sbjr80akukq2co0g
This commit is contained in:
Mayur Maheshwari (OpenERP) 2012-02-06 18:02:30 +05:30
parent f06bde8978
commit 7516c43555
1 changed files with 0 additions and 3 deletions

View File

@ -105,9 +105,6 @@ class delivery_carrier(osv.osv):
for record in self.browse(cr, uid, ids, context=context):
grid_id = grid_pool.search(cr, uid, [('carrier_id', '=', record.id)], context=context)
if grid_id and not (record.normal_price or record.free_if_more_than):
grid_pool.unlink(cr, uid, grid_id, context=context)
if not (record.normal_price or record.free_if_more_than):
continue