Odoo Help


This community 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.


How to relation 2 model

Duong Nguyen
on 12/11/15, 8:48 AM 269 views

I have 2 model forecast(id, version ....) and mps (id)

How with its each version will have one list mps ????

i have doubt in your question. there are two table one id FORECAST and other is MPS right if you want belation between this two you can take many2one relation field in FORECAST for MPS. Like: Define This field in FORECAST model 'mps_id': fields.many2one('MPS object name', 'MPS'), If you have any doubt kindly let me know.

on 12/12/15, 2:14 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 community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)


Asked: 12/11/15, 8:48 AM
Seen: 269 times
Last updated: 12/11/15, 8:52 AM