Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
1 Trả lời
9029 Lượt xem

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?

Ảnh đại diện
Huỷ bỏ
Tác giả Câu trả lời hay nhất

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

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
3
thg 1 24
16458
1
thg 9 21
3602
5
thg 9 20
12901
2
thg 5 20
5920
0
thg 11 19
4804