Skip to Content
Меню
Вам необхідно зареєструватися, щоб взаємодіяти зі спільнотою.
Це запитання позначене
1 Відповісти
3902 Переглядів

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. 

Аватар
Відмінити
Автор Найкраща відповідь

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 .

Аватар
Відмінити
Related Posts Відповіді Переглядів Дія
3
вер. 21
5184
0
лист. 21
2524
8
бер. 20
4503
0
жовт. 19
3321
0
жовт. 19
3861