Overslaan naar inhoud
Menu
Je moet geregistreerd zijn om te kunnen communiceren met de community.
Deze vraag is gerapporteerd
1 Beantwoorden
9035 Weergaven

Hi guys I have a problem I want to filter some users if they have premium acc or not.

<record id="n_associados_new" model="ir.actions.act_window"> <field name="name">Ficha de Não Sócio</field> <field name="res_model">res.partner</field> <field name="view_type">form</field> <field name="view_mode">kanban,tree,form</field> <field name="help" type="html"> <field name="gs_isSocio" filter_domain="['|', ('gs_isSocio','True')]"/>

</field> </record>

this dont work <field name="gs_isSocio" filter_domain="['|', ('gs_isSocio','True')]"/>

What I am doing wrong?

Avatar
Annuleer
Auteur Beste antwoord

Thanks any way I get it.(the field is a selection)

I have to do this <field name="domain">[('status','=','morto') ]</field>

before this

field name="help" type="html">

and after this

<field name="view_mode">kanban,tree,form</field>

thx

Avatar
Annuleer
Gerelateerde posts Antwoorden Weergaven Activiteit
3
jan. 24
16458
1
sep. 21
3603
5
sep. 20
12902
2
mei 20
5922
0
nov. 19
4805