Skip ke Konten
Menu
Pertanyaan ini telah diberikan tanda
1 Balas
4399 Tampilan

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
Buang

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

Jawaban Terbai

Hello,

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

Thanks,

shivoham.odoo@gmail.com

Avatar
Buang
Post Terkait Replies Tampilan Aktivitas
1
Mar 15
6160
1
Okt 24
67995
1
Mei 25
3592
2
Des 23
24507
1
Okt 21
8787