forked from tvtma/OpenUpgrade
-
Notifications
You must be signed in to change notification settings - Fork 23
/
apriori.py
96 lines (92 loc) · 3.86 KB
/
apriori.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
""" Encode any known changes to the database here
to help the matching process
"""
# Renamed modules is a mapping from old module name to new module name
renamed_modules = {
# odoo
"note": "project_todo",
"website_sale_delivery_mondialrelay": "website_sale_mondialrelay",
# odoo/enterprise
# OCA/...
# Viindoo/tvtmaaddons
"to_website_recaptcha_signup": "viin_recaptcha_signup",
"viin_mail_channel_privacy": "viin_discuss_channel_privacy",
# Viindoo/customer-pecc3
"viin_pecc3_project_template_document": "viin_pecc3_project_document",
"viin_project_role_progress": "viin_pecc3_project_role_progress",
}
# Merged modules contain a mapping from old module names to other,
# preexisting module names
merged_modules = {
# odoo
"account_payment_invoice_online_payment_patch": "account_payment",
"account_sequence": "account",
"association": "membership",
"l10n_de_skr03": "l10n_de",
"l10n_de_skr04": "l10n_de",
"l10n_generic_coa": "account",
"l10n_hr_euro": "l10n_hr",
"l10n_in_tcs_tds": "l10n_in",
"l10n_in_upi": "l10n_in",
"l10n_latam_account_sequence": "l10n_latam_invoice_document",
"l10n_multilang": "account",
"loyalty_delivery": "sale_loyalty_delivery",
"pos_cache": "point_of_sale",
"pos_daily_sales_reports": "point_of_sale",
"pos_epson_printer_restaurant": "point_of_sale",
"purchase_price_diff": "purchase_stock",
"web_kanban_gauge": "web",
"website_event_crm_questions": "website_event_crm",
"website_sale_delivery": "website_sale",
"website_sale_loyalty_delivery": "website_sale_loyalty",
"website_sale_stock_product_configurator": "website_sale_product_configurator",
# OCA/web
"web_advanced_search": "web",
"web_chatter_position": "web",
"web_listview_range_select": "web",
# OCA/...
# Viindoo/tvtmaaddons
"to_location_warehouse": "viin_stock",
"to_mail_notif_and_email": "mail",
"to_sale_loyalty_patch_1": "viin_loyalty_sale",
"to_stock_report_common": "viin_stock",
"viin_account_auto_transfer_patch_1": "viin_account_auto_transfer",
"viin_affiliate_website_patch": "viin_affiliate_website",
"viin_helpdesk_team_ticket_type": "viin_helpdesk",
"viin_helpdesk_ticket_properties": "viin_helpdesk",
"viin_hr_overtime_timeoff": "viin_hr_overtime",
"viin_resource_calendar_rate": "viin_hr_work_entry",
"viin_spreadsheet_dashboard": "spreadsheet_dashboard",
"viin_wallet_affiliate": "to_wallet",
"viin_website_form_helpdesk": "viin_website_helpdesk",
"viin_website_helpdesk_ticket_properties": "viin_website_helpdesk",
# Viindoo/erponline-enterprise
"viin_stock_patch1": "viin_stock",
# Viindoo/customer-pecc3
"viin_analytic_category": "analytic",
"viin_hr_timesheet_analytic_category": "hr_timesheet",
"viin_pecc3_project_budget": "viin_pecc3_project_info",
"viin_pecc3_project_hr_expense_budget": "viin_pecc3_project_info",
"viin_pecc3_project_role_budget": "viin_pecc3_project_info",
"viin_pecc3_project_template_approval": "viin_pecc3_project_task_assignment_report",
"viin_pecc3_project_approval": "viin_pecc3_project_task_assignment_report",
"viin_pecc3_project_template_info": "viin_pecc3_project_info",
"viin_pecc3_project_template_quatity": "viin_pecc3_quality_project",
"viin_pecc3_project_template_quality_checklist": "viin_pecc3_project_quality_checklist", # noqa: E501
"viin_pecc3_project_template_task_noti": "viin_pecc3_project_task_noti",
"viin_project_template": "project",
"viin_project_template_quality": "viin_quality_project",
"viin_project_template_role": "viin_project_role",
"viin_project_view_all_tasks": "project",
"viin_searchpanel_horizontal_scrollbar": "web",
}
# only used here for upgrade_analysis
renamed_models = {
# odoo
# OCA/...
}
# only used here for upgrade_analysis
merged_models = {
# odoo
# OCA/...
}