Hi guys,
I got some problem on the ods template coding to regenerate delivery order
like i trying to use python://picking.address its not working
and i get this error message (<type 'exceptions.exception'="">, Exception('Aeroo Reports: Error while generating the report.', UndefinedError('"picking" not defined',), '"picking" not defined', 'For more reference inspect error logs.'), <traceback object="" at="" 0x7f1da45a8320="">)
do there have any others example than the printscreen report?
parser.py
> from report import report_sxw
> from report.report_sxw import rml_parse
> import lorem
> import random
> import time
>
> class Parser(report_sxw.rml_parse):
> def __init__(self, cr, uid, name, context):
> super(Parser, self).__init__(cr, uid, name, context=context)
> self.localcontext.update({
> 'time': time,
> 'get_product_desc':self.get_product_desc
> })
> def get_product_desc(self,move_line):
> desc = move_line.product_id.name
> if move_line.product_id.default_code:
> desc = '[' + move_line.product_id.default_code + ']' + ' ' + desc
> return desc