Commit 09d18f5
committed
[IMP] util.delete_unused
Allow to include (some) m2m tables in the search of usage of records.
It can be useful to include m2m when removing records that are expected
to be used as m2m, like tags.
closes #354
Related: odoo/upgrade#8869
Signed-off-by: Christophe Simonis (chs) <chs@odoo.com>1 parent 1ddb691 commit 09d18f5
2 files changed
+25
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1942 | 1942 | | |
1943 | 1943 | | |
1944 | 1944 | | |
| 1945 | + | |
| 1946 | + | |
| 1947 | + | |
| 1948 | + | |
| 1949 | + | |
| 1950 | + | |
| 1951 | + | |
| 1952 | + | |
| 1953 | + | |
| 1954 | + | |
| 1955 | + | |
| 1956 | + | |
| 1957 | + | |
| 1958 | + | |
| 1959 | + | |
| 1960 | + | |
| 1961 | + | |
| 1962 | + | |
1945 | 1963 | | |
1946 | 1964 | | |
1947 | 1965 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
| 52 | + | |
52 | 53 | | |
53 | 54 | | |
54 | 55 | | |
| |||
1282 | 1283 | | |
1283 | 1284 | | |
1284 | 1285 | | |
| 1286 | + | |
| 1287 | + | |
1285 | 1288 | | |
1286 | 1289 | | |
1287 | 1290 | | |
1288 | 1291 | | |
1289 | 1292 | | |
| 1293 | + | |
1290 | 1294 | | |
1291 | 1295 | | |
1292 | 1296 | | |
| |||
1358 | 1362 | | |
1359 | 1363 | | |
1360 | 1364 | | |
| 1365 | + | |
| 1366 | + | |
1361 | 1367 | | |
1362 | 1368 | | |
1363 | 1369 | | |
1364 | 1370 | | |
1365 | 1371 | | |
1366 | | - | |
| 1372 | + | |
1367 | 1373 | | |
1368 | 1374 | | |
1369 | 1375 | | |
| |||
0 commit comments