Skip to content

Commit

Permalink
[OU-IMP] sale: remove obsolete SQL views
Browse files Browse the repository at this point in the history
  • Loading branch information
remi-filament committed Feb 22, 2024
1 parent 8b8216e commit 2d8a769
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions openupgrade_scripts/scripts/sale/16.0.1.2/pre-migration.py
Original file line number Diff line number Diff line change
Expand Up @@ -133,3 +133,9 @@ def migrate(env, version):
_remove_table_constraints(env)
_fast_fill_analytic_distribution_on_sale_order_line(env)
_create_ir_model_data_sale_default_invoice_email_template(env)
# Remove SQL view report_all_channels_sales not used anymore in Odoo v16.0
openupgrade.logged_query(
env.cr, "DROP VIEW IF EXISTS report_all_channels_sales CASCADE"
)
# Remove SQL view sale_report not used anymore in Odoo v16.0
openupgrade.logged_query(env.cr, "DROP VIEW IF EXISTS sale_report CASCADE")

0 comments on commit 2d8a769

Please sign in to comment.