~jfb-tempo-consulting/unifield-web/wkf_item

« back to all changes in this revision

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

  • Committer: jf
  • Date: 2017-02-10 08:28:16 UTC
  • mfrom: (4827.8.1 web-us-999)
  • Revision ID: jfb@tempo-consulting.fr-20170210082816-sohotywzc2s9gjwz
US-999 [IMP] Button on m2m list: track main record id in previous_active_id

lp:~jfb-tempo-consulting/unifield-web/us-999

Show diffs side-by-side

added added

removed removed

Lines of Context:
163
163
            search_domain=params.search_domain or [],
164
164
        )
165
165
 
 
166
        if params.previous_active_id:
 
167
            ctx['previous_active_id'] = params.previous_active_id
166
168
        if params.active_id and not params.active_ids:
167
169
            ctx['active_ids'] = [params.active_id]
168
170