Skip ke Konten
Menu
Pertanyaan ini telah diberikan tanda
2 Replies
4019 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
2764
0
Jun 20
2537
1
Jun 21
3650
1
Mar 21
3254
0
Jan 21
2041