[IMP] remove attachment from top toolbar, it should be only appear after document module install
bzr revid: rgaopenerp-20120924071739-kmtr48m64xk82use
This commit is contained in:
@@ -930,12 +930,10 @@ instance.web.Sidebar = instance.web.Widget.extend({
|
||||
var view = this.getParent();
|
||||
this.sections = [
|
||||
{ 'name' : 'print', 'label' : _t('Print'), },
|
||||
{ 'name' : 'files', 'label' : _t('Attachment(s)'), },
|
||||
{ 'name' : 'other', 'label' : _t('More'), }
|
||||
];
|
||||
this.items = {
|
||||
'print' : [],
|
||||
'files' : [],
|
||||
'other' : []
|
||||
};
|
||||
this.fileupload_id = _.uniqueId('oe_fileupload');
|
||||
|
||||
Reference in New Issue
Block a user