Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
791 Visualizzazioni

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??

Avatar
Abbandona
Post correlati Risposte Visualizzazioni Attività
0
lug 21
1669
1
dic 22
3126
0
set 21
78
2
ott 20
8134