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

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
6865
1
жовт. 24
69065
1
трав. 25
4076
2
груд. 23
25594
1
жовт. 21
9475