跳至内容
菜单
此问题已终结
1 回复
1741 查看

Hello

I am using odoo 16. I creates an access right for a certain group to have the permission only to read and create, without write or unlink. because I want that kind of user to only read and create new records without updating the old ones.

The problem is that this user cannot see the save button and cannot save the record.

Please can someone help me with this. any help will be appreciated. Thank you

形象
丢弃
最佳答案

Hi,

As the form is auto saved in odoo 16, you dont need to press the save button, if you exit from the screen or change the screen the created data will be saved in the database.

Here the problem will be discard button in such forms, there is a issue ticket for it:  https://github.com/odoo/odoo/issues/121337

Thanks

形象
丢弃
编写者

Hi Niyas,
Thank you for your answer, I really appreciate it, but I am afraid it didn't work for me, the auto save of odoo 16 didn't help me because when I navigate to another view to auto save it, it didn't autosave, instead a message is raised telling me that I am not allowed to modify in the model, although the log in user is in the group that has the right to read and create on that model, as I said above in my post, and it gives me the option to stay here or discard changes!

Here is the raised message:
Oh snap!
You are not allowed to modify 'Project' (project.project) records.

This operation is allowed for the following groups:
- Project/Administrator
- Sales on Project and task/Sales manager on Project and Task

Contact your administrator to request access if necessary.

Any help will be appreciated.