Commit d3445da
bosd
[FIX] attribute_set: apply restrictive approach to both create and write operations
- Implement whitelist approach for both native attribute creation and updates
- Only allow safe attribute-specific fields for native attributes in both operations
- Prevent modification of underlying ir.model.fields records during native attribute operations
- Ensure consistent behavior between creation and update operations
- Completely eliminate possibility of base field modification errors1 parent 22164e9 commit d3445da
1 file changed
Lines changed: 23 additions & 27 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
510 | 510 | | |
511 | 511 | | |
512 | 512 | | |
513 | | - | |
514 | | - | |
| 513 | + | |
515 | 514 | | |
516 | 515 | | |
517 | | - | |
518 | | - | |
| 516 | + | |
| 517 | + | |
519 | 518 | | |
520 | 519 | | |
521 | | - | |
522 | | - | |
| 520 | + | |
| 521 | + | |
| 522 | + | |
| 523 | + | |
| 524 | + | |
| 525 | + | |
| 526 | + | |
523 | 527 | | |
524 | | - | |
525 | | - | |
526 | 528 | | |
527 | | - | |
| 529 | + | |
528 | 530 | | |
529 | | - | |
530 | | - | |
531 | | - | |
532 | | - | |
533 | | - | |
534 | | - | |
535 | | - | |
536 | | - | |
537 | | - | |
538 | | - | |
539 | | - | |
540 | | - | |
541 | | - | |
542 | | - | |
543 | | - | |
| 531 | + | |
| 532 | + | |
| 533 | + | |
| 534 | + | |
| 535 | + | |
| 536 | + | |
| 537 | + | |
| 538 | + | |
| 539 | + | |
| 540 | + | |
| 541 | + | |
| 542 | + | |
544 | 543 | | |
545 | | - | |
546 | | - | |
547 | | - | |
548 | 544 | | |
549 | 545 | | |
550 | 546 | | |
| |||
0 commit comments