odoo-addon-openupgrade-scripts 17.0.1.0.1.4__py3-none-any.whl → 17.0.1.0.1.8__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.
@@ -0,0 +1,19 @@
1
+ # Copyright 2024 Viindoo Technology Joint Stock Company (Viindoo)
2
+ # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
3
+ from openupgradelib import openupgrade
4
+
5
+ _deleted_xml_records = [
6
+ "base.icp_mail_bounce_alias",
7
+ "base.icp_mail_catchall_alias",
8
+ "base.icp_mail_default_from",
9
+ ]
10
+
11
+
12
+ @openupgrade.migrate()
13
+ def migrate(env, version):
14
+ """Call disable_invalid_filters in every edition of openupgrade"""
15
+ openupgrade.disable_invalid_filters(env)
16
+ openupgrade.delete_records_safely_by_xml_id(
17
+ env,
18
+ _deleted_xml_records,
19
+ )
@@ -15,18 +15,21 @@
15
15
  <record id="ec" model="res.country">
16
16
  <field name="zip_required">0</field>
17
17
  </record>
18
- <record id="es" model="res.country">
18
+ <!-- <record id="es" model="res.country">
19
19
  <field eval="'%(street)s\n%(street2)s\n%(zip)s %(city)s\n%(state_name)s\n%(country_name)s'" name="address_format"/>
20
- </record>
20
+ </record> -->
21
21
  <record id="europe" model="res.country.group">
22
22
  <field name="name">European Union</field>
23
23
  </record>
24
- <record id="main_company" model="res.company">
24
+ <!-- <record id="main_company" model="res.company">
25
25
  <field name="currency_id" ref="base.USD"/>
26
- </record>
26
+ </record> -->
27
27
  <record id="nz" model="res.country">
28
28
  <field name="vat_label">GST</field>
29
29
  </record>
30
+ <record id="res_partner_rule" model="ir.rule">
31
+ <field name="domain_force">['|', '|', ('partner_share', '=', False), ('company_id', 'parent_of', company_ids), ('company_id', '=', False)]</field>
32
+ </record>
30
33
  <record id="sl" model="res.country">
31
34
  <field name="currency_id" ref="SLE"/>
32
35
  </record>
