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.


How to inherit class partner_balance to change functions?

Anabela Damas
on 4/24/14, 3:24 PM 624 views


I'm trying to inherit class partner_balance(report_sxw.rml_parse, common_report_header) from the file addons/account/account_partner_balance.py, but it isn't like the other inherits of osv.osv ... I want to change this function def set_context(self, objects, data, ids, report_type=None) and `this def lines(self)....

Do you know how can I change those functions ?


On 10/23/16, 5:57 AM


If you are working with reports, please refer this link.


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)


Asked: 4/24/14, 3:24 PM
Seen: 624 times
Last updated: 10/23/16, 5:57 AM