Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
1 ตอบกลับ
4952 มุมมอง

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
6876
1
ต.ค. 24
69083
1
พ.ค. 25
4111
2
ธ.ค. 23
25620
How do I search by country_id in view? แก้ไขแล้ว
1
ต.ค. 21
9490