openerp-india team mailing list archive
-
openerp-india team
-
Mailing list archive
-
Message #26934
[Bug 1261454] [NEW] OpenERP 7.0 Picking Out Serial Number Field ERROR
Public bug reported:
Server Traceback (most recent call last):
File "/home/saas/source/7.0/web/addons/web/session.py", line 90, in send
return openerp.netsvc.dispatch_rpc(service_name, method, args)
File "/home/saas/source/7.0/server/openerp/netsvc.py", line 289, in dispatch_rpc
result = ExportService.getService(service_name).dispatch(method, params)
File "/home/saas/source/7.0/server/openerp/service/web_services.py", line 614, in dispatch
res = fn(db, uid, *params)
File "/home/saas/source/7.0/server/openerp/osv/osv.py", line 169, in execute_kw
return self.execute(db, uid, obj, method, *args, **kw or {})
File "/home/saas/source/7.0/server/openerp/osv/osv.py", line 123, in wrapper
return f(self, dbname, *args, **kwargs)
File "/home/saas/source/7.0/server/openerp/osv/osv.py", line 179, in execute
res = self.execute_cr(cr, uid, obj, method, *args, **kw)
File "/home/saas/source/7.0/server/openerp/osv/osv.py", line 166, in execute_cr
return getattr(object, method)(cr, uid, *args, **kw)
File "/home/saas/source/7.0/addons/stock/stock.py", line 1409, in name_search
ids = self.search(cr, uid, args, limit=limit, context=context)
File "/home/saas/source/7.0/server/openerp/osv/orm.py", line 2356, in search
return self._search(cr, user, args, offset=offset, limit=limit, order=order, context=context, count=count)
File "/home/saas/source/7.0/server/openerp/osv/orm.py", line 4845, in _search
query = self._where_calc(cr, user, args, context=context)
File "/home/saas/source/7.0/server/openerp/osv/orm.py", line 4678, in _where_calc
where_clause, where_params = e.to_sql()
File "/home/saas/source/7.0/server/openerp/osv/expression.py", line 1205, in to_sql
q, p = self.__leaf_to_sql(leaf)
File "/home/saas/source/7.0/server/openerp/osv/expression.py", line 1156, in __leaf_to_sql
query, params = self.__leaf_to_sql((left, '=', right), model)
TypeError: __leaf_to_sql() takes exactly 2 arguments (3 given)
Facing trouble when working with serial number,
When click on drop down serial number field. getting bug.
** Affects: openobject-addons
Importance: Undecided
Status: New
** Summary changed:
- OpenERP 7.0 Picking Out Split ERROR
+ OpenERP 7.0 Picking Out Serial Number Field ERROR
--
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/1261454
Title:
OpenERP 7.0 Picking Out Serial Number Field ERROR
Status in OpenERP Addons (modules):
New
Bug description:
Server Traceback (most recent call last):
File "/home/saas/source/7.0/web/addons/web/session.py", line 90, in send
return openerp.netsvc.dispatch_rpc(service_name, method, args)
File "/home/saas/source/7.0/server/openerp/netsvc.py", line 289, in dispatch_rpc
result = ExportService.getService(service_name).dispatch(method, params)
File "/home/saas/source/7.0/server/openerp/service/web_services.py", line 614, in dispatch
res = fn(db, uid, *params)
File "/home/saas/source/7.0/server/openerp/osv/osv.py", line 169, in execute_kw
return self.execute(db, uid, obj, method, *args, **kw or {})
File "/home/saas/source/7.0/server/openerp/osv/osv.py", line 123, in wrapper
return f(self, dbname, *args, **kwargs)
File "/home/saas/source/7.0/server/openerp/osv/osv.py", line 179, in execute
res = self.execute_cr(cr, uid, obj, method, *args, **kw)
File "/home/saas/source/7.0/server/openerp/osv/osv.py", line 166, in execute_cr
return getattr(object, method)(cr, uid, *args, **kw)
File "/home/saas/source/7.0/addons/stock/stock.py", line 1409, in name_search
ids = self.search(cr, uid, args, limit=limit, context=context)
File "/home/saas/source/7.0/server/openerp/osv/orm.py", line 2356, in search
return self._search(cr, user, args, offset=offset, limit=limit, order=order, context=context, count=count)
File "/home/saas/source/7.0/server/openerp/osv/orm.py", line 4845, in _search
query = self._where_calc(cr, user, args, context=context)
File "/home/saas/source/7.0/server/openerp/osv/orm.py", line 4678, in _where_calc
where_clause, where_params = e.to_sql()
File "/home/saas/source/7.0/server/openerp/osv/expression.py", line 1205, in to_sql
q, p = self.__leaf_to_sql(leaf)
File "/home/saas/source/7.0/server/openerp/osv/expression.py", line 1156, in __leaf_to_sql
query, params = self.__leaf_to_sql((left, '=', right), model)
TypeError: __leaf_to_sql() takes exactly 2 arguments (3 given)
Facing trouble when working with serial number,
When click on drop down serial number field. getting bug.
To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/1261454/+subscriptions
Follow ups
References