credativ team mailing list archive
-
credativ team
-
Mailing list archive
-
Message #00287
[Bug 878432] Re: [trunk] Hr_applicant : On Webclient, the field Appreciation(priority) when chosen, any button click will throw a traceback
Hello,
Serpent Consulting Services. Thanks a lot for reporting issue and
contributing to OpenERP.
I have reproduce it on trunk old web-client(6.0.3), but in new web
client(6.1) all are working fine. As of 6.1 a newer
and better web frontend known as the OpenERP Web project[1] will be
available.
As per your branch you have suggested a good improvement, So I am
considering it as a "Wishlist" for server. If we
give a proper object and column definition then error will never comes.
Thank you!
** Changed in: openobject-client-web
Status: Incomplete => Won't Fix
** Changed in: openobject-server
Importance: Undecided => Wishlist
** Changed in: openobject-server
Assignee: (unassigned) => OpenERP's Framework R&D (openerp-dev-framework)
--
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/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):
Invalid
Status in OpenERP Web Client:
Won't Fix
Status in OpenERP Server:
Confirmed
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