In openerp 7:
1. Go to Warehouse > Configuration > Delivery methods
2. Change the transport company to something else.
3. Go to warehouse > Configuration > Delivery > Delivery Pricelist
The related grid of the delivery method has been deleted.
I checked the code and I found that in delivery.py in the delivery module, in method create_grid_lines, there are two lines:
grid_pool.unlink(cr, uid, grid_id, context=context)
grid_line_pool.unlink(cr, uid, lines, context=context)
So this is not a bug, and it's the normal behavior of openerp. But don't you think that this behavior is strange?
Delivery grid lines should not be removed when delivery carrier is changed.
What should I do? Report a bug?