İçereği Atla
Menü
Bu soru işaretlendi
2 Cevaplar
4116 Görünümler

Hello, 


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

Avatar
Vazgeç

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

En İyi Yanıt

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

Avatar
Vazgeç
İlgili Gönderiler Cevaplar Görünümler Aktivite
1
Haz 20
2864
0
Haz 20
2653
1
Haz 21
3759
1
Mar 21
3411
0
Oca 21
2167