diff options
| author | Raphael Collet <rco@openerp.com> | 2012-09-04 16:11:55 +0200 |
|---|---|---|
| committer | Raphael Collet <rco@openerp.com> | 2012-09-04 16:11:55 +0200 |
| commit | 14e87c09f3ecf5cefd9b6d6bcfc6b5efa35e7729 (patch) | |
| tree | abe9729d6cdd95f6f6424d3ec30a7775756d4e60 /addons/web/static/src/xml/base.xml | |
| parent | 440b8aabbd9ca0e1928d39207c6ed957fec613c8 (diff) | |
[IMP] rename method _is_action_enabled to is_action_enabled
bzr revid: rco@openerp.com-20120904141155-288vwhonbt07dfcs
Diffstat (limited to 'addons/web/static/src/xml/base.xml')
| -rw-r--r-- | addons/web/static/src/xml/base.xml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/addons/web/static/src/xml/base.xml b/addons/web/static/src/xml/base.xml index a92eacc0710..789fbcb4baa 100644 --- a/addons/web/static/src/xml/base.xml +++ b/addons/web/static/src/xml/base.xml @@ -649,7 +649,7 @@ </tfoot> </table> <div t-name="ListView.buttons" class="oe_list_buttons"> - <t t-if="!widget.no_leaf and widget.options.action_buttons !== false and widget.options.addable and widget._is_action_enabled('create')"> + <t t-if="!widget.no_leaf and widget.options.action_buttons !== false and widget.options.addable and widget.is_action_enabled('create')"> <button type="button" class="oe_button oe_list_add oe_highlight"> <t t-esc="widget.options.addable"/> </button> @@ -725,12 +725,12 @@ <div t-name="FormView.buttons" class="oe_form_buttons"> <t t-if="widget.options.action_buttons !== false"> <span class="oe_form_buttons_view"> - <t t-if="widget._is_action_enabled('edit')"> + <t t-if="widget.is_action_enabled('edit')"> <div style="display: inline-block;"> <!-- required for the bounce effect on button --> <button type="button" class="oe_button oe_form_button_edit" accesskey="E">Edit</button> </div> </t> - <t t-if="widget._is_action_enabled('create')"> + <t t-if="widget.is_action_enabled('create')"> <button type="button" class="oe_button oe_form_button_create" accesskey="C">Create</button> </t> </span> |
