Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class TestReport(Report):
- _name = 'testreport.testreport'
- def __init__(self):
- super(TestReport, self).__init__()
- def parse(self, report, objects, datas, localcontext=None):
- datas['graph'] = [self.generate_graph(objects), 'image/png']
- return super(TestReport, self).parse(report, objects, datas,
- localcontext=localcontext)
- [...]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement