~unifield-team/unifield-web/uf-1309

« back to all changes in this revision

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

  • Committer: jf
  • Date: 2012-08-24 15:49:29 UTC
  • mfrom: (4660.2.4 unifield-web)
  • Revision ID: jf@tempo4-20120824154929-chzeeqc9ixloys2p
UF-1299 [IMP] Add a button to change the destination location of an INT confirmed/available/not available...
UF-1315 [IMP] Lines are editable while o2m is readonly - readonly policy conflict?
OEB-13 [FIX] fix popup create a new record instead of reloading content when clicking on a button
UF-1296 [IMP] Inconsistent warning message at the "scheduler run"
lp:~unifield-team/unifield-web/web_uf_1299
lp:~unifield-team/unifield-web/uf_1296_action_empty_ids

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
 
        <li action_id="${item['id']}" relation="${model}" domain="${item.get('domain')}"
 
3
        <li action_id="${item['id']}" relation="${model}" domain="${item.get('domain')}" empty_ids="${item.get('empty_ids') and 1 or 0}"
4
4
           context="${item.get('context')}" onclick="validate_action(this, do_action)">
5
5
            % if icon:
6
6
                <img src="${icon}" alt=""/>