Community mailing list archives

Re: Report from a wizard ERROR

Shivam Goyal
- 09/29/2015 03:12:34
Hey Sry i overlooked the second error that u sent. The thing is u r calling get_requests(data['form']['req_ids'])

If you check ur parser file (

class order_print(report_sxw.rml_parse): def __init__(self, cr, uid, name, context): super(order_print, self).__init__(cr, uid, name, context=context) self.localcontext.update({ 'time': time, # 'lst': self._lst, # 'total': self._lst_total, 'get_requests':self.get_orders, })

u r saying 'get_request':self.get_orders

However i do not see any get_orders() inside the class order_print

On Tue, Sep 29, 2015 at 12:32 PM, Shivam Goyal <> wrote:
You have declared variable 'data_error' in your py file ( under method 'print_report'

Put a print statement -: print "===================================",data_error 

on line no 59 of this file and send it to me

You are almost there..........It is just that we need to see the exact format in which 'data_error' is being passed in to the 'form' key

On Tue, Sep 29, 2015 at 12:29 PM, tibyan zarroug <> wrote:
Pardon what do you mean by output of data_error

Subject: Re: Report from a wizard ERROR
Date: Tue, 29 Sep 2015 06:48:29 +0000

Send the output of data_error after line 58 in py file
Post to:

Post to: