You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: openupgrade_scripts/scripts/base/19.0.1.3/upgrade_analysis_work.txt
+117Lines changed: 117 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -45,77 +45,194 @@ base / ir.actions.server / child_ids (many2many) : type i
45
45
# DONE: set from m2m table in post-migration
46
46
47
47
base / ir.actions.server / crud_model_id (many2one) : now a function
48
+
49
+
# NOTHING TO DO: same computation function
50
+
48
51
base / ir.actions.server / evaluation_type (selection) : selection_keys added: [sequence] (most likely nothing to do)
52
+
53
+
# NOTHING TO DO
54
+
49
55
base / ir.actions.server / group_ids (many2many) : NEW relation: res.groups
50
56
base / ir.actions.server / groups_id (many2many) : DEL relation: res.groups
57
+
58
+
# DONE: renamed groups_id to group_ids in pre-migration
59
+
51
60
base / ir.actions.server / html_value (html) : NEW
61
+
62
+
# DONE: filled from value in post-migration
63
+
52
64
base / ir.actions.server / ir_cron_ids (one2many) : NEW relation: ir.cron
65
+
66
+
# NOTHING TO DO: inverse of ir.cron#ir_actions_server_id
67
+
53
68
base / ir.actions.server / model_name (char) : not stored anymore
69
+
70
+
# NOTHING TO DO
71
+
54
72
base / ir.actions.server / parent_id (many2one) : NEW relation: ir.actions.server
73
+
74
+
# DONE: see above for child_ids
75
+
55
76
base / ir.actions.server / sequence_id (many2one) : NEW relation: ir.sequence
77
+
78
+
# NOTHING TO DO: new field for evaluation_type == 'sequence'
79
+
56
80
base / ir.actions.server / state (selection) : selection_keys added: [object_copy] (most likely nothing to do)
57
81
base / ir.actions.server / value_field_to_show (selection): selection_keys added: [html_value, sequence_id] (most likely nothing to do)
82
+
83
+
# NOTHING TO DO
84
+
58
85
base / ir.actions.server.history / action_id (many2one) : NEW relation: ir.actions.server, required
59
86
base / ir.actions.server.history / code (text) : NEW
87
+
88
+
# NOTHING TO DO: v19 keeps a history of code changes
89
+
60
90
base / ir.cron / _order : _order is now 'cron_name, id' ('cron_name')
91
+
92
+
# NOTHING TO DO
93
+
61
94
base / ir.cron / child_ids (many2many) : type is now 'one2many' ('many2many')
95
+
96
+
# NOTHING TO DO: inherited from ir.actions.server, handled there
97
+
62
98
base / ir.cron.trigger / call_at (datetime) : now required
63
99
base / ir.cron.trigger / cron_id (many2one) : now required
100
+
101
+
# NOTHING TO DO: old records with missing fields will be cleaned up eventually
102
+
64
103
base / ir.exports / _order : _order is now 'name, id' ('name')
104
+
105
+
# NOTHING TO DO
106
+
65
107
base / ir.filters / user_id (many2one) : DEL relation: res.users
66
108
base / ir.filters / user_ids (many2many) : NEW relation: res.users
109
+
110
+
# DONE: openupgrade.m2o_to_x2m in post-migration
111
+
67
112
base / ir.mail_server / smtp_encryption (selection) : selection_keys added: [ssl_strict, starttls_strict] (most likely nothing to do)
113
+
114
+
# NOTHING TO DO
115
+
68
116
base / ir.model / abstract (boolean) : NEW
69
117
base / ir.model / fold_name (char) : NEW
118
+
119
+
# NOTHING TO DO: filled by orm
120
+
70
121
base / ir.model.fields / _order : _order is now 'name, id' ('name')
71
122
base / ir.model.fields / complete_name (char) : DEL
123
+
124
+
# NOTHING TO DO
125
+
72
126
base / ir.model.fields / translate (boolean) : selection_keys is now '['html_translate', 'standard', 'xml_translate']' ('False')
73
127
base / ir.model.fields / translate (boolean) : type is now 'selection' ('boolean')
74
128
75
129
# DONE: set column to NULL where it was FALSE in openupgrade_framework, because migration scripts are too late for it
76
130
77
131
base / ir.module.category / _order : _order is now 'sequence, name, id' ('name')
132
+
133
+
# NOTHING TO DO: we want to have the ordering by sequence as provided by Odoo
134
+
78
135
base / ir.module.category / privilege_ids (one2many) : NEW relation: res.groups.privilege
136
+
137
+
# NOTHING TO DO: new concept
138
+
79
139
base / ir.profile / cpu_duration (float) : NEW
80
140
base / ir.profile / others (text) : NEW
141
+
142
+
# NOTHING TO DO: new funcitonality, no way of generating this data
143
+
81
144
base / ir.sequence / _order : _order is now 'name, id' ('name')
145
+
146
+
# NOTHING TO DO
147
+
82
148
base / ir.ui.menu / group_ids (many2many) : NEW relation: res.groups
83
149
base / ir.ui.menu / groups_id (many2many) : DEL relation: res.groups
84
150
base / ir.ui.view / group_ids (many2many) : NEW relation: res.groups
85
151
base / ir.ui.view / groups_id (many2many) : DEL relation: res.groups
152
+
153
+
# DONE: renamed groups_id to group_ids in pre-migration
154
+
86
155
base / ir.ui.view.custom / _order : _order is now 'create_date desc, id desc' ('create_date desc')
156
+
157
+
# NOTHING TO DO
158
+
87
159
base / properties.base.definition / properties_definition (properties_definition): NEW
88
160
base / properties.base.definition / properties_field_id (many2one): NEW relation: ir.model.fields, required
161
+
162
+
# NOTHING TO DO: filled by orm
163
+
89
164
base / report.layout / _order : _order is now 'sequence, id' ('sequence')
90
165
base / res.bank / _order : _order is now 'name, id' ('name')
91
166
base / res.company / company_registry_placeholder (char): previously in module account
167
+
168
+
# NOTHING TO DO
169
+
92
170
base / res.company / mobile (char) : DEL
171
+
172
+
# NOTHING TO DO: possibly some oca module will pick this up again
173
+
93
174
base / res.country / _order : _order is now 'name, id' ('name')
175
+
176
+
# NOTHING TO DO: possibly some oca module will pick this up again
177
+
94
178
base / res.country.group / code (char) : NEW
179
+
180
+
# NOTHING TO DO: filled in noupdate_changes.xml
181
+
95
182
base / res.country.state / _order : _order is now 'code, id' ('code')
96
183
base / res.currency.rate / _order : _order is now 'name desc, id' ('name desc')
97
184
base / res.groups / _order : _order is now 'privilege_id, sequence, name, id' ('name')
185
+
186
+
# NOTHING TO DO
187
+
98
188
base / res.groups / category_id (many2one) : DEL relation: ir.module.category
189
+
190
+
# NOTHING TO DO: code provided groups will set their own privilege if applicable, manually created ones will have to be assigned to whatever privilege makes sense
191
+
99
192
base / res.groups / color (integer) : DEL
193
+
194
+
# NOTHING TO DO
195
+
100
196
base / res.groups / implied_by_ids (many2many) : NEW relation: res.groups
197
+
198
+
# NOTHING TO DO: inverse of existing relation
199
+
101
200
base / res.groups / privilege_id (many2one) : NEW relation: res.groups.privilege
201
+
202
+
# NOTHING TO DO: new concept
203
+
102
204
base / res.groups / sequence (integer) : NEW
205
+
206
+
# NOTHING TO DO
207
+
103
208
base / res.groups / user_ids (many2many) : NEW relation: res.users
104
209
base / res.groups / users (many2many) : DEL relation: res.users
210
+
211
+
# DONE: renamed field in pre-migration
212
+
105
213
base / res.groups.privilege / category_id (many2one) : NEW relation: ir.module.category
106
214
base / res.groups.privilege / description (text) : NEW
107
215
base / res.groups.privilege / group_ids (one2many) : NEW relation: res.groups
108
216
base / res.groups.privilege / name (char) : NEW required, translate
109
217
base / res.groups.privilege / placeholder (char) : NEW hasdefault: default
110
218
base / res.groups.privilege / sequence (integer) : NEW hasdefault: default
219
+
220
+
# NOTHING TO DO: new concept
221
+
111
222
base / res.lang / date_format (char) : selection_keys is now 'function' ('False')
112
223
base / res.lang / date_format (char) : type is now 'selection' ('char')
113
224
base / res.lang / grouping (char) : selection_keys is now '['[3,0]', '[3,2,0]']' ('False')
114
225
base / res.lang / grouping (char) : type is now 'selection' ('char')
115
226
base / res.lang / short_time_format (char) : DEL required
116
227
base / res.lang / time_format (char) : selection_keys is now '['%H:%M:%S', '%I:%M:%S %p']' ('False')
117
228
base / res.lang / time_format (char) : type is now 'selection' ('char')
229
+
230
+
# DONE: copy original values to legacy column, map values not in selection to default value
231
+
118
232
base / res.partner / mobile (char) : DEL
233
+
234
+
# NOTHING TO DO: possibly some oca module will pick this up again
235
+
119
236
base / res.partner / properties (properties) : NEW hasdefault: compute
120
237
base / res.partner / title (many2one) : DEL relation: res.partner.title
121
238
base / res.partner.bank / clearing_number (char) : NEW
0 commit comments