İçereği Atla
Menü
Bu soru işaretlendi
1 Cevapla
3774 Görünümler

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
Vazgeç
Üretici En İyi Yanıt

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
Vazgeç
İlgili Gönderiler Cevaplar Görünümler Aktivite
3
Eyl 21
4974
0
Kas 21
2417
8
Mar 20
3447
0
Eki 19
3208
0
Eki 19
3725