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

How to add partner's phone on Partner Ledger Webkit report?

By
evon_dun
on 12/13/13, 6:35 AM 1,150 views

I want to add partner's phone number along with his name on top, I am able to format the report but I don't understand how to add partner's phone. I don't get how partner's other data will be accessed. The class file has field partner_ids, but how this field is accessed in the mako template! Anyone please help.

in debug mode you can see field names or you can just search Settings->Technical->DB Structure->Models: partner

object.partener_id.phone

tolstoj
on 12/13/13, 8:08 AM

Thanks for the reply but I know how to access phone field but in webkit report there is mako template, the report is designed there and field used is partner_ids. Check account_report_partners_ledger.mako in account_financial_report_webkit module.

evon_dun
on 12/13/13, 8:44 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

0 follower(s)

Stats

Asked: 12/13/13, 6:35 AM
Seen: 1150 times
Last updated: 3/16/15, 8:10 AM