bzr revid: nicolas.vanhoren@openerp.com-20110616131328-li82bk2d3l6qtnbe
This commit is contained in:
niv-openerp 2011-06-16 15:13:28 +02:00
commit 34ea3495b9
3 changed files with 10 additions and 2 deletions

View File

@ -199,6 +199,8 @@ background: linear-gradient(top, #bd5e54 0%,#90322a 60%); /* W3C */
line-height: 20px;
font-weight: bold;
font-size: 85%;
white-space: nowrap;
}
.openerp .menu a:hover,
.openerp .menu a:focus,
@ -696,6 +698,9 @@ background: linear-gradient(top, #ffffff 0%,#d8d8d8 11%,#afafaf 86%,#333333 91%,
.openerp td.oe_form_frame_cell {
padding: 2px;
}
.openerp td.oe_form_frame_cell.oe_form_group {
padding: 0px;
}
.openerp .required.error {
border: 1px solid #900;
}
@ -712,7 +717,7 @@ background: linear-gradient(top, #ffffff 0%,#d8d8d8 11%,#afafaf 86%,#333333 91%,
.openerp label.oe_form_label, .openerp label.oe_form_label_help {
display: block;
text-align: right;
margin-top: 3px;
margin: 3px 0 0 10px;
}
.openerp label.oe_form_label_help span {
font-size: 80%;

View File

@ -144,6 +144,9 @@ openerp.base = function(instance) {
if (openerp.base.form) {
openerp.base.form(instance);
}
if (openerp.base.list && openerp.base.list.editable) {
openerp.base.list.editable(instance);
}
};
// vim:et fdc=0 fdl=0 foldnestmax=3 fdm=syntax:

View File

@ -176,7 +176,7 @@ openerp.base.FormView = openerp.base.View.extend( /** @lends openerp.base.FormV
return this.rpc(ajax, {
model: this.dataset.model,
method: method,
args: [].concat([(this.datarecord.id == null ? [] : [this.datarecord.id])], args)
args: [(this.datarecord.id == null ? [] : [this.datarecord.id])].concat(args)
}, function(response) {
self.on_processed_onchange(response, processed);
});