Commit aa0ce79
committed
[IMP] product_cost_security: hide standard_price column in product tree views
Adds the 'product_cost_security.group_product_cost' group restriction
to the 'standard_price' field in both product.product and
product.template tree views.
This ensures that users without the explicit cost permission cannot
visualize the cost column when triggering the "Search More" popup from
sale orders or when accessing the default list views, strictly enforcing
the visibility criteria.1 parent c01c6d7 commit aa0ce79
1 file changed
Lines changed: 24 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
16 | 40 | | |
0 commit comments