Welcome!
This community is for professionals and enthusiasts of our products and services.
Share and discuss the best content and new marketing ideas, build your professional profile and become a better marketer together.
Filtro padrão no contexto da visão
Para carregar um filtro padrão em visões adiciona-se ao nome do filtro "search_default_"
<search>
<filter string="String" name="filter_name" domain="[('fieldname', 'operator', value)]"/>
</search>
no action menu:
<record id="xml_id" model="ir.actions.act_window">
<field name="context">{'search_default_filter_name': 1}</field>
</record>
Your Answer
Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!
Keep Informed
About This Community
Moderation Tools
Question tools
Stats
Asked: 3/17/23, 4:48 PM |
Seen: 303 times |
Last updated: 3/17/23, 4:48 PM |