summaryrefslogtreecommitdiff
path: root/addons/web/static/src/xml/base.xml
diff options
context:
space:
mode:
authorFabien Meghazi <fme@openerp.com>2012-03-21 11:53:36 +0100
committerFabien Meghazi <fme@openerp.com>2012-03-21 11:53:36 +0100
commit308855f3465fedb6173c33e3e665241d18a53e96 (patch)
treeaa8ca0d46c6f7e1299320b7ca98eb3244470ffc1 /addons/web/static/src/xml/base.xml
parenta826afe55944408224b598e8a9c25345ff663015 (diff)
[IMP] Support for legacy mode
bzr revid: fme@openerp.com-20120321105336-ihibsp7qgqa1kstv
Diffstat (limited to 'addons/web/static/src/xml/base.xml')
-rw-r--r--addons/web/static/src/xml/base.xml12
1 files changed, 10 insertions, 2 deletions
diff --git a/addons/web/static/src/xml/base.xml b/addons/web/static/src/xml/base.xml
index 3b6afc1b69d..d8598d8ec2d 100644
--- a/addons/web/static/src/xml/base.xml
+++ b/addons/web/static/src/xml/base.xml
@@ -726,7 +726,7 @@
</t>
</div>
</div>
- <div class="oe_form_content"/>
+ <div class="oe_form_container"/>
</div>
</t>
<t t-name="One2Many.formview" t-extend="FormView">
@@ -833,6 +833,12 @@
</table>
</form>
+<t t-name="FormRenderingRoot">
+ <div class="oe_form">
+ <h3 style="display: none"><!-- TODO: check how 'string' should be used in new layout --><t t-esc="string"/></h3>
+ <group t-if="legacy_mode" col="4"/>
+ </div>
+</t>
<t t-name="FormRenderingGroup">
<t t-set="table">
<table border="0" cellpadding="0" cellspacing="0" width="100%"/>
@@ -859,7 +865,9 @@
</div>
</t>
<t t-name="FormRenderingNotebookPage">
- <div class="oe_form_notebook_page" t-att-id="id"/>
+ <div class="oe_form_notebook_page" t-att-id="id">
+ <group t-if="legacy_mode" col="4"/>
+ </div>
</t>
<t t-name="FormRenderingSeparator">
<div class="oe_horizontal_separator">