2012-09-24 07:21:27 +00:00
|
|
|
openerp.document = function (instance) {
|
|
|
|
_t = instance.web._t;
|
2012-09-25 07:07:43 +00:00
|
|
|
instance.web.Sidebar.include({
|
2012-09-24 07:21:27 +00:00
|
|
|
init : function(){
|
|
|
|
this._super.apply(this, arguments);
|
2012-09-25 07:07:43 +00:00
|
|
|
this.sections.splice(1, 0, { 'name' : 'files', 'label' : _t('Attachment(s)'), });
|
2012-09-24 07:21:27 +00:00
|
|
|
this.items['files'] = [];
|
|
|
|
}
|
|
|
|
});
|
|
|
|
};
|