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
- Contabilidad
- Inventario
- PoS
- Project
- MRP
Se marcó esta pregunta
2
Respuestas
5300
Vistas
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>
¿Le interesa esta conversación? ¡Participe en ella!
Cree una cuenta para poder utilizar funciones exclusivas e interactuar con la comunidad.
InscribirsePublicaciones relacionadas | Respuestas | Vistas | Actividad | |
---|---|---|---|---|
|
8
dic 19
|
7002 | ||
|
2
sept 23
|
4808 | ||
Remove "add an item"
Resuelto
|
|
12
oct 23
|
35915 | |
|
1
abr 23
|
5221 | ||
|
0
oct 18
|
2814 |