Hello every one, i want to ask why does domain didn't work on my xml and i tried to put it on my python class field but still it didn't work? Can anyone answer pls!
Этот вопрос был отмечен
1
Ответить
5866
Представления
Hi Anirudh,
Domain should work in both xml and py file. Please check the syntax again. Make sure it of the form domain =[('field_name','operator',value)]. For example it should be like, domain="[('responsible_id', '=', uid)].
Не оставайтесь в стороне – присоединяйтесь к обсуждению!
Создайте аккаунт сегодня, чтобы получить доступ к эксклюзивным функциям и стать частью нашего замечательного сообщества!
Регистрация
There can be various of reasons Anirudh. I would suggest that you put forward your specific case in more details.
Provide your scenario with code