related selections

Asked by Jim Norman

I have two objects which are related (e.g. object 2 is many2one with object 1).

I want to have selections on both objects. Selection of the first object would change the selections available in the second object. I cannot seem to get this working, no matter what I do. Are there any suggestions showing actual code and xml?

Question information

Language:
English Edit question
Status:
Answered
For:
Odoo Server (MOVED TO GITHUB) Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Jay Vora (Serpent Consulting Services) (jayvora) said :
#1

Hello Jim,

You can have selection box for many2one and that is the field many2one.
But for the object in inverse relation,it has to be one2many.

Describe your aim in example.

It will be easier for readers to help you out.

Thanks.

Can you help with this problem?

Provide an answer of your own, or ask Jim Norman for more information if necessary.

To post a message you must log in.