Skip ke Konten
Menu
Pertanyaan ini telah diberikan tanda
2 Replies
4453 Tampilan

Hello, 


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

Avatar
Buang

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

Jawaban Terbai

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

Avatar
Buang
Post Terkait Replies Tampilan Aktivitas
1
Jun 20
3271
0
Jun 20
3097
1
Jun 21
4146
1
Mar 21
3847
0
Jan 21
2548