Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie

hello, i have kind of problem understanding access rights and maybe an issue resolving this, i'v created acces right for my model "tg_quart" , and add a record rule to the same model so that the user can't edit when the state field is not equal to 'draft', but i want that the user can leave a message or note (in the chatter section) to other in case he found somthing not right in the data,  but that not possible in this case as long as the record rules is there and preventing it.
here the code :

ir.model.access.csv

access_exploitation_tg_quart_dr,exploitation.tg_quart,exploitation.model_tg_quart,exploitation.group_tg_data_prd_report,1,1,1,0

Modifier seulment dans etats draft

[('state', '=','draft')]





is there anyone who had this kind of issue and have a solution??

Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
0
lip 21
1613
1
gru 22
3086
0
wrz 21
78
2
paź 20
8082