Odoo Help

2

1
5 Answers
4
Avatar

Zbik Poland

--Zbik--
12715
| 7 6 9
Łódź, Poland
--Zbik--


Zbik Poland
2/4/15, 8:06 AM

Try this:

domain = [('reservation_id', 'in', production.move_lines.ids)]

3 Comments
John United States
2/4/15, 8:12 AM

This works! Could you explain this to me? In looking at other domains and (obviously misreading the ORM documentation), I thought that my syntax was correct.

Zbik Poland
2/4/15, 8:19 AM

https://media.readthedocs.org/pdf/odoo-new-api-guide-line/latest/odoo-new-api-guide-line.pdf

John United States
2/4/15, 8:22 AM

Ah, I see! Thank you.

0
Yoromang Jatta Gambia
7/26/18, 11:30 AM

This Works. for me

scores = results.search([('category', '=', 'Division 3')])
try this
domain =

domain = ([('reservation_id', 'in', production.move_lines.ids)])


Ask a Question
Writer
200
John
Tags
Keep Informed
1 follower(s)
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