@@ -0,0 +1,19 @@
1
+ # Copyright 2024 Viindoo Technology Joint Stock Company (Viindoo)
2
+ # Copyright 2024 Tecnativa - Pedro M. Baeza
3
+ # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
4
+
5
+ from openupgradelib import openupgrade
6
+
7
+ _deleted_xml_records = [
8
+ "base.res_partner_rule_private_employee",
9
+ "base.res_partner_rule_private_group",
10
+ ]
11
+
12
+
13
+ @openupgrade.migrate()
14
+ def migrate(env, version):
15
+ openupgrade.load_data(env, "base", "17.0.1.3/noupdate_changes.xml")
16
+ openupgrade.delete_records_safely_by_xml_id(
17
+ env,
18
+ _deleted_xml_records,
19
+ )
@@ -0,0 +1,228 @@
1
+ # Copyright 2024 Viindoo Technology Joint Stock Company (Viindoo)
2
+ # Copyright 2024 Tecnativa - Pedro M. Baeza
3
+ # License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).
4
+ import logging
5
+
6
+ from openupgradelib import openupgrade
7
+
8
+ from odoo import tools
9
+
10
+ from odoo.addons.openupgrade_scripts.apriori import merged_modules, renamed_modules
11
+
12
+ _logger = logging.getLogger(__name__)
13
+
14
+ _xmlids_renames = [
15
+ (
16
+ "mail.model_res_users_settings",
17
+ "base.model_res_users_settings",
18
+ ),
19
+ (
20
+ "mail.access_res_users_settings_all",
21
+ "base.access_res_users_settings_all",
22
+ ),
23
+ (
24
+ "mail.access_res_users_settings_user",
25
+ "base.access_res_users_settings_user",
26
+ ),
27
+ (
28
+ "mail.res_users_settings_rule_admin",
29
+ "base.res_users_settings_rule_admin",
30
+ ),
31
+ (
32
+ "mail.res_users_settings_rule_user",
33
+ "base.res_users_settings_rule_user",
34
+ ),
35
+ (
36
+ "mail.constraint_res_users_settings_unique_user_id",
37
+ "base.constraint_res_users_settings_unique_user_id",
38
+ ),
39
+ ]
40
+ _column_renames = {
41
+ "res_partner": [("display_name", "complete_name")],
42
+ }
43
+
44
+
45
+ def _fill_ir_server_object_lines_into_action_server(cr):
46
+ openupgrade.logged_query(
47
+ cr,
48
+ """
49
+ ALTER TABLE ir_act_server
50
+ ADD COLUMN IF NOT EXISTS old_ias_id VARCHAR,
51
+ ADD COLUMN IF NOT EXISTS evaluation_type VARCHAR,
52
+ ADD COLUMN IF NOT EXISTS resource_ref VARCHAR,
53
+ ADD COLUMN IF NOT EXISTS selection_value INTEGER,
54
+ ADD COLUMN IF NOT EXISTS update_boolean_value VARCHAR,
55
+ ADD COLUMN IF NOT EXISTS update_field_id INTEGER,
56
+ ADD COLUMN IF NOT EXISTS update_m2m_operation VARCHAR,
57
+ ADD COLUMN IF NOT EXISTS update_path VARCHAR,
58
+ ADD COLUMN IF NOT EXISTS update_related_model_id INTEGER,
59
+ ADD COLUMN IF NOT EXISTS value TEXT;
60
+ """,
61
+ )
62
+ # Update operations
63
+ openupgrade.logged_query(
64
+ cr,
65
+ """
66
+ INSERT INTO ir_act_server
67
+ (
68
+ old_ias_id,
69
+ evaluation_type,
70
+ update_field_id,
71
+ update_path,
72
+ update_related_model_id,
73
+ value,
74
+ resource_ref,
75
+ selection_value,
76
+ update_boolean_value,
77
+ update_m2m_operation,
78
+ binding_type,
79
+ state,
80
+ type,
81
+ usage,
82
+ model_id,
83
+ name
84
+ )
85
+ SELECT
86
+ ias.id,
87
+ CASE
88
+ WHEN isol.evaluation_type = 'equation' then 'equation'
89
+ ELSE 'value'
90
+ END,
91
+ imf.id,
92
+ imf.name,
93
+ im.id,
94
+ CASE WHEN isol.evaluation_type = 'equation'
95
+ THEN isol.value
96
+ ELSE NULL
97
+ END,
98
+ CASE WHEN imf.ttype in ('many2one', 'many2many')
99
+ THEN imf.relation || ',' || isol.value
100
+ ELSE NULL
101
+ END,
102
+ imfs.id,
103
+ CASE WHEN imf.ttype = 'boolean'
104
+ THEN isol.value::bool
105
+ ELSE NULL
106
+ END,
107
+ 'add',
108
+ 'action',
109
+ 'object_write',
110
+ 'ir.actions.server',
111
+ 'ir_actions_server',
112
+ ias.model_id,
113
+ ias.name
114
+ FROM ir_act_server ias
115
+ JOIN ir_server_object_lines isol ON isol.server_id = ias.id
116
+ JOIN ir_model_fields imf ON imf.id = isol.col1
117
+ LEFT JOIN ir_model im ON im.model = imf.relation
118
+ LEFT JOIN ir_model_fields_selection imfs
119
+ ON imf.id = imfs.field_id AND imfs.value = isol.value
120
+ WHERE ias.state = 'object_write'
121
+ RETURNING id, old_ias_id
122
+ """,
123
+ )
124
+ for row in cr.fetchall():
125
+ cr.execute(
126
+ """
127
+ INSERT INTO rel_server_actions
128
+ (action_id, server_id)
129
+ VALUES (%s, %s)
130
+ """,
131
+ (row[0], row[1]),
132
+ )
133
+ openupgrade.logged_query(
134
+ cr,
135
+ """UPDATE ir_act_server ias
136
+ SET state = 'multi'
137
+ FROM ir_server_object_lines isol
138
+ WHERE ias.state = 'object_write'
139
+ AND isol.server_id = ias.id
140
+ """,
141
+ )
142
+ # Create operations
143
+ openupgrade.logged_query(
144
+ cr,
145
+ """UPDATE ir_act_server ias
146
+ SET value = isol.value
147
+ FROM ir_server_object_lines isol
148
+ JOIN ir_model_fields imf ON imf.id = isol.col1
149
+ WHERE ias.state = 'object_create'
150
+ AND isol.server_id = ias.id
151
+ AND isol.evaluation_type = 'value'
152
+ AND imf.name = 'name'
153
+ """,
154
+ )
155
+
156
+
157
+ def _fill_empty_country_codes(cr):
158
+ openupgrade.logged_query(
159
+ cr,
160
+ """
161
+ UPDATE res_country
162
+ SET code = 'OU' || id::VARCHAR
163
+ WHERE code IS NULL
164
+ """,
165
+ )
166
+
167
+
168
+ def _handle_partner_private_type(cr):
169
+ # Copy private records into a new table
170
+ openupgrade.logged_query(
171
+ cr,
172
+ """
173
+ CREATE TABLE ou_res_partner_private AS
174
+ SELECT * FROM res_partner
175
+ WHERE type = 'private'
176
+ """,
177
+ )
178
+ # Copy column for preserving the old type values
179
+ _column_copies = {"res_partner": [("type", None, None)]}
180
+ openupgrade.copy_columns(cr, _column_copies)
181
+ # Change contact type and erase sensitive information
182
+ query = "type = 'contact'"
183
+ for field in [
184
+ "street",
185
+ "street2",
186
+ "city",
187
+ "zip",
188
+ "vat",
189
+ "function",
190
+ "phone",
191
+ "mobile",
192
+ "email",
193
+ "website",
194
+ "comment",
195
+ ]:
196
+ query += f", {field} = CASE WHEN {field} IS NULL THEN NULL ELSE '*****' END"
197
+ openupgrade.logged_query(
198
+ cr,
199
+ f"""
200
+ UPDATE res_partner
201
+ SET {query},
202
+ country_id = NULL,
203
+ state_id = NULL
204
+ WHERE type = 'private'
205
+ """,
206
+ )
207
+
208
+
209
+ @openupgrade.migrate(use_env=False)
210
+ def migrate(cr, version):
211
+ """
212
+ Don't request an env for the base pre-migration as flushing the env in
213
+ odoo/modules/registry.py will break on the 'base' module not yet having
214
+ been instantiated.
215
+ """
216
+ if "openupgrade_framework" not in tools.config["server_wide_modules"]:
217
+ _logger.error(
218
+ "openupgrade_framework is not preloaded. You are highly "
219
+ "recommended to run the Odoo with --load=openupgrade_framework "
220
+ "when migrating your database."
221
+ )
222
+ openupgrade.update_module_names(cr, renamed_modules.items())
223
+ openupgrade.update_module_names(cr, merged_modules.items(), merge_modules=True)
224
+ openupgrade.rename_xmlids(cr, _xmlids_renames)
225
+ openupgrade.rename_columns(cr, _column_renames)
226
+ _fill_ir_server_object_lines_into_action_server(cr)
227
+ _fill_empty_country_codes(cr)
228
+ _handle_partner_private_type(cr)
@@ -0,0 +1,262 @@
1
+ ---Models in module 'base'---
2
+ obsolete model ir.server.object.lines
3
+ base / ir.actions.server / fields_lines (one2many) : DEL relation: ir.server.object.lines
4
+ base / ir.server.object.lines / col1 (many2one) : DEL relation: ir.model.fields, required
5
+ base / ir.server.object.lines / evaluation_type (selection) : DEL required, selection_keys: ['equation', 'reference', 'value']
6
+ base / ir.server.object.lines / server_id (many2one) : DEL relation: ir.actions.server
7
+ base / ir.server.object.lines / value (text) : DEL required
8
+ base / ir.actions.server / evaluation_type (selection) : NEW selection_keys: ['equation', 'value'], hasdefault: default
9
+ base / ir.actions.server / value (text) : NEW
10
+ base / ir.actions.server / resource_ref (reference) : NEW
11
+ base / ir.actions.server / selection_value (many2one) : NEW relation: ir.model.fields.selection
12
+ base / ir.actions.server / update_boolean_value (selection): NEW selection_keys: ['false', 'true'], hasdefault: default
13
+ base / ir.actions.server / update_field_id (many2one) : NEW relation: ir.model.fields, hasdefault: compute
14
+ base / ir.actions.server / update_m2m_operation (selection): NEW selection_keys: ['add', 'clear', 'remove', 'set'], hasdefault: default
15
+ base / ir.actions.server / update_path (char) : NEW hasdefault: default
16
+ base / ir.actions.server / update_related_model_id (many2one): NEW relation: ir.model, isfunction: function, stored
17
+ # DONE: pre-migration: Create extra ir.actions.server records as childs of the original ias record when the operation is to update records and there are lines
18
+ # DONE: pre-migration: Bring name to ir.actions.server records from the line indicating when the operation is to create record. For the rest of the cases, there isn't now equivalent
19
+
20
+ new model ir.model.inherit
21
+ base / ir.model.inherit / model_id (many2one) : NEW relation: ir.model, required
22
+ base / ir.model.inherit / parent_field_id (many2one) : NEW relation: ir.model.fields
23
+ base / ir.model.inherit / parent_id (many2one) : NEW relation: ir.model, required
24
+ # NOTHING TO DO: Populated automatically by Odoo registry through `_reflect_inherits` method
25
+
26
+ model res.users.settings (moved from mail)
27
+ # DONE: pre-migration: Rename xml-id
28
+
29
+ ---Fields in module 'base'---
30
+ base / ir.actions.act_url / target (selection) : selection_keys is now '['download', 'new', 'self']' ('['new', 'self']')
31
+ # NOTHING TO DO: new URL target feature, so no conversion needed for existing ones
32
+
33
+ base / ir.actions.act_window / mobile_view_mode (char) : NEW hasdefault: default
34
+ # NOTHING TO DO: new feature for setting the first view mode in mobile and small screen environments. The default "kanban" value was the old behavior.
35
+
36
+ base / ir.actions.server / state (selection) : selection_keys is now '['code', 'multi', 'object_create', 'object_write', 'webhook']' ('['code', 'multi', 'object_create', 'object_write']')
37
+ base / ir.actions.server / webhook_field_ids (many2many) : NEW relation: ir.model.fields
38
+ base / ir.actions.server / webhook_url (char) : NEW
39
+ # NOTHING TO DO: new feature
40
+
41
+ base / ir.cron / cron_name (char) : not related anymore
42
+ base / ir.cron / cron_name (char) : now a function
43
+ # NOTHING TO DO: The stored values don't change
44
+
45
+ base / ir.mail_server / _order : _order is now 'sequence, id' ('sequence')
46
+ # NOTHING TO DO: Needed refinement, but on real cases, sequences are already different
47
+
48
+ base / ir.mail_server / smtp_authentication (selection): selection_keys is now '['certificate', 'cli', 'login']' ('['certificate', 'login']')
49
+ # NOTHING TO DO: New selection option
50
+
51
+ base / ir.model.fields / currency_field (char) : NEW
52
+ base / ir.model.fields / sanitize (boolean) : NEW hasdefault: default
53
+ base / ir.model.fields / sanitize_attributes (boolean) : NEW hasdefault: default
54
+ base / ir.model.fields / sanitize_form (boolean) : NEW hasdefault: default
55
+ base / ir.model.fields / sanitize_overridable (boolean): NEW hasdefault: default
56
+ base / ir.model.fields / sanitize_style (boolean) : NEW hasdefault: default
57
+ base / ir.model.fields / sanitize_tags (boolean) : NEW hasdefault: default
58
+ base / ir.model.fields / strip_classes (boolean) : NEW hasdefault: default
59
+ base / ir.model.fields / strip_style (boolean) : NEW hasdefault: default
60
+ # NOTHING TO DO: Populated by Odoo registry itself
61
+
62
+ base / ir.property / type (selection) : selection_keys is now '['binary', 'boolean', 'char', 'date', 'datetime', 'float', 'html', 'integer', 'many2one', 'selection', 'text']' ('['binary', 'boolean', 'char', 'date', 'datetime', 'float', 'integer', 'many2one', 'selection', 'text']')
63
+ # NOTHING TO DO: New feature for having HTML fields as company_dependent
64
+
65
+ base / ir.ui.view / field_parent (char) : DEL
66
+ # NOTHING TO DO: deprecated from very longtime ago since https://github.com/odoo/odoo/commit/905e01921f3c3ef43ace6fc537d1d8c0d280002c 2017
67
+
68
+ base / res.company / all_child_ids (one2many) : NEW relation: res.company
69
+ base / res.company / parent_path (char) : NEW
70
+ # NOTHING TO DO: new branch feature
71
+
72
+ base / res.company / base_onboarding_company_state (selection): DEL selection_keys: ['done', 'just_done', 'not_done']
73
+ # NOTHING TO DO: but need to do in account module and some module that will use onboarding at post_install perhaps , use _search_or_create_progress method
74
+
75
+ base / res.company / favicon (binary) : DEL attachment: True
76
+ # NOTHING TO DO: remove feature without replacement in core. Use web_favicon OCA module for restoring the feature
77
+
78
+ base / res.company / uses_default_logo (boolean) : NEW isfunction: function, stored
79
+ # NOTHING TO DO: computed by ORM
80
+
81
+ base / res.country / code (char) : now required
82
+ # DONE: pre-migration: Put as code 'OU' + the ID for empty ones
83
+
84
+ base / res.partner / complete_name (char) : NEW isfunction: function, stored
85
+ base / res.partner / display_name (char) : not stored anymore
86
+ base / res.partner / _order : _order is now 'complete_name ASC, id DESC' ('display_name ASC, id DESC')
87
+ # DONE: pre-migration: Rename column display_name to complete_name, as the value is equivalent
88
+
89
+ base / res.partner / type (selection) : selection_keys is now '['contact', 'delivery', 'invoice', 'other']' ('['contact', 'delivery', 'invoice', 'other', 'private']')
90
+ # DONE: pre-migration: Perform a full copy on a new table of the private records
91
+ # DONE: pre-migration: Copy the column for preserving the old values in case any extra module needs it
92
+ # DONE: pre-migration: Update 'private' type with 'contact' type, and erase sensitive information
93
+
94
+ base / res.users / res_users_settings_id (many2one): previously in module mail
95
+ base / res.users / res_users_settings_ids (one2many): previously in module mail
96
+ base / res.users.settings / _order : previously in module mail
97
+ base / res.users.settings / display_name (char) : previously in module mail
98
+ base / res.users.settings / user_id (many2one) : previously in module mail
99
+ # NOTHING TO DO: Handled by Odoo registry
100
+
101
+ ---XML records in module 'base'---
102
+ DEL ir.actions.act_window: base.action_open_base_onboarding_company
103
+ DEL ir.actions.client: base.modules_act_cl
104
+ DEL ir.actions.client: base.modules_updates_act_cl
105
+ DEL ir.actions.server: base.action_server_module_immediate_install
106
+ # NOTHING TO DO: noupdate=0 records
107
+
108
+ DEL ir.config_parameter: base.icp_mail_bounce_alias (noupdate)
109
+ DEL ir.config_parameter: base.icp_mail_catchall_alias (noupdate)
110
+ DEL ir.config_parameter: base.icp_mail_default_from (noupdate)
111
+ # DONE: removed in end-migration, to create new alias domain record in mail module
112
+
113
+ NEW ir.actions.act_window: base.ir_client_actions_report
114
+ NEW ir.cron: base.ir_cron_res_users_deletion
115
+ NEW ir.model.access: base.access_ir_model_inherit
116
+ NEW ir.model.access: base.access_res_company_employee
117
+ NEW ir.model.access: base.access_res_company_portal
118
+ NEW ir.model.access: base.access_res_company_public
119
+ NEW ir.model.access: base.access_res_country_employee
120
+ NEW ir.model.access: base.access_res_country_group_employee
121
+ NEW ir.model.access: base.access_res_country_group_portal
122
+ NEW ir.model.access: base.access_res_country_group_public
123
+ NEW ir.model.access: base.access_res_country_portal
124
+ NEW ir.model.access: base.access_res_country_public
125
+ NEW ir.model.access: base.access_res_country_state_employee
126
+ NEW ir.model.access: base.access_res_country_state_portal
127
+ NEW ir.model.access: base.access_res_country_state_public
128
+ NEW ir.model.access: base.access_res_currency_employee
129
+ NEW ir.model.access: base.access_res_currency_portal
130
+ NEW ir.model.access: base.access_res_currency_public
131
+ NEW ir.model.access: base.access_res_currency_rate_employee
132
+ NEW ir.model.access: base.access_res_currency_rate_portal
133
+ NEW ir.model.access: base.access_res_currency_rate_public
134
+ NEW ir.model.access: base.access_res_lang_employee
135
+ NEW ir.model.access: base.access_res_lang_group_system
136
+ NEW ir.model.access: base.access_res_lang_portal
137
+ NEW ir.model.access: base.access_res_lang_public
138
+ NEW ir.model.access: base.access_res_users_employee
139
+ NEW ir.model.access: base.access_res_users_log_system
140
+ NEW ir.model.access: base.access_res_users_portal
141
+ NEW ir.model.access: base.access_res_users_public
142
+ NEW ir.model.constraint: base.constraint_ir_model_fields_name_manual_field
143
+ NEW ir.model.constraint: base.constraint_ir_model_inherit_uniq
144
+ NEW ir.module.category: base.module_category_services_appointment
145
+ NEW ir.module.module: base.module_sale_amazon (noupdate)
146
+ NEW ir.ui.menu: base.menu_ir_client_actions_report
147
+ DEL ir.ui.menu: base.menu_board_root
148
+ DEL ir.ui.menu: base.menu_module_updates
149
+ DEL ir.ui.menu: base.menu_reporting_config
150
+ DEL ir.ui.menu: base.menu_reporting_dashboard
151
+ DEL ir.ui.menu: base.module_mi
152
+ NEW ir.ui.view: base.no_contact
153
+ NEW ir.ui.view: base.res_users_identitycheck_view_form
154
+ NEW ir.ui.view: base.res_users_identitycheck_view_form_revokedevices
155
+ NEW ir.ui.view: base.view_client_action_form
156
+ NEW ir.ui.view: base.view_client_action_tree
157
+ NEW ir.ui.view: base.view_country_search
158
+ DEL ir.ui.view: base.base_onboarding_company_form
159
+ DEL ir.ui.view: base.identity_check_wizard
160
+ DEL ir.ui.view: base.onboarding_company_step
161
+ DEL ir.ui.view: base.onboarding_container
162
+ DEL ir.ui.view: base.onboarding_step
163
+ DEL ir.ui.view: base.view_module_category_tree
164
+ NEW res.country.group: base.eurasian_economic_union (noupdate)
165
+ NEW res.country.state: base.state_hk_hk
166
+ NEW res.country.state: base.state_hk_kln
167
+ NEW res.country.state: base.state_hk_nt
168
+ NEW res.country.state: base.state_ke_01
169
+ NEW res.country.state: base.state_ke_02
170
+ NEW res.country.state: base.state_ke_03
171
+ NEW res.country.state: base.state_ke_04
172
+ NEW res.country.state: base.state_ke_05
173
+ NEW res.country.state: base.state_ke_06
174
+ NEW res.country.state: base.state_ke_07
175
+ NEW res.country.state: base.state_ke_08
176
+ NEW res.country.state: base.state_ke_09
177
+ NEW res.country.state: base.state_ke_10
178
+ NEW res.country.state: base.state_ke_11
179
+ NEW res.country.state: base.state_ke_12
180
+ NEW res.country.state: base.state_ke_13
181
+ NEW res.country.state: base.state_ke_14
182
+ NEW res.country.state: base.state_ke_15
183
+ NEW res.country.state: base.state_ke_16
184
+ NEW res.country.state: base.state_ke_17
185
+ NEW res.country.state: base.state_ke_18
186
+ NEW res.country.state: base.state_ke_19
187
+ NEW res.country.state: base.state_ke_20
188
+ NEW res.country.state: base.state_ke_21
189
+ NEW res.country.state: base.state_ke_22
190
+ NEW res.country.state: base.state_ke_23
191
+ NEW res.country.state: base.state_ke_24
192
+ NEW res.country.state: base.state_ke_25
193
+ NEW res.country.state: base.state_ke_26
194
+ NEW res.country.state: base.state_ke_27
195
+ NEW res.country.state: base.state_ke_28
196
+ NEW res.country.state: base.state_ke_29
197
+ NEW res.country.state: base.state_ke_30
198
+ NEW res.country.state: base.state_ke_31
199
+ NEW res.country.state: base.state_ke_32
200
+ NEW res.country.state: base.state_ke_33
201
+ NEW res.country.state: base.state_ke_34
202
+ NEW res.country.state: base.state_ke_35
203
+ NEW res.country.state: base.state_ke_36
204
+ NEW res.country.state: base.state_ke_37
205
+ NEW res.country.state: base.state_ke_38
206
+ NEW res.country.state: base.state_ke_39
207
+ NEW res.country.state: base.state_ke_40
208
+ NEW res.country.state: base.state_ke_41
209
+ NEW res.country.state: base.state_ke_42
210
+ NEW res.country.state: base.state_ke_43
211
+ NEW res.country.state: base.state_ke_44
212
+ NEW res.country.state: base.state_ke_45
213
+ NEW res.country.state: base.state_ke_46
214
+ NEW res.country.state: base.state_ke_47
215
+ NEW res.country.state: base.state_uy_01
216
+ NEW res.country.state: base.state_uy_02
217
+ NEW res.country.state: base.state_uy_03
218
+ NEW res.country.state: base.state_uy_04
219
+ NEW res.country.state: base.state_uy_05
220
+ NEW res.country.state: base.state_uy_06
221
+ NEW res.country.state: base.state_uy_07
222
+ NEW res.country.state: base.state_uy_08
223
+ NEW res.country.state: base.state_uy_09
224
+ NEW res.country.state: base.state_uy_10
225
+ NEW res.country.state: base.state_uy_11
226
+ NEW res.country.state: base.state_uy_12
227
+ NEW res.country.state: base.state_uy_13
228
+ NEW res.country.state: base.state_uy_14
229
+ NEW res.country.state: base.state_uy_15
230
+ NEW res.country.state: base.state_uy_16
231
+ NEW res.country.state: base.state_uy_17
232
+ NEW res.country.state: base.state_uy_18
233
+ NEW res.country.state: base.state_uy_19
234
+ NEW res.currency: base.SLE (noupdate)
235
+ NEW res.lang: base.lang_en_NZ
236
+ NEW res.lang: base.lang_es_419
237
+ # NOTHING TO DO: New records
238
+
239
+ NEW ir.model.access: base.access_res_users_settings_all [renamed from mail module]
240
+ NEW ir.model.access: base.access_res_users_settings_user [renamed from mail module]
241
+ NEW ir.model.constraint: base.constraint_res_users_settings_unique_user_id [renamed from mail module]
242
+ NEW ir.rule: base.res_users_settings_rule_admin [renamed from mail module] (noupdate)
243
+ NEW ir.rule: base.res_users_settings_rule_user [renamed from mail module] (noupdate)
244
+ # DONE: renamed in pre-migration
245
+
246
+ DEL ir.model.access: base.access_ir_server_object_lines_group_system
247
+ DEL ir.model.access: base.access_res_company_group_user
248
+ DEL ir.model.access: base.access_res_country_group_all
249
+ DEL ir.model.access: base.access_res_country_group_group_all
250
+ DEL ir.model.access: base.access_res_country_state_group_all
251
+ DEL ir.model.access: base.access_res_currency_group_all
252
+ DEL ir.model.access: base.access_res_currency_rate_group_all
253
+ DEL ir.model.access: base.access_res_lang_group_all
254
+ DEL ir.model.access: base.access_res_lang_group_user
255
+ DEL ir.model.access: base.access_res_users_all
256
+ DEL ir.model.access: base.access_res_users_log_all
257
+ DEL res.groups: base.group_private_addresses
258
+ # NOTHING TO DO: noupdate records
259
+
260
+ DEL ir.rule: base.res_partner_rule_private_employee (noupdate)
261
+ DEL ir.rule: base.res_partner_rule_private_group (noupdate)
262
+ # DONE: removed in post-migration
@@ -0,0 +1,13 @@
1
+ ---Models in module 'web'---
2
+ ---Fields in module 'web'---
3
+ web / ir.actions.act_window.view / view_mode (False) : module is now 'web_hierarchy' ('web')
4
+ web / ir.actions.act_window.view / view_mode (False) : selection_keys is now '['calendar', 'form', 'gantt', 'graph', 'hierarchy', 'kanban', 'pivot', 'tree']' ('['calendar', 'form', 'gantt', 'graph', 'kanban', 'pivot', 'qweb', 'tree']')
5
+ # NOTHING TO DO: qweb view mode is deleted as per https://github.com/odoo/odoo/commit/4edbe5445631e964eb83fc2558de2a10aa907531 as it is not used anymore
6
+ # new selection key 'hierarchy' will be added by web_hierarchy module (not related to web module)
7
+
8
+ ---XML records in module 'web'---
9
+ NEW ir.actions.server: web.download_contact
10
+ NEW ir.ui.view: web.webclient_offline
11
+ DEL ir.ui.view: web.assets_backend_legacy_lazy
12
+ DEL ir.ui.view: web.benchmark_suite
13
+ # NOTHING TO DO: handled by ORM (creation of new action/view and deletion of views)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: odoo-addon-openupgrade_scripts
3
- Version: 17.0.1.0.1.4
3
+ Version: 17.0.1.0.1.8
4
4
  Requires-Python: >=3.10
