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

I have a one2many field suppose "list_ids" on a from and need to put some filter on that, like there is a filed in my modelA by name field1. Now i want to put a domain filter that field1 is False then it should not be visible otherwise not. But it's not working 


 <field name="list_ids" domain="[('field1','=',False)]" readonly="1"/>


But it's not working, please help. 

Avatar
Annuleer
Auteur Beste antwoord

I found the answer and want to share, it do not work in XML and one2many field, but it worked why you put the same filter in python file at one2many field .

Avatar
Annuleer
Gerelateerde posts Antwoorden Weergaven Activiteit
3
sep. 21
4796
0
nov. 21
2253
8
mrt. 20
3263
0
okt. 19
3084
0
okt. 19
3586