summaryrefslogtreecommitdiff
path: root/addons/web/static/src/xml
diff options
context:
space:
mode:
authorAaron Bohy <aab@odoo.com>2015-04-07 15:26:09 +0200
committerAaron Bohy <aab@odoo.com>2015-04-08 10:48:50 +0200
commitd1056939ad1f3cae70813780a4c084adfd609a89 (patch)
tree82a99ceef22fa0f311c8a64be1abfb53e617cf2d /addons/web/static/src/xml
parent2661a6c0cdaddb646e4053725074769712648f17 (diff)
[FIX] Web: pager for ListView in One2Many fields
The pager was not displayed in One2Many List views. This fix applies the same behavior as in One2Many Kanban views, which is probably not the best way to do it, but which works fine. The issue was caused by 2 things: - The One2Many.FormView template removes the condition around the buttons/pager divs of the FormView template. However, it was using a selector that does not seem to be used anymore. We thus removed it and the buttons/pager divs are now in the rendered One2Many List View - The rendered pager was appended to this.options.$pager whereas it should be appended to the corresponding div in its own template. This commit should not be forwardported
Diffstat (limited to 'addons/web/static/src/xml')
-rw-r--r--addons/web/static/src/xml/base.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/web/static/src/xml/base.xml b/addons/web/static/src/xml/base.xml
index 5f92b83c854..9caf15e3b7c 100644
--- a/addons/web/static/src/xml/base.xml
+++ b/addons/web/static/src/xml/base.xml
@@ -1601,7 +1601,7 @@
</t>
</t>
<t t-name="One2Many.listview" t-extend="ListView">
- <t t-jquery="thead.ui-widget-header > tr:first">
+ <t t-jquery="thead > tr:first">
this.removeAttr('t-if');
</t>