5
5
  Requires-Dist: odoo>=17.0a,<17.1dev
6
6
  Requires-Dist: openupgradelib
@@ -30,8 +30,12 @@ odoo/addons/openupgrade_scripts/scripts/auth_totp_mail/17.0.1.0/upgrade_analysis
30
30
  odoo/addons/openupgrade_scripts/scripts/auth_totp_mail_enforce/17.0.1.0/upgrade_analysis.txt,sha256=FMeF8St_Piud_mwB9YE4jRpVTa--NsX0-TgUzamELME,189
31
31
  odoo/addons/openupgrade_scripts/scripts/barcodes/17.0.2.0/upgrade_analysis.txt,sha256=aVHHJpenY6xHfF_YxGygdm9MRLo165JzMd-zXtDl1nE,147
32
32
  odoo/addons/openupgrade_scripts/scripts/barcodes_gs1_nomenclature/17.0.1.0/upgrade_analysis.txt,sha256=M2_LcBV8IPACyjPo3ecgVy7GSuyFITBZRojGfi37HM4,198
33
- odoo/addons/openupgrade_scripts/scripts/base/17.0.1.3/noupdate_changes.xml,sha256=QAH6Unq3OPunRldIzwASK96dLPWAOgIDs16_PglRF8g,1372
33
+ odoo/addons/openupgrade_scripts/scripts/base/17.0.1.3/end-migration.py,sha256=rBD26z9On8J-vea9CYPKS-NhQGjoY4d8ZppskA4qgEo,572
34
+ odoo/addons/openupgrade_scripts/scripts/base/17.0.1.3/noupdate_changes.xml,sha256=6hUcRjfcLk0Ncubzf5-AdGdvE7LZH7tLYH2roFB3AQc,1602
35
+ odoo/addons/openupgrade_scripts/scripts/base/17.0.1.3/post-migration.py,sha256=PWK3BSMnDdZyeqDeTd_HCuxkajsnZwgN-mt19eZSiNM,558
36
+ odoo/addons/openupgrade_scripts/scripts/base/17.0.1.3/pre-migration.py,sha256=BqHU3TERox4I_uMbQLMMTie177gMRTCvJZUc7OvHzmI,6749
34
37
  odoo/addons/openupgrade_scripts/scripts/base/17.0.1.3/upgrade_analysis.txt,sha256=Sh7c1180mPs3FneWBGCNYSMcKqEkZ0P5KybAhtxYFPc,13821
