diff options
| author | Fabien Meghazi <fme@openerp.com> | 2011-12-08 17:10:14 +0100 |
|---|---|---|
| committer | Fabien Meghazi <fme@openerp.com> | 2011-12-08 17:10:14 +0100 |
| commit | 4ab671d3fc69ccf6e6a13f522dacde6fb703f7bf (patch) | |
| tree | 3ce23b58d21bf5eb370735058a4e47a5986ec2a1 /addons/web_dashboard/static/src/xml/web_dashboard.xml | |
| parent | cf6fedf5bbb666ca1d9bb72f665cda1f2e2246ba (diff) | |
[ADD] Dashboard: support for @creatable attribute in dashboard's actions
bzr revid: fme@openerp.com-20111208161014-itkek0cct619i8fh
Diffstat (limited to 'addons/web_dashboard/static/src/xml/web_dashboard.xml')
| -rw-r--r-- | addons/web_dashboard/static/src/xml/web_dashboard.xml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/addons/web_dashboard/static/src/xml/web_dashboard.xml b/addons/web_dashboard/static/src/xml/web_dashboard.xml index 038bccd606a..974ce9b393b 100644 --- a/addons/web_dashboard/static/src/xml/web_dashboard.xml +++ b/addons/web_dashboard/static/src/xml/web_dashboard.xml @@ -29,6 +29,7 @@ <span class='ui-icon ui-icon-minusthick oe-dashboard-fold' t-if="!action.attrs.fold"></span> <span class='ui-icon ui-icon-plusthick oe-dashboard-fold' t-if="action.attrs.fold"></span> </h2> + <button t-if="action.attrs.creatable and action.attrs.creatable !== 'false'" class="oe_dashboard_button_create">Create</button> <div t-attf-id="#{view.element_id}_action_#{column_index}_#{action_index}" class="oe-dashboard-action-content" t-att-style="action.attrs.fold ? 'display: none' : null"></div> </div> </t> |
