credativ team mailing list archive
-
credativ team
-
Mailing list archive
-
Message #02219
[Bug 908698] [NEW] base_contact firstname typo
Public bug reported:
the field is "first_name" not firstname
File "/home/srv/openerp/instances/trunk/openobject-server/openerp/service/netrpc_server.py", line 62, in run
result = netsvc.dispatch_rpc(msg[0], msg[1], msg[2:])
File "/home/srv/openerp/instances/trunk/openobject-server/openerp/netsvc.py", line 325, in dispatch_rpc
result = ExportService.getService(service_name).dispatch(method, params)
File "/home/srv/openerp/instances/trunk/openobject-server/openerp/service/web_services.py", line 580, in dispatch
res = fn(db, uid, *params)
File "/home/srv/openerp/instances/trunk/openobject-server/openerp/osv/osv.py", line 120, in wrapper
return f(self, dbname, *args, **kwargs)
File "/home/srv/openerp/instances/trunk/openobject-server/openerp/osv/osv.py", line 172, in execute
res = self.execute_cr(cr, uid, obj, method, *args, **kw)
File "/srv/openerp/instances/trunk/openobject-addons/audittrail/audittrail.py", line 495, in execute_cr
return fct_src(cr, uid, model, method, *args)
File "/home/srv/openerp/instances/trunk/openobject-server/openerp/osv/osv.py", line 163, in execute_cr
return getattr(object, method)(cr, uid, *args, **kw)
File "/home/srv/openerp/instances/trunk/openobject-server/openerp/osv/orm.py", line 2225, in search
return self._search(cr, user, args, offset=offset, limit=limit, order=order, context=context, count=count)
File "/home/srv/openerp/instances/trunk/openobject-server/openerp/osv/orm.py", line 4528, in _search
query = self._where_calc(cr, user, args, context=context)
File "/home/srv/openerp/instances/trunk/openobject-server/openerp/osv/orm.py", line 4377, in _where_calc
e = expression.expression(cr, user, domain, self, context)
File "/home/srv/openerp/instances/trunk/openobject-server/openerp/osv/expression.py", line 358, in __init__
self.parse(cr, uid, distribute_not(normalize(exp)), table, context)
File "/home/srv/openerp/instances/trunk/openobject-server/openerp/osv/expression.py", line 454, in parse
raise ValueError("Invalid field %r in domain expression %r" % (left, exp))
ValueError: Invalid field 'firstname' in domain expression ['&', ('active', '=', 1), '|', ('firstname', 'ilike', 'gas'), ('lastname', 'ilike', 'gas')]
** Affects: openobject-addons
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of OpenERP
Framework Experts, which is subscribed to OpenERP Addons.
https://bugs.launchpad.net/bugs/908698
Title:
base_contact firstname typo
Status in OpenERP Addons (modules):
New
Bug description:
the field is "first_name" not firstname
File "/home/srv/openerp/instances/trunk/openobject-server/openerp/service/netrpc_server.py", line 62, in run
result = netsvc.dispatch_rpc(msg[0], msg[1], msg[2:])
File "/home/srv/openerp/instances/trunk/openobject-server/openerp/netsvc.py", line 325, in dispatch_rpc
result = ExportService.getService(service_name).dispatch(method, params)
File "/home/srv/openerp/instances/trunk/openobject-server/openerp/service/web_services.py", line 580, in dispatch
res = fn(db, uid, *params)
File "/home/srv/openerp/instances/trunk/openobject-server/openerp/osv/osv.py", line 120, in wrapper
return f(self, dbname, *args, **kwargs)
File "/home/srv/openerp/instances/trunk/openobject-server/openerp/osv/osv.py", line 172, in execute
res = self.execute_cr(cr, uid, obj, method, *args, **kw)
File "/srv/openerp/instances/trunk/openobject-addons/audittrail/audittrail.py", line 495, in execute_cr
return fct_src(cr, uid, model, method, *args)
File "/home/srv/openerp/instances/trunk/openobject-server/openerp/osv/osv.py", line 163, in execute_cr
return getattr(object, method)(cr, uid, *args, **kw)
File "/home/srv/openerp/instances/trunk/openobject-server/openerp/osv/orm.py", line 2225, in search
return self._search(cr, user, args, offset=offset, limit=limit, order=order, context=context, count=count)
File "/home/srv/openerp/instances/trunk/openobject-server/openerp/osv/orm.py", line 4528, in _search
query = self._where_calc(cr, user, args, context=context)
File "/home/srv/openerp/instances/trunk/openobject-server/openerp/osv/orm.py", line 4377, in _where_calc
e = expression.expression(cr, user, domain, self, context)
File "/home/srv/openerp/instances/trunk/openobject-server/openerp/osv/expression.py", line 358, in __init__
self.parse(cr, uid, distribute_not(normalize(exp)), table, context)
File "/home/srv/openerp/instances/trunk/openobject-server/openerp/osv/expression.py", line 454, in parse
raise ValueError("Invalid field %r in domain expression %r" % (left, exp))
ValueError: Invalid field 'firstname' in domain expression ['&', ('active', '=', 1), '|', ('firstname', 'ilike', 'gas'), ('lastname', 'ilike', 'gas')]
To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/908698/+subscriptions
Follow ups
-
[Bug 908698] Re: base_contact firstname typo
From: Serpent Consulting Services, 2011-12-29
-
[Bug 908698] Re: base_contact firstname typo
From: Fabien (Open ERP), 2011-12-28
-
[Bug 908698] Re: base_contact firstname typo
From: Rucha (Open ERP), 2011-12-28
-
[Bug 908698] Re: base_contact firstname typo
From: Amit Parik (OpenERP), 2011-12-28
-
[Bug 908698] Re: base_contact firstname typo
From: Serpent Consulting Services, 2011-12-27
-
[Bug 908698] Re: base_contact firstname typo
From: Ferdinand @ Camptocamp, 2011-12-27
-
[Bug 908698] Re: base_contact firstname typo
From: Amit Parik (OpenERP), 2011-12-27
-
[Bug 908698] Re: base_contact firstname typo
From: Ferdinand @ Camptocamp, 2011-12-27
-
[Bug 908698] Re: base_contact firstname typo
From: Amit Parik (OpenERP), 2011-12-27
-
[Bug 908698] [NEW] base_contact firstname typo
From: Ferdinand @ Camptocamp, 2011-12-26
References