diff options
| author | niv-openerp <nicolas.vanhoren@openerp.com> | 2011-07-28 19:00:16 +0200 |
|---|---|---|
| committer | niv-openerp <nicolas.vanhoren@openerp.com> | 2011-07-28 19:00:16 +0200 |
| commit | 32048af2ea2b16a77cdc97ea45d27d8f259fa2d8 (patch) | |
| tree | 93086fc8cdab31b88b6fd7ad406add7a332d6e0b /addons/base/static/src/js/form.js | |
| parent | a64f68bd2027ea6bce02156c5eeafa9e8625e638 (diff) | |
| parent | c9f3ae98e602158ffab2f35cbb58546a4171210c (diff) | |
[merge]
bzr revid: nicolas.vanhoren@openerp.com-20110728170016-eh9qxvq752vg68fw
Diffstat (limited to 'addons/base/static/src/js/form.js')
| -rw-r--r-- | addons/base/static/src/js/form.js | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/addons/base/static/src/js/form.js b/addons/base/static/src/js/form.js index d47182a22da..f8e2e91667d 100644 --- a/addons/base/static/src/js/form.js +++ b/addons/base/static/src/js/form.js @@ -88,9 +88,10 @@ openerp.base.FormView = openerp.base.View.extend( /** @lends openerp.base.FormVi if (this.options.sidebar && this.options.sidebar_id) { this.sidebar = new openerp.base.Sidebar(this, this.options.sidebar_id); this.sidebar.start(); - this.sidebar.attachments = new openerp.base.form.SidebarAttachments(this.sidebar, this.sidebar.add_section("Attachments"), this); - this.sidebar.add_toolbar(data.fields_view.toolbar); this.sidebar.do_unfold(); + this.sidebar.attachments = new openerp.base.form.SidebarAttachments(this.sidebar, this.sidebar.add_section('attachments', "Attachments"), this); + this.sidebar.add_toolbar(data.fields_view.toolbar); + this.set_common_sidebar_sections(this.sidebar); } this.has_been_loaded.resolve(); }, |
