Odoo Help


aeroo report csv format for delivery order

on 2/4/14, 11:26 PM 1,338 views

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?


>  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

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.


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)


Asked: 2/4/14, 11:26 PM
Seen: 1338 times
Last updated: 3/16/15, 8:10 AM