38
+ odoo/addons/openupgrade_scripts/scripts/base/17.0.1.3/upgrade_analysis_work.txt,sha256=g5Ava9_CEq6qdRPQMTYqqMKvWV5vKmkbhDIwD3G80nA,15606
35
39
  odoo/addons/openupgrade_scripts/scripts/base/17.0.1.3/upgrade_general_log.txt,sha256=bj1xexwv7w-E0CiP2V_KqIGER5Hkavr3agJrmldkJVs,293354
36
40
  odoo/addons/openupgrade_scripts/scripts/base_address_extended/17.0.1.1/upgrade_analysis.txt,sha256=ASu66ZAbmDdq4hDHw_jHbavco76PjR0kFfvKSZ0bSI4,198
37
41
  odoo/addons/openupgrade_scripts/scripts/base_automation/17.0.1.0/noupdate_changes.xml,sha256=JUepQ4WdQ8g01-jvRxEW2ZEl_jjZWqyCUGu6wU6DutI,200
@@ -418,6 +422,7 @@ odoo/addons/openupgrade_scripts/scripts/transifex/17.0.1.0/upgrade_analysis.txt,
418
422
  odoo/addons/openupgrade_scripts/scripts/uom/17.0.1.0/upgrade_analysis.txt,sha256=QNpF0ZKtfvAQ5CYA-S7iCVvfMBnNQZXwNhgtA6am5JM,132
