summaryrefslogtreecommitdiff
path: root/addons/web/static/src/xml/base.xml
diff options
context:
space:
mode:
authorAaron Bohy <aab@odoo.com>2015-06-24 10:41:00 +0200
committerAaron Bohy <aab@odoo.com>2015-06-25 15:44:42 +0200
commit230af351544d5486c305d8b3d340d8f1b00abdd7 (patch)
treefc773bb31398f644b451f5482c223b84aaad87b7 /addons/web/static/src/xml/base.xml
parent5490aad0c943af255424c71247d7b09b7a95f628 (diff)
[IMP] web: ViewManager for One2Many and Many2Many fields
This rev. generalizes the notions of FieldOne2Many to FieldX2Many and of One2ManyViewManager to X2ManyViewManager. The same logic is now applied both for One2Many and Many2Many fields. This allows Many2Many list and kanban views to have a pager, as the pager is instanciated by the view, on demand of the ViewManager.
Diffstat (limited to 'addons/web/static/src/xml/base.xml')
-rw-r--r--addons/web/static/src/xml/base.xml4
1 files changed, 2 insertions, 2 deletions
diff --git a/addons/web/static/src/xml/base.xml b/addons/web/static/src/xml/base.xml
index ead8cd68237..061146dae0b 100644
--- a/addons/web/static/src/xml/base.xml
+++ b/addons/web/static/src/xml/base.xml
@@ -470,8 +470,8 @@
</div>
</t>
-<t t-name="One2ManyControlPanel">
- <div class="oe-o2m-control-panel container-fluid">
+<t t-name="X2ManyControlPanel">
+ <div class="oe-x2m-control-panel container-fluid">
<div class="oe-cp-buttons pull-left"/>
<div class="oe-cp-pager pull-right"/>
</div>