[FIX] oe_form class should be root of form_view. Form Page layout is renamed to oe_form_page

bzr revid: fme@openerp.com-20120328104118-gjzgatblytqjtrkg
This commit is contained in:
Fabien Meghazi 2012-03-28 12:41:18 +02:00
parent ddcb6cd1c1
commit 11fc6edd1b
4 changed files with 4 additions and 4 deletions

View File

@ -348,7 +348,7 @@
-webkit-box-shadow: none;
-box-shadow: none;
}
.openerp2 .oe_form {
.openerp2 .oe_form_page {
border: 1px solid black;
margin: 5%;
padding: 10px;

View File

@ -336,7 +336,7 @@ $colour4: #8a89ba
@include box-shadow(none)
// }}}
// FormView Layout {{{
.oe_form
.oe_form_page
border: 1px solid black
margin: 5%
padding: 10px

View File

@ -755,7 +755,7 @@ openerp.web.FormRenderingEngine = nova.Class.extend({
// TODO: I know this will save the world and all the kitten for a moment,
// but one day, we will have to get rid of xml2json
var xml = openerp.web.json_node_to_xml(this.fvg.arch);
this.$form = $('<div>' + xml + '</div>');
this.$form = $('<div class="oe_form">' + xml + '</div>');
this.to_init = [];
this.labels = {};

View File

@ -840,7 +840,7 @@
</form>
<t t-name="FormRenderingForm">
<div class="oe_form">
<div class="oe_form_page">
<group t-if="legacy_mode" col="4"/>
</div>
</t>