419
423
  odoo/addons/openupgrade_scripts/scripts/utm/17.0.1.1/upgrade_analysis.txt,sha256=_OOLVSiucvspEHo_3R5b5ikUC1Fbrsf8Xek6KUgUs5c,230
420
424
  odoo/addons/openupgrade_scripts/scripts/web/17.0.1.0/upgrade_analysis.txt,sha256=altsaAj1SIkDUKxSNpzJcXzkaufkODuPQkig7ZAa2Rs,628
425
+ odoo/addons/openupgrade_scripts/scripts/web/17.0.1.0/upgrade_analysis_work.txt,sha256=ZG6kEZvNqWh_4fa4MYml1nWR-pJNsxsgleMBC8DP-Ag,964
421
426
  odoo/addons/openupgrade_scripts/scripts/web_editor/17.0.1.0/upgrade_analysis.txt,sha256=9B7LNAniPqQGyI_zBwkY8TEvWc6eRyfeDVQd2JQP98g,265
422
427
  odoo/addons/openupgrade_scripts/scripts/web_hierarchy/17.0.1.0/upgrade_analysis.txt,sha256=XjtmSJk6VIM6hi3PqyPSwNejLebxNidQ4Spir5fxLWE,430
423
428
  odoo/addons/openupgrade_scripts/scripts/web_tour/17.0.0.1/upgrade_analysis.txt,sha256=s140_WtORGtzpb8A4VHm0LTT8XbotPX7DvT_9-6GWto,147
