Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
2 Odpovědi
4016 Zobrazení

Hello, 


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

Avatar
Zrušit

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

Nejlepší odpověď

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

Avatar
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
1
čvn 20
2762
0
čvn 20
2536
1
čvn 21
3649
1
bře 21
3253
0
led 21
2041