odoo-addon-openupgrade-scripts 17.0.1.0.1.282__py3-none-any.whl → 17.0.1.0.1.294__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- odoo/addons/openupgrade_scripts/apriori.py +2 -0
- odoo/addons/openupgrade_scripts/scripts/account/17.0.1.2/upgrade_analysis.txt +0 -3
- odoo/addons/openupgrade_scripts/scripts/base/17.0.1.3/upgrade_general_log.txt +8 -34
- odoo/addons/openupgrade_scripts/scripts/hr_holidays/17.0.1.6/pre-migration.py +11 -0
- odoo/addons/openupgrade_scripts/scripts/hr_holidays/17.0.1.6/upgrade_analysis.txt +4 -16
- odoo/addons/openupgrade_scripts/scripts/hr_holidays/17.0.1.6/upgrade_analysis_work.txt +3 -15
- odoo/addons/openupgrade_scripts/scripts/l10n_ar/17.0.3.6/upgrade_analysis.txt +503 -0
- odoo/addons/openupgrade_scripts/scripts/l10n_es/17.0.5.4/upgrade_analysis.txt +2 -0
- odoo/addons/openupgrade_scripts/scripts/point_of_sale/17.0.1.0.1/noupdate_changes.xml +2 -2
- odoo/addons/openupgrade_scripts/scripts/point_of_sale/17.0.1.0.1/post-migration.py +54 -0
- odoo/addons/openupgrade_scripts/scripts/point_of_sale/17.0.1.0.1/pre-migration.py +76 -0
- odoo/addons/openupgrade_scripts/scripts/point_of_sale/17.0.1.0.1/upgrade_analysis_work.txt +169 -0
- odoo/addons/openupgrade_scripts/scripts/purchase/17.0.1.2/upgrade_analysis.txt +0 -2
- odoo/addons/openupgrade_scripts/scripts/sale/17.0.1.2/upgrade_analysis_work.txt +1 -1
- odoo/addons/openupgrade_scripts/scripts/sale_pdf_quote_builder/17.0.1.0/upgrade_analysis.txt +14 -0
- odoo/addons/openupgrade_scripts/scripts/sale_timesheet/17.0.1.0/upgrade_analysis.txt +0 -1
- odoo/addons/openupgrade_scripts/scripts/website_membership/17.0.1.0/upgrade_analysis work.txt +8 -0
- odoo/addons/openupgrade_scripts/scripts/website_sale/17.0.1.1/post-migration.py +12 -0
- odoo/addons/openupgrade_scripts/scripts/website_sale/17.0.1.1/upgrade_analysis.txt +4 -0
- odoo/addons/openupgrade_scripts/scripts/website_sale/17.0.1.1/upgrade_analysis_work.txt +6 -0
- odoo/addons/openupgrade_scripts/scripts/website_sale_wishlist/17.0.1.0/upgrade_analysis_work.txt +19 -0
- {odoo_addon_openupgrade_scripts-17.0.1.0.1.282.dist-info → odoo_addon_openupgrade_scripts-17.0.1.0.1.294.dist-info}/METADATA +1 -1
- {odoo_addon_openupgrade_scripts-17.0.1.0.1.282.dist-info → odoo_addon_openupgrade_scripts-17.0.1.0.1.294.dist-info}/RECORD +25 -19
- {odoo_addon_openupgrade_scripts-17.0.1.0.1.282.dist-info → odoo_addon_openupgrade_scripts-17.0.1.0.1.294.dist-info}/WHEEL +0 -0
- {odoo_addon_openupgrade_scripts-17.0.1.0.1.282.dist-info → odoo_addon_openupgrade_scripts-17.0.1.0.1.294.dist-info}/top_level.txt +0 -0
@@ -31,11 +31,13 @@ merged_modules = {
|
|
31
31
|
"pos_daily_sales_reports": "point_of_sale",
|
32
32
|
"pos_epson_printer_restaurant": "point_of_sale",
|
33
33
|
"purchase_price_diff": "purchase_stock",
|
34
|
+
"sale_quotation_builder": "sale_pdf_quote_builder",
|
34
35
|
"spreadsheet_dashboard_sale_expense": "spreadsheet_dashboard_hr_expense",
|
35
36
|
"web_kanban_gauge": "web",
|
36
37
|
"website_event_crm_questions": "website_event_crm",
|
37
38
|
"website_event_questions": "website_event",
|
38
39
|
"website_sale_delivery": "website_sale",
|
40
|
+
"website_sale_digital": "website_sale",
|
39
41
|
"website_sale_loyalty_delivery": "website_sale_loyalty",
|
40
42
|
"website_sale_stock_product_configurator": "website_sale_product_configurator",
|
41
43
|
# OCA/account-invoicing
|
@@ -273,7 +273,6 @@ account / res.company / property_stock_account_input_categ_id
|
|
273
273
|
account / res.company / property_stock_account_output_categ_id (many2one): DEL relation: account.account
|
274
274
|
account / res.company / property_stock_valuation_account_id (many2one): DEL relation: account.account
|
275
275
|
account / res.company / rating_ids (one2many) : NEW relation: rating.rating
|
276
|
-
account / res.partner / supplier_invoice_count (integer): module is now 'purchase' ('account')
|
277
276
|
account / res.partner.bank / activity_user_id (many2one) : not related anymore
|
278
277
|
account / res.partner.bank / activity_user_id (many2one) : now a function
|
279
278
|
account / res.partner.bank / has_iban_warning (boolean) : NEW isfunction: function, stored
|
@@ -281,7 +280,6 @@ account / res.partner.bank / has_money_transfer_warning (boolean):
|
|
281
280
|
account / res.partner.bank / message_main_attachment_id (many2one): DEL relation: ir.attachment
|
282
281
|
account / res.partner.bank / rating_ids (one2many) : NEW relation: rating.rating
|
283
282
|
account / res.partner.bank / related_moves (one2many) : NEW relation: account.move
|
284
|
-
account / res.users / supplier_invoice_count (integer): module is now 'purchase' ('account')
|
285
283
|
---XML records in module 'account'---
|
286
284
|
DEL account.account.template: l10n_generic_coa.capital
|
287
285
|
DEL account.account.template: l10n_generic_coa.cash_diff_expense
|
@@ -333,7 +331,6 @@ NEW ir.actions.act_window: account.action_open_sale_payment_items
|
|
333
331
|
DEL ir.actions.act_window: account.action_account_tax_template_form
|
334
332
|
DEL ir.actions.act_window: account.action_open_account_onboarding_create_invoice
|
335
333
|
DEL ir.actions.act_window: account.action_open_account_onboarding_sale_tax
|
336
|
-
DEL ir.actions.act_window: account.res_partner_action_supplier_bills
|
337
334
|
NEW ir.actions.server: account.action_automatic_entry_change_account
|
338
335
|
NEW ir.actions.server: account.action_automatic_entry_change_period
|
339
336
|
NEW ir.actions.server: account.action_move_switch_move_type
|
@@ -25,7 +25,7 @@ obsolete model base_import.tests.models.o2m [module base_import]
|
|
25
25
|
obsolete model base_import.tests.models.o2m.child [module base_import]
|
26
26
|
obsolete model base_import.tests.models.preview [module base_import]
|
27
27
|
obsolete model hr.attendance.report [module hr_attendance]
|
28
|
-
obsolete model hr.leave.stress.day [module hr_holidays]
|
28
|
+
obsolete model hr.leave.stress.day (renamed to hr.leave.mandatory.day) [module hr_holidays]
|
29
29
|
obsolete model hr.plan [module hr]
|
30
30
|
obsolete model hr.plan.activity.type [module hr]
|
31
31
|
obsolete model hr.plan.wizard [module hr]
|
@@ -77,7 +77,7 @@ new model homework.location.wizard [module hr_homeworking]
|
|
77
77
|
new model hr.employee.cv.wizard [module hr_skills]
|
78
78
|
new model hr.employee.delete.wizard [module hr_timesheet]
|
79
79
|
new model hr.employee.location [module hr_homeworking]
|
80
|
-
new model hr.leave.mandatory.day [module hr_holidays]
|
80
|
+
new model hr.leave.mandatory.day (renamed from hr.leave.stress.day) [module hr_holidays]
|
81
81
|
new model html.field.history.mixin [module web_editor]
|
82
82
|
new model iap.account.info [module iap]
|
83
83
|
new model ir.model.inherit [module base]
|
@@ -141,13 +141,13 @@ new model stock.forecasted_product_template [module stock]
|
|
141
141
|
new model stock.quant.relocate [module stock]
|
142
142
|
new model website.controller.page [module website]
|
143
143
|
---Fields in module 'general'---
|
144
|
-
#
|
145
|
-
# Direct match:
|
146
|
-
# Found in other module:
|
144
|
+
# 12237 fields matched,
|
145
|
+
# Direct match: 12141
|
146
|
+
# Found in other module: 96
|
147
147
|
# Found with different type: 0
|
148
|
-
# In obsolete models:
|
149
|
-
# New columns:
|
150
|
-
# Not matched:
|
148
|
+
# In obsolete models: 388
|
149
|
+
# New columns: 1919
|
150
|
+
# Not matched: 1444
|
151
151
|
---XML records in module 'general'---
|
152
152
|
ERROR: module not in list of installed modules:
|
153
153
|
---Models in module 'l10n_it_edi_pa'---
|
@@ -619,29 +619,3 @@ ERROR: module not in list of installed modules:
|
|
619
619
|
---Fields in module 'l10n_pl_sale_stock'---
|
620
620
|
---XML records in module 'l10n_pl_sale_stock'---
|
621
621
|
---nothing has changed in this module--
|
622
|
-
ERROR: module not in list of installed modules:
|
623
|
-
---Models in module 'sale_quotation_builder'---
|
624
|
-
---Fields in module 'sale_quotation_builder'---
|
625
|
-
sale_quotation_builder / product.template / quotation_only_description (html): DEL
|
626
|
-
sale_quotation_builder / sale.order / website_description (html) : DEL
|
627
|
-
sale_quotation_builder / sale.order.line / website_description (html) : DEL
|
628
|
-
sale_quotation_builder / sale.order.option / website_description (html) : DEL
|
629
|
-
sale_quotation_builder / sale.order.template / website_description (html) : DEL
|
630
|
-
sale_quotation_builder / sale.order.template.line / website_description (html) : DEL
|
631
|
-
sale_quotation_builder / sale.order.template.option / website_description (html) : DEL
|
632
|
-
---XML records in module 'sale_quotation_builder'---
|
633
|
-
DEL ir.ui.view: sale_quotation_builder.brand_promotion
|
634
|
-
DEL ir.ui.view: sale_quotation_builder.res_config_settings_view_form_inherit
|
635
|
-
DEL ir.ui.view: sale_quotation_builder.sale_order_form_quote_design
|
636
|
-
DEL ir.ui.view: sale_quotation_builder.sale_order_portal_content_inherit_sale_quotation_builder
|
637
|
-
DEL ir.ui.view: sale_quotation_builder.sale_order_template_view_form_inherit_sale_quotation_builder
|
638
|
-
DEL ir.ui.view: sale_quotation_builder.so_template
|
639
|
-
DEL sale.order.template: sale_quotation_builder.sale_order_template_default (noupdate)
|
640
|
-
ERROR: module not in list of installed modules:
|
641
|
-
---Models in module 'website_sale_digital'---
|
642
|
-
---Fields in module 'website_sale_digital'---
|
643
|
-
website_sale_digital / ir.attachment / product_downloadable (boolean): DEL
|
644
|
-
---XML records in module 'website_sale_digital'---
|
645
|
-
DEL ir.ui.view: website_sale_digital.product_product_view_form_inherit_digital
|
646
|
-
DEL ir.ui.view: website_sale_digital.product_template_view_form_inherit_digital
|
647
|
-
DEL ir.ui.view: website_sale_digital.sale_order_portal_content_inherit_website_sale_digital
|
@@ -8,8 +8,18 @@ _model_renames = [
|
|
8
8
|
|
9
9
|
_table_renames = [
|
10
10
|
("hr_leave_stress_day", "hr_leave_mandatory_day"),
|
11
|
+
(
|
12
|
+
"hr_department_hr_leave_stress_day_rel",
|
13
|
+
"hr_department_hr_leave_mandatory_day_rel",
|
14
|
+
),
|
11
15
|
]
|
12
16
|
|
17
|
+
_column_renames = {
|
18
|
+
"hr_department_hr_leave_mandatory_day_rel": [
|
19
|
+
("hr_leave_stress_day_id", "hr_leave_mandatory_day_id")
|
20
|
+
],
|
21
|
+
}
|
22
|
+
|
13
23
|
|
14
24
|
def _pre_create_accrual_plan_active(cr):
|
15
25
|
"""
|
@@ -145,6 +155,7 @@ def _delete_sql_constraints(env):
|
|
145
155
|
def migrate(env, version):
|
146
156
|
openupgrade.rename_models(env.cr, _model_renames)
|
147
157
|
openupgrade.rename_tables(env.cr, _table_renames)
|
158
|
+
openupgrade.rename_columns(env.cr, _column_renames)
|
148
159
|
_pre_create_accrual_plan_active(env.cr)
|
149
160
|
_hr_leave_company_id(env.cr)
|
150
161
|
_map_leave_accrual_level_action(env.cr)
|
@@ -1,6 +1,6 @@
|
|
1
1
|
---Models in module 'hr_holidays'---
|
2
|
-
obsolete model hr.leave.stress.day
|
3
|
-
new model hr.leave.mandatory.day
|
2
|
+
obsolete model hr.leave.stress.day (renamed to hr.leave.mandatory.day)
|
3
|
+
new model hr.leave.mandatory.day (renamed from hr.leave.stress.day)
|
4
4
|
---Fields in module 'hr_holidays'---
|
5
5
|
hr_holidays / hr.leave / activity_user_id (many2one) : not related anymore
|
6
6
|
hr_holidays / hr.leave / activity_user_id (many2one) : now a function
|
@@ -44,20 +44,8 @@ hr_holidays / hr.leave.allocation / type_request_unit (selection) : not re
|
|
44
44
|
hr_holidays / hr.leave.allocation / type_request_unit (selection) : now a function
|
45
45
|
hr_holidays / hr.leave.allocation / type_request_unit (selection) : selection_keys is now '['day', 'half_day', 'hour']' ('function')
|
46
46
|
hr_holidays / hr.leave.allocation / website_message_ids (one2many): previously in module portal
|
47
|
-
hr_holidays / hr.leave.
|
48
|
-
hr_holidays / hr.leave.
|
49
|
-
hr_holidays / hr.leave.mandatory.day / department_ids (many2many) : NEW relation: hr.department
|
50
|
-
hr_holidays / hr.leave.mandatory.day / end_date (date) : NEW required
|
51
|
-
hr_holidays / hr.leave.mandatory.day / name (char) : NEW required
|
52
|
-
hr_holidays / hr.leave.mandatory.day / resource_calendar_id (many2one): NEW relation: resource.calendar
|
53
|
-
hr_holidays / hr.leave.mandatory.day / start_date (date) : NEW required
|
54
|
-
hr_holidays / hr.leave.stress.day / color (integer) : DEL
|
55
|
-
hr_holidays / hr.leave.stress.day / company_id (many2one) : DEL relation: res.company, required
|
56
|
-
hr_holidays / hr.leave.stress.day / department_ids (many2many) : DEL relation: hr.department
|
57
|
-
hr_holidays / hr.leave.stress.day / end_date (date) : DEL required
|
58
|
-
hr_holidays / hr.leave.stress.day / name (char) : DEL required
|
59
|
-
hr_holidays / hr.leave.stress.day / resource_calendar_id (many2one): DEL relation: resource.calendar
|
60
|
-
hr_holidays / hr.leave.stress.day / start_date (date) : DEL required
|
47
|
+
hr_holidays / hr.leave.stress.day / department_ids (many2many) : column1 is now 'hr_leave_mandatory_day_id' ('hr_leave_stress_day_id') [hr_department_hr_leave_stress_day_rel]
|
48
|
+
hr_holidays / hr.leave.stress.day / department_ids (many2many) : table is now 'hr_department_hr_leave_mandatory_day_rel' ('hr_department_hr_leave_stress_day_rel')
|
61
49
|
hr_holidays / hr.leave.type / allows_negative (boolean) : NEW
|
62
50
|
hr_holidays / hr.leave.type / color_name (selection) : DEL required, selection_keys: ['black', 'blue', 'brown', 'ivory', 'lavender', 'lightblue', 'lightcoral', 'lightcyan', 'lightgreen', 'lightpink', 'lightsalmon', 'lightyellow', 'magenta', 'red', 'violet', 'wheat']
|
63
51
|
hr_holidays / hr.leave.type / max_allowed_negative (integer): NEW
|
@@ -108,21 +108,9 @@ hr_holidays / hr.leave.allocation / type_request_unit (selection) : select
|
|
108
108
|
hr_holidays / hr.leave.allocation / website_message_ids (one2many): previously in module portal
|
109
109
|
# NOTHING TO DO: Handled by Odoo registry
|
110
110
|
|
111
|
-
hr_holidays / hr.leave.
|
112
|
-
hr_holidays / hr.leave.
|
113
|
-
|
114
|
-
hr_holidays / hr.leave.mandatory.day / end_date (date) : NEW required
|
115
|
-
hr_holidays / hr.leave.mandatory.day / name (char) : NEW required
|
116
|
-
hr_holidays / hr.leave.mandatory.day / resource_calendar_id (many2one): NEW relation: resource.calendar
|
117
|
-
hr_holidays / hr.leave.mandatory.day / start_date (date) : NEW required
|
118
|
-
hr_holidays / hr.leave.stress.day / color (integer) : DEL
|
119
|
-
hr_holidays / hr.leave.stress.day / company_id (many2one) : DEL relation: res.company, required
|
120
|
-
hr_holidays / hr.leave.stress.day / department_ids (many2many) : DEL relation: hr.department
|
121
|
-
hr_holidays / hr.leave.stress.day / end_date (date) : DEL required
|
122
|
-
hr_holidays / hr.leave.stress.day / name (char) : DEL required
|
123
|
-
hr_holidays / hr.leave.stress.day / resource_calendar_id (many2one): DEL relation: resource.calendar
|
124
|
-
hr_holidays / hr.leave.stress.day / start_date (date) : DEL required
|
125
|
-
# DONE: pre-migration rename model (no field changes)
|
111
|
+
hr_holidays / hr.leave.stress.day / department_ids (many2many) : column1 is now 'hr_leave_mandatory_day_id' ('hr_leave_stress_day_id') [hr_department_hr_leave_stress_day_rel]
|
112
|
+
hr_holidays / hr.leave.stress.day / department_ids (many2many) : table is now 'hr_department_hr_leave_mandatory_day_rel' ('hr_department_hr_leave_stress_day_rel')
|
113
|
+
# DONE: pre-migration rename model, m2m table and column
|
126
114
|
|
127
115
|
hr_holidays / hr.leave.type / allows_negative (boolean) : NEW
|
128
116
|
hr_holidays / hr.leave.type / max_allowed_negative (integer): NEW
|