diff options
| author | niv-openerp <nicolas.vanhoren@openerp.com> | 2011-06-16 16:25:30 +0200 |
|---|---|---|
| committer | niv-openerp <nicolas.vanhoren@openerp.com> | 2011-06-16 16:25:30 +0200 |
| commit | 571771a879dcfd81e3c82862cd900c0c4f2ba1f9 (patch) | |
| tree | 5090ceb718bad118bf4bee55e01ca03e07816836 /addons/base/static/src/xml/base.xml | |
| parent | 34ea3495b93bbbe92220590b33229c14c8e6eca9 (diff) | |
[imp] refactoring to allow passing objects instead of normal views declaration to view manager to allow passing additional options + small fix in form view about actions
bzr revid: nicolas.vanhoren@openerp.com-20110616142530-vbzf3z7atncf508y
Diffstat (limited to 'addons/base/static/src/xml/base.xml')
| -rw-r--r-- | addons/base/static/src/xml/base.xml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/addons/base/static/src/xml/base.xml b/addons/base/static/src/xml/base.xml index ff059b6a50d..55a5304d0ff 100644 --- a/addons/base/static/src/xml/base.xml +++ b/addons/base/static/src/xml/base.xml @@ -232,14 +232,14 @@ <!-- TODO prefix id with the element_id of the controller t-attf-id="#{prefix}_localid" --> <div class="oe_vm_switch"> <t t-if="views.length != 1" t-foreach="views" t-as="view"> - <button type="button" t-att-data-view-type="view[1]"> - <t t-esc="view[1]"/> + <button type="button" t-att-data-view-type="view.view_type"> + <t t-esc="view.view_type"/> </button> </t> </div> <div t-attf-id="#{prefix}_search" t-opentag="true"/> <t t-foreach="views" t-as="view"> - <div t-attf-id="#{prefix}_view_#{view[1]}"/> + <div t-attf-id="#{prefix}_view_#{view.view_type}"/> </t> </td> <td class="view-manager-main-sidebar" height="100%"> |
