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

Hi, is it possible to check a condition and perform some action on form load? what i'm trying to achieve is: I have a few different form views and based on some condition one of them has to be opened from a single, so i was thinking i would link the menu to a particular form and then while opening the menu check the condition and open the other form if the condition is for it otherwise load the form as normal

Аватар
Отменить

Hello ! May be you can create web addon and override some existing JS functions to check your particular object and can perform some actions.

Лучший ответ

Hello,

When you are open any form view form_renderer method call from the js.

Thanks,

shivoham.odoo@gmail.com

Аватар
Отменить
Related Posts Ответы Просмотры Активность
1
мар. 15
6871
1
окт. 24
69073
1
мая 25
4098
2
дек. 23
25614
1
окт. 21
9486