diff options
Diffstat (limited to 'addons/document/static/src/js/document.js')
| -rw-r--r-- | addons/document/static/src/js/document.js | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/addons/document/static/src/js/document.js b/addons/document/static/src/js/document.js new file mode 100644 index 00000000000..2dde2696c81 --- /dev/null +++ b/addons/document/static/src/js/document.js @@ -0,0 +1,10 @@ +openerp.document = function (instance) { + _t = instance.web._t; + instance.web.Sidebar.include({ + init : function(){ + this._super.apply(this, arguments); + this.sections.splice(1, 0, { 'name' : 'files', 'label' : _t('Attachment(s)'), }); + this.items['files'] = []; + } + }); +};
\ No newline at end of file |
