Odoo Help


Customers Contract

dave ellis
on 2/28/13, 11:22 AM 1,930 views

I want to be able to show the contracts assigned to the customer as a page (tab) at the bottom. Existing ones are contacts etc.

I already have the contract module installed, which already links to customers. How do I now show these as rows of information like contacts etc. So a user can see the contracts currently on the customers screen.

Also if I create a new contract and its within the contract period, is there any way I can update a new bolean field on the main company page. So that they know that there is a contract, they then can view the contract or continue working on the client.

I am currently using the "developer mode" to create the new page. Any steps through there for the new page would be very useful.


Any way to trigger an update or set value on change of a specific value with the contract screen? Say I add in a new line, with a date that is more than todays day. I can trigger an update, set bolean field equals true on customer (company record) ?

dave ellis
on 6/10/13, 11:35 AM
Erdem Uney
On 3/8/14, 12:22 AM
  1. To create a new tab go to Manage Views in the Debug menu
  2. Add a new page element (for the tab)
  3. Add a new field under that which would be one2many field relation to the customer field in the contracts. That is object account.analytic.account and field partner_id.

This will filter the contracts that are related to the customer. You can add domain to filter by state or date, etc.

~ 7Gates Interactive Technologies ~ 7gates.co ~ Istanbul - TR

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

0 follower(s)


Asked: 2/28/13, 11:22 AM
Seen: 1930 times
Last updated: 3/16/15, 8:10 AM