summaryrefslogtreecommitdiff
path: root/addons/web/static/src/xml
diff options
context:
space:
mode:
authorXavier Morel <xmo@openerp.com>2012-01-13 10:56:34 +0100
committerXavier Morel <xmo@openerp.com>2012-01-13 10:56:34 +0100
commiteec04907fd87af78379a3baab50487aa54846dd8 (patch)
treea432eac6003aadad4fb29dae575e2bf05b1f86fc /addons/web/static/src/xml
parenta23e7f362c9a3da419e6c570440d1079d21f0517 (diff)
[FIX] cancel button was removed from editable list rows, so stop adding front padding, it breaks o2m tables
bzr revid: xmo@openerp.com-20120113095634-csnvigeweu76gn2w
Diffstat (limited to 'addons/web/static/src/xml')
-rw-r--r--addons/web/static/src/xml/base.xml10
1 files changed, 3 insertions, 7 deletions
diff --git a/addons/web/static/src/xml/base.xml b/addons/web/static/src/xml/base.xml
index 9580b1877a2..f21749277a6 100644
--- a/addons/web/static/src/xml/base.xml
+++ b/addons/web/static/src/xml/base.xml
@@ -1416,14 +1416,10 @@
<button type="button" class="oe_button oe_formopenpopup-form-close">Cancel</button>
</t>
<t t-extend="ListView.row">
- <!-- adds front & back padding to row being rendered after edition, if
- necessary (if not selectable add front padding and if not deletable
- add back padding), otherwise the row being added is missing columns
+ <!-- adds back padding to row being rendered after edition, if necessary
+ (if not deletable add back padding), otherwise the row being added is
+ missing columns
-->
- <t t-jquery="&gt; :first" t-operation="before">
- <td t-if="edited and !options.selectable" class="oe-listview-padding"/>
- <td t-if="edited and !options.isClarkGable" class="oe-listview-padding"/>
- </t>
<t t-jquery="&gt; :last" t-operation="after">
<td t-if="edited and !options.deletable" class="oe-listview-padding"/>
</t>