Commit 50bc045
committed
[FIX] records: allow change of comodel for comp dep fields
When replacing refereces by batch, the assertion that
the model source == model dest is unique for company
dependent fields, other indirect references get their
model updated in this case.
So we can remove the assertion and change the comodel
for jsonb company dependent fields too.
closes #160
Signed-off-by: Christophe Simonis (chs) <[email protected]>1 parent b5e03e1 commit 50bc045
1 file changed
+36
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1479 | 1479 | | |
1480 | 1480 | | |
1481 | 1481 | | |
1482 | | - | |
| 1482 | + | |
| 1483 | + | |
| 1484 | + | |
| 1485 | + | |
| 1486 | + | |
| 1487 | + | |
| 1488 | + | |
| 1489 | + | |
| 1490 | + | |
1483 | 1491 | | |
1484 | 1492 | | |
1485 | 1493 | | |
| |||
1504 | 1512 | | |
1505 | 1513 | | |
1506 | 1514 | | |
| 1515 | + | |
| 1516 | + | |
| 1517 | + | |
| 1518 | + | |
| 1519 | + | |
| 1520 | + | |
| 1521 | + | |
| 1522 | + | |
| 1523 | + | |
| 1524 | + | |
| 1525 | + | |
| 1526 | + | |
| 1527 | + | |
| 1528 | + | |
| 1529 | + | |
| 1530 | + | |
| 1531 | + | |
| 1532 | + | |
| 1533 | + | |
| 1534 | + | |
| 1535 | + | |
| 1536 | + | |
| 1537 | + | |
| 1538 | + | |
| 1539 | + | |
| 1540 | + | |
| 1541 | + | |
1507 | 1542 | | |
1508 | 1543 | | |
1509 | 1544 | | |
| |||
0 commit comments