~fabien-morin/unifield-web/fm-us-3172

« back to all changes in this revision

Viewing changes to addons/openerp/widgets/templates/sidebar.mako

  • Committer: jf
  • Date: 2017-08-21 10:12:40 UTC
  • mfrom: (4850.1.3 fm-us-3203)
  • Revision ID: jfb@tempo-consulting.fr-20170821101240-vubzt2qxlnvj610n
US-3203 [IMP] Windows action: don't reload the initial page

lp:~fabien-morin/unifield-web/fm-us-3203

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
<%def name="sidebox_action_item(item, model, submenu, icon)">
2
2
    % if submenu != 1:
3
3
        <li action_id="${item['id']}" relation="${model}" domain="${item.get('domain')}" empty_ids="${item.get('empty_ids') and 1 or 0}"
4
 
           context="${item.get('context')}" onclick="validate_action(this, do_action)">
 
4
           context="${item.get('context')}" onclick="validate_action(this, do_action);">
5
5
            % if icon:
6
6
                <img src="${icon}" alt=""/>
7
7
            % endif