Commit f6ad930
[FIX] util.remove_field: keep field info
When removing a field, we can now keep the tracking as 'field_id' is not
required anymore and tracking model holds a 'fields_info' column to keep
removed field information.
This globally matches the behavior implemented at `IrModelField.unlink()`
as done in odoo/odoo#124182 . Note that tracking sequence is lost as it is
not stored in DB (it is a field parameter available in registry) but it
seems like an acceptable trade-off.
Task-3345979
Part of odoo/upgrade#5239
Signed-off-by: Christophe Simonis (chs) <chs@odoo.com>1 parent 41f0ce9 commit f6ad930
1 file changed
+28
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
174 | 174 | | |
175 | 175 | | |
176 | 176 | | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
177 | 205 | | |
178 | 206 | | |
179 | 207 | | |
| |||
0 commit comments