Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- env.cr.execute('''ALTER TABLE product_template DROP COLUMN IF EXISTS l10n_mx_edi_tariff_fraction_id;''')
- env.cr.execute('''DROP TABLE IF EXISTS l10n_mx_edi_tariff_fraction''')
- env.cr.execute('''ALTER TABLE res_company DROP COLUMN IF EXISTS l10n_mx_edi_locality_id;''')
- env.cr.execute('''DROP TABLE IF EXISTS l10n_mx_edi_locality''')
- env.cr.execute('''DELETE FROM ir_model WHERE model='l10n_mx_edi.tariff.fraction' ''')
- env.cr.execute('''DELETE FROM ir_model WHERE model='l10n_mx_edi.res.locality' ''')
- env.cr.execute('''DELETE FROM ir_model_fields WHERE name = 'l10n_mx_edi_tariff_fraction_id' and model='product.template' ''')
- env.cr.execute('''DELETE FROM ir_model_fields WHERE name = 'l10n_mx_edi_tariff_fraction_id' and model='product.product' ''')
- env.cr.execute('''DELETE FROM ir_model_fields WHERE name = 'l10n_mx_edi_locality_id' and model='res.company' ''')
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement