openerp-india team mailing list archive
-
openerp-india team
-
Mailing list archive
-
Message #12575
[Bug 1012945] Re: [6.1] Account Print Journal
Hello Jacara,
I have again checked this issue with latest 6.1 and all are working
fine.
I think you might have a mistake at your end.
Currently I am closing this issue, If you still faced the problem then don't hesitate to reopen this.
Thanks!
** Changed in: openobject-addons
Status: Incomplete => Invalid
--
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Addons.
https://bugs.launchpad.net/bugs/1012945
Title:
[6.1] Account Print Journal
Status in OpenERP Addons (modules):
Invalid
Bug description:
Server Traceback (most recent call last):
File "/home/erp/openerp/addons/web/common/http.py", line 592, in send
result = openerp.netsvc.dispatch_rpc(service_name, method, args)
File "/home/erp/openerp/netsvc.py", line 360, in dispatch_rpc
result = ExportService.getService(service_name).dispatch(method, params)
File "/home/erp/openerp/service/web_services.py", line 572, in dispatch
res = fn(db, uid, *params)
File "/home/erp/openerp/osv/osv.py", line 167, in execute_kw
return self.execute(db, uid, obj, method, *args, **kw or {})
File "/home/erp/openerp/osv/osv.py", line 121, in wrapper
return f(self, dbname, *args, **kwargs)
File "/home/erp/openerp/osv/osv.py", line 176, in execute
res = self.execute_cr(cr, uid, obj, method, *args, **kw)
File "/home/erp/openerp/addons/audittrail/audittrail.py", line 495, in execute_cr
return fct_src(cr, uid, model, method, *args)
File "/home/erp/openerp/osv/osv.py", line 164, in execute_cr
return getattr(object, method)(cr, uid, *args, **kw)
File "/home/erp/openerp/addons/account/wizard/account_report_common.py", line 165, in check_report
return self._print_report(cr, uid, ids, data, context=context)
File "/home/erp/openerp/addons/account/wizard/account_report_print_journal.py", line 67, in _print_report
data = self.pre_print_report(cr, uid, ids, data, context=context)
File "/home/erp/openerp/addons/account/wizard/account_report_common_journal.py", line 50, in pre_print_report
data['form']['active_ids'] = self.pool.get('account.journal.period').search(cr, uid, [('journal_id', 'in', data['form']['journal_ids']), ('period_id', 'in', period_list)], context=context)
File "/home/erp/openerp/osv/orm.py", line 2243, in search
return self._search(cr, user, args, offset=offset, limit=limit, order=order, context=context, count=count)
File "/home/erp/openerp/osv/orm.py", line 4568, in _search
query = self._where_calc(cr, user, args, context=context)
File "/home/erp/openerp/osv/orm.py", line 4417, in _where_calc
where_clause, where_params = e.to_sql()
File "/home/erp/openerp/osv/expression.py", line 787, in to_sql
q, p = self.__leaf_to_sql(e, table)
File "/home/erp/openerp/osv/expression.py", line 712, in __leaf_to_sql
raise ValueError("Invalid domain term %r" % (leaf,))
ValueError: Invalid domain term ('period_id', 'in', 45)
To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/1012945/+subscriptions
References