跳至内容
菜单
此问题已终结

Hello, 


How can i make edit and delete button invisible for users after request has been created and submitted?

形象
丢弃

You can override (create,delete and write) method and raise validation to prevent users to delete or create record.

Reference: http://learnopenerp.blogspot.com/2017/11/how-to-override-odoo-functions.html

最佳答案

What about setting a flag like submitted=True/False? You can set it in controller and check it on the website.

形象
丢弃
相关帖文 回复 查看 活动
1
6月 20
2755
0
6月 20
2505
1
6月 21
3644
1
3月 21
3249
0
1月 21
2027