c2c-oerpscenario team mailing list archive
-
c2c-oerpscenario team
-
Mailing list archive
-
Message #35367
[Bug 878432] Re: [trunk] Hr_applicant : On Webclient, the field Appreciation(priority) when chosen, any button click will throw a traceback
Hello,
I have checked your issue with updated trunk but I didn't face the same
trace back as you have.
Revision of Trunk :
Server - 3772
Gtk-Client - 1983
Web-client - 1309
addons - 5425
Would you please try with updated code.
Thanks and waiting for your reply.
** Changed in: openobject-client-web
Status: New => Incomplete
** Changed in: openobject-addons
Status: New => Incomplete
--
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to OpenERP Project Group.
https://bugs.launchpad.net/bugs/878432
Title:
[trunk] Hr_applicant : On Webclient,the field Appreciation(priority)
when chosen, any button click will throw a traceback
Status in OpenERP Addons (modules):
Incomplete
Status in OpenERP Web Client:
Incomplete
Status in OpenERP Server:
New
Bug description:
Select any applicant record, assign any value to the field
'Appreciation', press any button to traverse through next state.
There will be a traceback as follows:
Traceback (most recent call last):
File "/home/salmaan/workspace/trunk/server/openerp/service/netrpc_server.py", line 62, in run
result = netsvc.dispatch_rpc(msg[0], msg[1], msg[2:])
File "/home/salmaan/workspace/trunk/server/openerp/netsvc.py", line 325, in dispatch_rpc
result = ExportService.getService(service_name).dispatch(method, params)
File "/home/salmaan/workspace/trunk/server/openerp/service/web_services.py", line 580, in dispatch
res = fn(db, uid, *params)
File "/home/salmaan/workspace/trunk/server/openerp/osv/osv.py", line 122, in wrapper
raise except_osv(inst.name, inst.value)
except_osv: (u'ValidateError', u'The value "4" for the field "hr_applicant.priority" is not in the selection')
There should either be a fix from
1. web to send char values to server for selection widget.
The FancyValidator/Schema should consider the type as well. Right now, it considers only the widget attribute.
OR
2. Server should always compare the string conversion of value, to selection list/tuple.
OR
3. The addon should be corrected in order to allocate only character
values to selection list, rather than '1','2',etc.
Note: GTK seems approaching right to the server.
Thanks,
Serpent Consulting Services.
To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/878432/+subscriptions
References