Odoo Help

1

Why does domain didn't work for xml and python code?

By
Anirudh Lou
on 12/3/14, 3:24 AM 606 views

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!

There can be various of reasons Anirudh. I would suggest that you put forward your specific case in more details.

Ivan
on 12/3/14, 3:49 AM

Provide your scenario with code

Atchuthan - Technical Consultant, Sodexis Inc
on 12/3/14, 7:17 AM
2

Akhil P Sivan

--Akhil P Sivan--
3940
| 5 3 7
Kochi, India
--Akhil P Sivan--

Interested in exploring Odoo both technically & functionality wise.

email-id : akhilpsivan01@gmail.com

Akhil P Sivan
On 12/3/14, 9:23 AM

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)].

About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

Register

Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

3 follower(s)

Stats

Asked: 12/3/14, 3:24 AM
Seen: 606 times
Last updated: 3/16/15, 8:10 AM