Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
1 ตอบกลับ
9185 มุมมอง

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

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
3
ม.ค. 24
16675
1
ก.ย. 21
3766
5
ก.ย. 20
13064
2
พ.ค. 20
6157
0
พ.ย. 19
4958