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
- Apskaita
- Atsarga
- PoS
- Project
- MRP
This question has been flagged
2
Replies
5403
Rodiniai
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>
Enjoying the discussion? Don't just read, join in!
Create an account today to enjoy exclusive features and engage with our awesome community!
RegistracijaRelated Posts | Replies | Rodiniai | Veikla | |
---|---|---|---|---|
|
8
gruod. 19
|
7105 | ||
|
2
rugs. 23
|
4945 | ||
Remove "add an item"
Solved
|
|
12
spal. 23
|
36020 | |
|
1
bal. 23
|
5349 | ||
|
0
spal. 18
|
2872 |