diff options
| author | RGA(OpenERP) <> | 2012-09-24 17:22:02 +0530 |
|---|---|---|
| committer | RGA(OpenERP) <> | 2012-09-24 17:22:02 +0530 |
| commit | c21850bcdd62046cd35169289e23f5725c26635e (patch) | |
| tree | f8fbdba0a3e5157702928cd2d7ca9a8a0eefba26 /addons/document/static/src/js/document.js | |
| parent | 81678402c0b1692c4ee2adc251ba60698443f76b (diff) | |
[IMP] add attachment menu at second position
bzr revid: rgaopenerp-20120924115202-zq5k5130te1m1j4h
Diffstat (limited to 'addons/document/static/src/js/document.js')
| -rw-r--r-- | addons/document/static/src/js/document.js | 2 |
1 files changed, 1 insertions, 1 deletions
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'] = []; } }); |
