Odoo Help


domain of many2one field

willie ho
on 6/23/15, 2:22 AM 279 views

I am using the domain of many2one field and i want samething like

<field name="field1" widget="selection" domain="[('field2','=',field1)]"/>

field2 is the field in other table which linked by field1

but there is some problem when running this line, how to solve it?

Hello willie, Can you more explain which problem is occur and what you want give brief example for more clearity

Ankit H Gandhi(AHG)
on 6/23/15, 3:46 AM

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

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.


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

1 follower(s)


Asked: 6/23/15, 2:22 AM
Seen: 279 times
Last updated: 6/23/15, 3:46 AM