~unifield-team/unifield-web/us-31

« back to all changes in this revision

Viewing changes to addons/openerp/controllers/listgrid.py

  • Committer: jf
  • Date: 2013-12-18 19:47:51 UTC
  • mfrom: (4723.2.1 unifield-web)
  • Revision ID: jfb@tempo-consulting.fr-20131218194751-1451ebf0v7jahfp3
UTP-760 [IMP] Issues with HQ entries Split (analytical and accounting)
UTP-761 [IMP] HQ entries - not possible to change the description field so we cannot mention which
lp:~unifield-team/unifield-web/web-jfb-utp-760

Show diffs side-by-side

added added

removed removed

Lines of Context:
270
270
                del params.context['group_by']
271
271
            params.group_by_ctx = []
272
272
 
273
 
 
 
273
        #params.forced_domain = params.domain[:]
274
274
        if source == '_terp_list':
275
275
            if not params.view_type == 'graph':
276
276
                params.view_type = 'tree'
314
314
            view=ustr(wid.render())
315
315
 
316
316
        server_logs = ''
317
 
 
318
317
        if frm.logs and frm.screen.view_type == 'tree':
319
318
            server_logs = ustr(frm.logs.render())
320
319
 
321
320
        concurrency_info = getattr(cherrypy.request, 'terp_concurrency_info', None)
322
321
 
323
 
        return dict(ids=ids, count=count, view=view, logs=server_logs, concurrency_info=concurrency_info)
 
322
        return dict(ids=ids, count=count, view=view, logs=server_logs, concurrency_info=concurrency_info, previously_selected=frm.screen.set_previously_selected)
324
323
 
325
324
    @expose('json')
326
325
    def button_action(self, **kw):