Commit 5df33e7
committed
[IMP] util/records: improve mapping checks when replacing references
We perform some DELETEs in `replace_record_references_batch` as a
cleanup step. Thus it is better to ensure the mapping always change the
id.
Example:
https://github.com/odoo/upgrade-util/blob/dced6e030db111fab9446b323434e4c2e16bdd62/src/util/records.py#L1723
Part-of: #243
Signed-off-by: Christophe Simonis (chs) <chs@odoo.com>1 parent dced6e0 commit 5df33e7
1 file changed
+9
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1458 | 1458 | | |
1459 | 1459 | | |
1460 | 1460 | | |
1461 | | - | |
1462 | | - | |
1463 | | - | |
1464 | 1461 | | |
1465 | 1462 | | |
1466 | 1463 | | |
1467 | 1464 | | |
1468 | 1465 | | |
1469 | 1466 | | |
| 1467 | + | |
| 1468 | + | |
| 1469 | + | |
| 1470 | + | |
| 1471 | + | |
| 1472 | + | |
| 1473 | + | |
| 1474 | + | |
| 1475 | + | |
1470 | 1476 | | |
1471 | | - | |
1472 | | - | |
1473 | 1477 | | |
1474 | 1478 | | |
1475 | 1479 | | |
| |||
0 commit comments