[ADD] condition to drop table only if it exists
This commit is contained in:
parent
8601c469ae
commit
2368ade927
@ -3,4 +3,4 @@
|
||||
|
||||
def migrate(cr, version):
|
||||
cr.execute("insert into website_pricelist_rule_rel (website_id,pricelist_id) select website_id,pricelist_id from website_product_pricelist")
|
||||
cr.execute("drop table website_product_pricelist")
|
||||
cr.execute("drop table if exists website_product_pricelist")
|
||||
|
Loading…
Reference in New Issue
Block a user