Odoo Help


how to reference unrelated fields in contract template

Daniel Holden
on 6/30/16, 7:02 AM 747 views

I am using Odoo 8 with the following modules:

1) tko_account_contract_report_template
this allows me to print a report containing the contract content, including a predefined signature.

this allows me to associate ID numbers such as driver's license, health card, Passport number, etc. to each partner.

From within the contract report template I am able to reference fields that are directly associated with the contract such as  

Name: $(partner_id.name)s and Email: $(partner_id.email). These work as expected, no problems at all.

What I would like to be able to do, but don't know how, is to reference other fields in the res.partner.id_category and res_partner_id_number, both fields created by the chricar_partner_id_number module.I am familiar with SQL query language using the JOIN statement to bring together data from various related tables, but do not understand how it works in Odoo.

Any help would be much appreciated.

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

1 follower(s)


Asked: 6/30/16, 7:02 AM
Seen: 747 times
Last updated: 6/30/16, 8:30 AM