コンテンツへスキップ
メニュー
この質問にフラグが付けられました
1 返信
4955 ビュー

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

アバター
破棄
関連投稿 返信 ビュー 活動
1
3月 15
6877
1
10月 24
69083
1
5月 25
4114
2
12月 23
25625
1
10月 21
9490