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 need wherein I need to access values that are in another model (table) from a view which is tied to a different model (table).
For example I have a model called metals.metals and another model called chemical.properties.
Now when a view tied to chemical.properties is loaded based on some condition I need to access value of a field (column) that is in metals.metals as using domain attribute in field.
I have been trying to do this for two days now but without any success.
Please guide me as to how to achieve this.
I forgot to mention that chemical.properties view will opened from metal.metal view and when this view is opened I need to read the currently loaded values in metal.metal view which I think we should be able to read values that are currently load in the view using for example something like this metal.metal.id. But this is not working. :(
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.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: 5/9/13, 5:31 AM|
|Seen: 2890 times|
|Last updated: 3/16/15, 8:10 AM|