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
- 회계
- 재고 관리
- PoS
- Project
- MRP
신고된 질문입니다
2
답글
5544
화면
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>
관련 게시물 | 답글 | 화면 | 활동 | |
---|---|---|---|---|
|
8
12월 19
|
7223 | ||
|
2
9월 23
|
5098 | ||
Remove "add an item"
해결 완료
|
|
12
10월 23
|
36151 | |
|
1
4월 23
|
5556 | ||
|
0
10월 18
|
2975 |