Commit 69ca39d
committed
[FIX] util/fields: update usage before changing
`update_field_usage` does multiple operations, e.g. adapt domains, that
depend on correctly identifying the model of a field via
`ir_model_fields`. If the rename in `ir_model_fields` is done before
updating the usage of a field the latter cannot be done correctly.
closes #97
Signed-off-by: Christophe Simonis (chs) <[email protected]>ir_model_fields
1 parent 5f83f3a commit 69ca39d
2 files changed
+19
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
1 | 2 | | |
2 | 3 | | |
3 | 4 | | |
| |||
27 | 28 | | |
28 | 29 | | |
29 | 30 | | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
30 | 45 | | |
31 | 46 | | |
32 | 47 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
457 | 457 | | |
458 | 458 | | |
459 | 459 | | |
| 460 | + | |
| 461 | + | |
| 462 | + | |
| 463 | + | |
460 | 464 | | |
461 | 465 | | |
462 | 466 | | |
| |||
568 | 572 | | |
569 | 573 | | |
570 | 574 | | |
571 | | - | |
572 | | - | |
573 | | - | |
574 | | - | |
575 | 575 | | |
576 | 576 | | |
577 | 577 | | |
| |||
0 commit comments