Hello,
How can i make edit and delete button invisible for users after request has been created and submitted?
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
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.
สร้างบัญชีวันนี้เพื่อเพลิดเพลินไปกับฟีเจอร์พิเศษและมีส่วนร่วมกับคอมมูนิตี้ที่ยอดเยี่ยมของเรา!
ลงชื่อRelated Posts | ตอบกลับ | มุมมอง | กิจกรรม | |
---|---|---|---|---|
|
1
มิ.ย. 20
|
2784 | ||
|
0
มิ.ย. 20
|
2564 | ||
|
1
มิ.ย. 21
|
3690 | ||
Odoo 11 Hide EDIT & DELETE
แก้ไขแล้ว
|
|
1
มี.ค. 21
|
3316 | |
|
0
ม.ค. 21
|
2086 |
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