try to preview changes in "Manage Views" from web client I get a full page of errors

Bug #806456 reported by Mihai Satmarean
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Odoo Web Client
Won't Fix
Low
OpenERP R&D Web Team

Bug Description

client_order_ref in Sales should be searchable

Thanks!

Revision history for this message
Vishal Parmar(Open ERP) (vpa-openerp) wrote :

Hello Mihai Boiciuc,

You can have a option to add number of filter from client side so we can not put all fields in default searchable option.
I am not consider this issue as a generic way.

Correct me if I am wrong.

Thanks and waiting for your reply.

Revision history for this message
Mihai Satmarean (mihai-satmarean) wrote :

Hi,

The problem I am facing here is this:
If I want to custom filter I cannot find this field in the drop down selection.
And if I want to modify the view to add this field as a search field, the error is that the field is not search-able.

Perhaps I am doing something wrong.

Thanks.

Revision history for this message
Vishal Parmar(Open ERP) (vpa-openerp) wrote :

Hello Mihai Boiciuc,

I have checked your issue again with latest stable6 and trunk both but I did't face any problem.

I have attached a video for your reference, Would you please check it and informed us where you

face the problem.

Thanks and waiting for your reply.

Revision history for this message
Vishal Parmar(Open ERP) (vpa-openerp) wrote :
Changed in openobject-addons:
status: New → Incomplete
Revision history for this message
Mihai Satmarean (mihai-satmarean) wrote :
Download full text (15.7 KiB)

Hi,

the probblem I am facing is when I try to preview changes in "Manage Views" from web client I get a full page of python errors.
But if I save the changes the changes work ok on the live system

<type 'exceptions.Exception'> Python 2.6.5: /usr/bin/python
Tue Aug 9 12:28:32 2011

A problem occurred in a Python script. Here is the sequence of function calls leading up to the error, in the order they occurred.
 /usr/lib/openerp-web-6.0.1/lib/cherrypy/_cprequest.py in respond(self=<cherrypy._cprequest.Request object>, path_info='/openerp/viewed/preview/show')
  604 if self.handler:
  605 self.stage = 'handler'
  606 cherrypy.response.body = self.handler()
  607
  608 self.stage = 'before_finalize'
global cherrypy = <module 'cherrypy' from '/usr/lib/openerp-web-6.0.1/lib/cherrypy/__init__.pyc'>, cherrypy.response = <cherrypy._ThreadLocalProxy object>, cherrypy.response.body = [], self = <cherrypy._cprequest.Request object>, self.handler = <cherrypy._cpdispatch.LateParamPageHandler object>
 /usr/lib/openerp-web-6.0.1/lib/cherrypy/_cpdispatch.py in __call__(self=<cherrypy._cpdispatch.LateParamPageHandler object>)
   23 def __call__(self):
   24 try:
   25 return self.callable(*self.args, **self.kwargs)
   26 except TypeError, x:
   27 test_callable_spec(self.callable, self.args, self.kwargs)
self = <cherrypy._cpdispatch.LateParamPageHandler object>, self.callable = <bound method Root.default of <openobject.controllers._root.Root object>>, self.args = ('openerp', 'viewed', 'preview', 'show'), self.kwargs = {'model': 'sale.order', 'view_id': '752', 'view_type': 'search'}
 /usr/lib/openerp-web-6.0.1/openobject/tools/_expose.py in func_wrapper(*args=(<openobject.controllers._root.Root object>, 'openerp', 'viewed', 'preview', 'show'), **kw={'model': 'sale.order', 'view_id': '752', 'view_type': 'search'})
  180 raise cherrypy.HTTPError(405)
  181
  182 res = func(*args, **kw)
  183 if format == 'json' or (allow_json and 'allow_json' in cherrypy.request.params):
  184 cherrypy.response.headers['Content-Type'] = 'text/javascript'
global res = '/usr/lib/openerp-web-6.0.1/openobject/controllers/templates/base.mako', func = <function default>, args = (<openobject.controllers._root.Root object>, 'openerp', 'viewed', 'preview', 'show'), kw = {'model': 'sale.order', 'view_id': '752', 'view_type': 'search'}
 /usr/lib/openerp-web-6.0.1/openobject/controllers/_root.py in default(self=<openobject.controllers._root.Root object>, *args=('openerp', 'viewed', 'preview', 'show'), **kw={'model': 'sale.order', 'view_id': '752', 'view_type': 'search'})
   85 request.handler = cherrypy.NotFound()
   86
   87 return request.handler()
   88
   89 def find_handler(self):
request = <cherrypy._ThreadLocalProxy object>, request.handler = <cherrypy._cpdispatch.LateParamPageHandler object>
 /usr/lib/openerp-web-6.0.1/lib/cherrypy/_cpdispatch.py in __call__(self=<cherrypy._cpdispatch.LateParamPageHandler object>)
   23 def __call__(self):
 ...

Revision history for this message
Vishal Parmar(Open ERP) (vpa-openerp) wrote :

Hello Mihai,

I have also checked in web-client with updated code and it is working as expected.

Would you please elaborate more on this issue what you change from manage view in web-client ?

Provide proper steps with screenshot or video.

Thanks and waiting for your reply.

Revision history for this message
Mihai Satmarean (mihai-satmarean) wrote :
Revision history for this message
Mihai Satmarean (mihai-satmarean) wrote :

In my installation no matter what I want to add and preview results in this screen.

Thanks!

Revision history for this message
Vishal Parmar(Open ERP) (vpa-openerp) wrote : Re: try to preview changes in "Manage Views" from web client I get a full page of python errors

Hello,

According to comment #5 I am confirming this issue.

I have attached a video check it.

Thanks.

summary: - client_order_ref in Sales should be searchable
+ try to preview changes in "Manage Views" from web client I get a full
+ page of python errors
summary: try to preview changes in "Manage Views" from web client I get a full
- page of python errors
+ page of errors
Revision history for this message
Vishal Parmar(Open ERP) (vpa-openerp) wrote :
affects: openobject-addons → openobject-client-web
Changed in openobject-client-web:
assignee: nobody → OpenERP R&D Web Team (openerp-dev-web)
importance: Undecided → Low
status: Incomplete → Confirmed
Revision history for this message
OpenERP Majordomo (openerp-majordomo) wrote : OpenERP Majordomo Message

**automated message**
Thanks a lot for reporting this bug and contributing to OpenERP. Unfortunately the OpenERP Web Client project is not going to be developed further after the 6.0 series. As of 6.1 a newer and better web frontend known as the OpenERP Web project[1] will be available.
Our R&D developers normally work in Launchpad to fix bugs for the next release, but there will be no next release for the current OpenERP Web Client. As our resources are limited, all further R&D efforts from the Web team are dedicated to finish the new 6.1 OpenERP Web project[1].
This bug will be closed as "Won't Fix" to show that R&D won't be able to work on it.

Bugs affecting customers in production of course continue to be handled via the OpenERP Enterprise (OPW) maintenance service, and this is the recommended way to have them corrected directly in the 6.0 LTS stable branch.
You can find more details about all of this in the FAQ of our Bug Management Policy documentation[2].

If you are interested, you should soon be able to beta-test the new OpenERP Web 6.1 (this will be announced on OpenERP Community channels).

Thank you for your contributions and for your understanding!

[1] https://launchpad.net/openerp-web
[2] http://bit.ly/openerp-bugs-faq (FAQ #4)

Changed in openobject-client-web:
status: Confirmed → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.