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
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Kế toán
- Tồn kho
- PoS
- Project
- MRP
Câu hỏi này đã bị gắn cờ
1
Trả lời
4979
Lượt xem
Hello,
When you are open any form view form_renderer method call from the js.
Thanks,
shivoham.odoo@gmail.com
Bạn có hứng thú với cuộc thảo luận không? Đừng chỉ đọc, hãy tham gia nhé!
Tạo tài khoản ngay hôm nay để tận hưởng các tính năng độc đáo và tham gia cộng đồng tuyệt vời của chúng tôi!
Đăng kýBài viết liên quan | Trả lời | Lượt xem | Hoạt động | |
---|---|---|---|---|
|
1
thg 3 15
|
6894 | ||
|
1
thg 10 24
|
69107 | ||
|
1
thg 5 25
|
4128 | ||
|
2
thg 12 23
|
25643 | ||
|
1
thg 10 21
|
9510 |
Hello ! May be you can create web addon and override some existing JS functions to check your particular object and can perform some actions.