Skip to content

Commit

Permalink
Update openupgrade_scripts/apriori.py
Browse files Browse the repository at this point in the history
Co-authored-by: Miquel Raïch <[email protected]>
  • Loading branch information
StefanRijnhart and MiquelRForgeFlow committed Jan 20, 2021
1 parent 51dc28d commit 5b5f241
Showing 1 changed file with 21 additions and 1 deletion.
22 changes: 21 additions & 1 deletion openupgrade_scripts/apriori.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,32 @@
"""

# Renamed modules is a mapping from old module name to new module name
renamed_modules = {}
renamed_modules = {
# odoo
"account_facturx": "account_edi_facturx",
"website_rating": "portal_rating",
# OCA/...
}

# Merged modules contain a mapping from old module names to other,
# preexisting module names
merged_modules = {
# odoo
"account_analytic_default": "account",
"account_analytic_default_hr_expense": "hr_expense",
"account_analytic_default_purchase": "purchase",
"hr_expense_check": "hr_expense",
"hr_holidays_calendar": "hr_holidays",
"hw_proxy": "hw_drivers",
"l10n_cn_small_business": "l10n_cn",
"partner_autocomplete_address_extended": "base_address_extended",
"pos_cash_rounding": "point_of_sale",
"pos_kitchen_printer": "pos_restaurant",
"pos_reprint": "point_of_sale",
"website_theme_install": "website",
# OCA/partner-contact
"partner_bank_active": "base",
# OCA/...
}

# only used here for upgrade_analysis
Expand Down

0 comments on commit 5b5f241

Please sign in to comment.