Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
1 Rispondi
5389 Visualizzazioni

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

Avatar
Abbandona

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

Risposta migliore

Hello,

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

Thanks,

shivoham.odoo@gmail.com

Avatar
Abbandona
Post correlati Risposte Visualizzazioni Attività
1
mar 15
7430
1
ott 24
69890
1
mag 25
4542
2
dic 23
26374
1
ott 21
10017