Перейти к содержимому
Меню
Чтобы взаимодействовать с сообществом, необходимо зарегистрироваться.
Этот вопрос был отмечен
566 Представления

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

Аватар
Отменить
Related Posts Ответы Просмотры Активность
0
июл. 21
1484
1
дек. 22
2935
0
сент. 21
78
2
окт. 20
7901