Skip to Content
Meniu
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
Această întrebare a fost marcată
2 Răspunsuri
4018 Vizualizări

Hello, 


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

Imagine profil
Abandonează

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

Cel mai bun răspuns

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

Imagine profil
Abandonează
Related Posts Răspunsuri Vizualizări Activitate
1
iun. 20
2764
0
iun. 20
2537
1
iun. 21
3650
1
mar. 21
3254
0
ian. 21
2041