diff options
| author | Fabien Meghazi <fme@openerp.com> | 2012-10-02 09:49:31 +0200 |
|---|---|---|
| committer | Fabien Meghazi <fme@openerp.com> | 2012-10-02 09:49:31 +0200 |
| commit | 4d2299adc4e9d7db2cb52a79cf4ab8ebaad707ae (patch) | |
| tree | 8a45a95b39d3b060fdef188f3da8a70fbfe20ad5 /addons/document/static | |
| parent | 32d492acf9db0a57487a1c6c47e4311d842e99f7 (diff) | |
| parent | a5fac44994a5d2c0e20cdde0bf72ef152d2342dd (diff) | |
[MERGE] trunk
bzr revid: fme@openerp.com-20121002074931-845aiqhflw2rqrcn
Diffstat (limited to 'addons/document/static')
| -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 |
