I want to hide all products that are not checked. for example:- I have a checkbox button in product.template model and i want to hide hide all those products that are unchecked.
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ờ
2
Trả lời
5401
Lượt xem
Look this
https://www.odoo.com/fr_FR/forum/aide-1/question/understanding-openerp-domain-filter-58405
If the answer is correct, tell me
I have solved by adding domain field in action window by following code:-
<record id="action_product_pack_view" model="ir.actions.act_window">
<field name="name">product pack</field>
<field name="type">ir.actions.act_window</field>
<field name="res_model">product.template</field>
<field name="view_type">form</field>
<field name="view_mode">kanban,tree,form</field>
<field name="domain">[('is_pack','=',True)]</field>
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 | |
---|---|---|---|---|
|
8
thg 12 19
|
7105 | ||
|
2
thg 9 23
|
4945 | ||
Remove "add an item"
Đã xử lý
|
|
12
thg 10 23
|
36020 | |
|
1
thg 4 23
|
5347 | ||
|
0
thg 10 18
|
2872 |