[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:
parent
f06bde8978
commit
7516c43555
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue