Odoo is the world's easiest all-in-one management software. It includes hundreds of business apps:
CRM | e-Commerce | Accounting | Inventory | PoS | Project management | MRP | etc.
I have a test company created with 2 contacts.
I would like that in my module when I select the Company (marked is company) that in another field it only shows contact for that company
In developer mode, I found contacts to have name "child_ids" and I thought maybe if I added this:
<field name="res_partner_id" domain="[('child_ids', '=', True)]" />
it would work:
However it gives error:
ProgrammingError: operator does not exist: integer = boolean
LINE 1: SELECT "parent_id" FROM "res_partner" WHERE "id" IN (true)
HINT: No operator matches the given name and argument type(s). You might need to add explicit type casts.
Any ideas on how to fix this?
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
|Asked: 6/10/15, 3:34 AM|
|Seen: 1446 times|
|Last updated: 6/11/15, 2:59 AM|