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.


Create a relation between project and sale

Francesco OpenCode
on 2/19/13, 2:15 PM 2,912 views

There is a module that create a relation between project and sale orders?

What do you want to do with your relation?

Bonnet Denis
on 3/20/13, 1:06 PM

What is the nature of relation you wish to build with your tables, although there are three types of relations we can create in openerp with any two tables

Abhishek H Menon
on 9/11/13, 9:43 AM
On 9/10/13, 8:24 AM

You can connect may sales order to one analytic account wich is a contract for a project. See this https://accounts.openerp.com/forum/Help-1/question/24081

Abhishek H Menon
On 9/11/13, 9:59 AM
    from osv import fields,osv
class first_model(osv.osv):

class second_model(osv.osv):
    _columns= {

for creating a one2many field you have to create a many2one inverse relationship, thats why there in the second_model, a many2onefield is defined. And you should follow the order of definitions of both tables and you will get the result


Ray Carnes

--Ray Carnes--
| 9 7 9
Greater Los Angeles, United States
--Ray Carnes--

Senior Odoo Analyst

OpenERP 6.1, 7.0 and Odoo 8.0, 9.0 (Since 2012)

Completed Functional and Technical Training.

Major Skills:

  • Needs Discovery and Requirements Analysis;

  • Function and Technical Specifications;

  • Project Planning;

  • Prototyping and Proof of concepts;

  • Data migration;

  • Configuration & Customization (UI and modules);

  • Integration - data, business logic and service levels;

  • Training and Knowledge transfer;

  • Go Live support;

  • Help desk;

  • Version Migration.

I have over 20 years of experience empowering and enabling users with enterprise information systems that make a real and measurable difference in their ability to proactively manage their businesses and organizations. 

Ray Carnes
On 2/19/13, 10:29 PM

The project_mrp module creates tasks on a project for a Sales Order with a compatible contract assigned to it.

"This module is used to automatically create tasks based on different procurements: sales order, manufacturing order, etc. It is mainly used to invoices services based on tasks automatically created by sales orders."

This is also available with version 7.0.

It can be found in the list of modules to install (ie: already comes with the software).

This module it's not for my problem. I need just a relaton field (like o2m) to connect a project to various sale order.

Francesco OpenCode
on 2/20/13, 4: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: 2/19/13, 2:15 PM
Seen: 2912 times
Last updated: 3/16/15, 8:10 AM