跳至內容
選單
此問題已被標幟
2 回覆
3991 瀏覽次數

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.

頭像
捨棄
相關帖文 回覆 瀏覽次數 活動
1
6月 20
2754
0
6月 20
2505
1
6月 21
3642
1
3月 21
3249
0
1月 21
2026