From c21850bcdd62046cd35169289e23f5725c26635e Mon Sep 17 00:00:00 2001 From: "RGA(OpenERP)" <> Date: Mon, 24 Sep 2012 17:22:02 +0530 Subject: [PATCH] [IMP] add attachment menu at second position bzr revid: rgaopenerp-20120924115202-zq5k5130te1m1j4h --- addons/document/static/src/js/document.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/document/static/src/js/document.js b/addons/document/static/src/js/document.js index dc924c63f70..0a99fd4ef56 100644 --- a/addons/document/static/src/js/document.js +++ b/addons/document/static/src/js/document.js @@ -3,7 +3,7 @@ openerp.document = function (instance) { instance.web.SidebarAttachement =instance.web.Sidebar.include({ init : function(){ this._super.apply(this, arguments); - this.sections.unshift({ 'name' : 'files', 'label' : _t('Attachment(s)'), }); + this.sections. splice(1, 0, { 'name' : 'files', 'label' : _t('Attachment(s)'), }); this.items['files'] = []; } });