Skip to Content
मेन्यू
This question has been flagged

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.

Avatar
Discard
Related Posts Replies Views Activity
1
फ़र॰ 23
1968
3
नव॰ 22
12690
1
सित॰ 22
2264
4
फ़र॰ 25
2311
1
अग॰ 24
1962