Skip to Content
Menu
You need to be registered to interact with the community.
This question has been flagged
2 Odgovori
3986 Prikazi

Hello, 


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

Avatar
Opusti

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

Best Answer

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

Avatar
Opusti
Related Posts Odgovori Prikazi Aktivnost
1
jun. 20
2754
0
jun. 20
2504
1
jun. 21
3640
1
mar. 21
3249
0
jan. 21
2020