Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
2 ตอบกลับ
4057 มุมมอง

Hello, 


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

อวตาร
ละทิ้ง

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

คำตอบที่ดีที่สุด

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