Is it possible to have multiple views/forms in a workflow being displayed depending on the state the workflow is in? If so how can i achieve that?
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ờ
Hi,
In your form view you can use the attribute attr={'invisible': [('state', op, value)]}
Yes, but i actually wanted to load multiple forms not make some contents invisible since they are hugely different form one another
The probleme is the form view are load with the loading of the action. You may use the fields_view_get to choose the good view. But you must reload the action when your state changed. If you click on the button it is easy, but if your are already on the view and another user change the state, your view can be reloaded
Only one user can change the state at a time so, that isn't a problem. but what happens when the state changes and the user returns or some other users tries to view it, do i use the fields_view_get for the form view or the tree view?
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 10 24
|
69007 | ||
|
2
thg 2 23
|
1969 | ||
|
2
thg 12 23
|
25553 | ||
|
1
thg 10 21
|
9446 | ||
|
2
thg 9 15
|
5596 |