Hello,
How can i make edit and delete button invisible for users after request has been created and submitted?
Hello,
How can i make edit and delete button invisible for users after request has been created and submitted?
What about setting a flag like submitted=True/False? You can set it in controller and check it on the website.
Creează-ți un cont astăzi pentru a beneficia de funcții exclusive și a interacționa cu minunata noastră comunitate!
Înscrie-te| Postări similare | Răspunsuri | Vizualizări | Activitate | |
|---|---|---|---|---|
|
1
iun. 20
|
4257 | |||
|
0
iun. 20
|
4196 | |||
|
1
iun. 21
|
5137 | |||
|
Odoo 11 Hide EDIT & DELETE
Rezolvat
|
1
mar. 21
|
5255 | ||
|
0
ian. 21
|
3479 |
1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.
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