Skip to Content
Меню
Вам необхідно зареєструватися, щоб взаємодіяти зі спільнотою.
Це запитання позначене
2 Відповіді
3987 Переглядів

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
2754
0
черв. 20
2505
1
черв. 21
3640
1
бер. 21
3249
0
січ. 21
2020