summaryrefslogtreecommitdiff
path: root/addons/document/static/src/js
diff options
context:
space:
mode:
authorAmit Patel <apa@tinyerp.com>2012-09-28 10:34:33 +0530
committerAmit Patel <apa@tinyerp.com>2012-09-28 10:34:33 +0530
commitad5a175d8be28e24921f1c2cfc4485ee8cb8fefd (patch)
tree5bd7f3961748f8b9530f2cad8411f96b22204334 /addons/document/static/src/js
parent6585e5288f1ad60ee25d059fe29a0c04c4c87883 (diff)
parentb6254d631a0515685bf26c43044fba700456d349 (diff)
[MERGE]:trunk
bzr revid: apa@tinyerp.com-20120928050433-1gb7lpwwxdfpedlu
Diffstat (limited to 'addons/document/static/src/js')
-rw-r--r--addons/document/static/src/js/document.js10
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