Odoo Help

Welcome!

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.

0

Customers Contract

By
dave ellis
on 2/28/13, 11:22 AM 1,749 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.

Thanks

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
0
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 community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

0 follower(s)

Stats

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