Odoo Help

0

OpenERP engine modification. How?

By
Ivan
on 12/11/13, 8:34 AM 748 views

Is it possible to inherit OpenERP engine classes? For example, report.rml_parse or osv.fields? The purpose is behavior replacement of printing all reports. How can I do this? Maybe there are some methods like this(it's just thoughts, nothing else):

from openerp.report import rml_parse

class my_parser(object):
    ...blah-blah-blah...

rml_parse = my_parser

Or something like this:

from openerp.report import rml_parse

class my_parser(rml_parse):
    ...blah-blah-blah...

Last variant perfectly works with report in same module, but it don't work with another modules.

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.

Register

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)

Stats

Asked: 12/11/13, 8:34 AM
Seen: 748 times
Last updated: 3/16/15, 8:10 AM