Перейти к содержимому
Меню
Чтобы взаимодействовать с сообществом, необходимо зарегистрироваться.
Этот вопрос был отмечен
2 Ответы
3995 Представления

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
2756
0
июн. 20
2505
1
июн. 21
3644
1
мар. 21
3250
0
янв. 21
2027