Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
2 Risposte
3985 Visualizzazioni

Hello, 


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

Avatar
Abbandona

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

Risposta migliore

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

Avatar
Abbandona
Post correlati Risposte Visualizzazioni Attività
1
giu 20
2754
0
giu 20
2504
1
giu 21
3640
1
mar 21
3249
0
gen 21
2020