İçereği Atla
Menü
Bu soru işaretlendi
731 Görünümler

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
Vazgeç
İlgili Gönderiler Cevaplar Görünümler Aktivite
0
Tem 21
1611
1
Ara 22
3085
0
Eyl 21
78
2
Eki 20
8082