コンテンツへスキップ
メニュー
この質問にフラグが付けられました
1 返信
9048 ビュー

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?

アバター
破棄
著作者 最善の回答

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

アバター
破棄
関連投稿 返信 ビュー 活動
3
1月 24
16470
1
9月 21
3608
5
9月 20
12915
2
5月 20
5928
0
11月 19
4810