[IMP] add attachment menu at second position

bzr revid: rgaopenerp-20120924115202-zq5k5130te1m1j4h
This commit is contained in:
RGA(OpenERP) 2012-09-24 17:22:02 +05:30
parent 81678402c0
commit c21850bcdd
1 changed files with 1 additions and 1 deletions

View File

@ -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'] = [];
}
});