summaryrefslogtreecommitdiff
path: root/addons/web/static/src/xml/base.xml
diff options
context:
space:
mode:
authorFabien Meghazi <fme@openerp.com>2012-04-24 12:37:12 +0200
committerFabien Meghazi <fme@openerp.com>2012-04-24 12:37:12 +0200
commit06f585a503b5b1574e3b414eb87cf845ec05489e (patch)
tree69513d7fc4e578962bcb7d588b109ca2abe212f3 /addons/web/static/src/xml/base.xml
parent7f941364ca0885362a9857e81653dd5685356181 (diff)
[IMP] Properly handle sheet tag in form rendering engine
Improved form css bzr revid: fme@openerp.com-20120424103712-efrepnunnveqghk1
Diffstat (limited to 'addons/web/static/src/xml/base.xml')
-rw-r--r--addons/web/static/src/xml/base.xml3
1 files changed, 2 insertions, 1 deletions
diff --git a/addons/web/static/src/xml/base.xml b/addons/web/static/src/xml/base.xml
index 15eef62c64b..624abcf10ca 100644
--- a/addons/web/static/src/xml/base.xml
+++ b/addons/web/static/src/xml/base.xml
@@ -790,10 +790,11 @@
<t t-name="FormRenderingForm">
<div class="oe_form_sheetbg">
<div t-attf-class="oe_form_sheet oe_form_sheet_width #{classnames}">
- <group col="4"/>
+ <group t-if="layout === 'auto'" col="4"/>
</div>
</div>
</t>
+<t t-name="FormRenderingSheet" t-extend="FormRenderingForm"/>
<t t-name="FormRenderingGroup">
<t t-set="table">
<table border="0" cellpadding="0" cellspacing="0" width="100%" t-att-class="classnames"/>