[IMP] add attachment menu at second position
bzr revid: rgaopenerp-20120924115202-zq5k5130te1m1j4h
This commit is contained in:
parent
81678402c0
commit
c21850bcdd
|
@ -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'] = [];
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue