From 2fd06a53de196ca2d85c6530962b34e14e833e06 Mon Sep 17 00:00:00 2001 From: "RGA(OpenERP)" <> Date: Tue, 25 Sep 2012 12:37:43 +0530 Subject: [PATCH] fix typo bzr revid: rgaopenerp-20120925070743-5wg90i03onym8826 --- addons/document/static/src/js/document.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/addons/document/static/src/js/document.js b/addons/document/static/src/js/document.js index 0a99fd4ef56..2dde2696c81 100644 --- a/addons/document/static/src/js/document.js +++ b/addons/document/static/src/js/document.js @@ -1,9 +1,9 @@ openerp.document = function (instance) { _t = instance.web._t; - instance.web.SidebarAttachement =instance.web.Sidebar.include({ + instance.web.Sidebar.include({ init : function(){ this._super.apply(this, arguments); - this.sections. splice(1, 0, { 'name' : 'files', 'label' : _t('Attachment(s)'), }); + this.sections.splice(1, 0, { 'name' : 'files', 'label' : _t('Attachment(s)'), }); this.items['files'] = []; } });