Bem vindo!
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!
Fique Informado
Sobre esta Comunidade
Moderation Tools
Ferramentas de Pergunta
Estatísticas
Perguntada: 17/03/23 16:48 |
Visto: 304 vezes |
Última atualização: 17/03/23 16:48 |