Hello,
How can i make edit and delete button invisible for users after request has been created and submitted?
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.
| 相關帖文 | 回覆 | 瀏覽次數 | 活動 | |
|---|---|---|---|---|
|
1
6月 20
|
4260 | |||
|
0
6月 20
|
4201 | |||
|
1
6月 21
|
5140 | |||
|
1
3月 21
|
5260 | |||
|
0
1月 21
|
3482 |
1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.
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