Commit 3bf1e37
[FIX] res_partner_operating_unit: operating_unit_ids group negation
Ensures `operating_unit_ids` can be used in `domain`
despite being visible only to users in the `operating_unit.group_multi_operating_unit` group.
Fixes:
```
Field 'operating_unit_ids' used in domain of <field name="property_product_pricelist"> (
[
'|',
('operating_unit_id', 'in', operating_unit_ids),
('operating_unit_id', '=', False),
]
) is restricted to the group(s) operating_unit.group_multi_operating_unit.
```1 parent 8103f76 commit 3bf1e37
1 file changed
Lines changed: 10 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
17 | 22 | | |
18 | 23 | | |
19 | 24 | | |
| |||
28 | 33 | | |
29 | 34 | | |
30 | 35 | | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
31 | 41 | | |
32 | 42 | | |
33 | 43 | | |
| |||
0 commit comments