Skip ke Konten
Menu
Pertanyaan ini telah diberikan tanda
2 Replies
4316 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
3090
0
Jun 20
2916
1
Jun 21
3959
1
Mar 21
3648
0
Jan 21
2392