@@ -474,7 +479,7 @@ odoo/addons/openupgrade_scripts/scripts/website_twitter/17.0.1.0/upgrade_analysi
474
479
  odoo/addons/openupgrade_scripts/static/description/banner.png,sha256=KTIBu4gfxeZVw9zjs_fivTgFEOeaAorlBxajmCA1p6k,26859
475
480
  odoo/addons/openupgrade_scripts/static/description/icon.png,sha256=6xBPJauaFOF0KDHfHgQopSc28kKvxMaeoQFQWZtfZDo,9455
476
481
  odoo/addons/openupgrade_scripts/static/description/index.html,sha256=iV41-zYBM4uvZPuunpcr7bQeRgBaojVsKo_gkeyJyA4,12639
477
- odoo_addon_openupgrade_scripts-17.0.1.0.1.4.dist-info/METADATA,sha256=5Z2_a5Rrt2JlyqFZcy7ATfpLsBTomm4gGo9gZwNEXsc,3784
478
- odoo_addon_openupgrade_scripts-17.0.1.0.1.4.dist-info/WHEEL,sha256=8Rd4enx1PCuyDWP4SABqO5Fv8rpaknqp3VzjoFFLa6c,83
479
- odoo_addon_openupgrade_scripts-17.0.1.0.1.4.dist-info/top_level.txt,sha256=QE6RBQ0QX5f4eFuUcGgU5Kbq1A_qJcDs-e_vpr6pmfU,4
480
- odoo_addon_openupgrade_scripts-17.0.1.0.1.4.dist-info/RECORD,,
482
+ odoo_addon_openupgrade_scripts-17.0.1.0.1.8.dist-info/METADATA,sha256=kgA8ffpU6YEm-_HJsFp4Zs0j7OqQvTwMuKMzPpLMT5E,3784
483
+ odoo_addon_openupgrade_scripts-17.0.1.0.1.8.dist-info/WHEEL,sha256=9fEMia4zL7ZuZbnCOrcYogUhmn4XFIVaJ8G4YGI31xc,81
484
+ odoo_addon_openupgrade_scripts-17.0.1.0.1.8.dist-info/top_level.txt,sha256=QE6RBQ0QX5f4eFuUcGgU5Kbq1A_qJcDs-e_vpr6pmfU,4
485
+ odoo_addon_openupgrade_scripts-17.0.1.0.1.8.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: Whool 1.0.1
2
+ Generator: Whool 1.2
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
5
5