← Back to team overview

openerp-india team mailing list archive

[Bug 1008862] [NEW] [6.1] emails field on res.partner view error

 

Public bug reported:


I have view error on 6.1.1 version. If i go to Sales/Address
Book/Customers and click one partner then getting this errors.

Uncaught Error: TypeError: Cannot read property 'views' of undefined

I checked some code in javascript and i found error reason.

addons/web/static/src/js/view_form.js line 2505:   this.viewmanager is
undefined.

if (!this.viewmanager.views[this.viewmanager.active_view])
        return;

Then i changed like this:
if (this.view_manager === undefined || !this.viewmanager.views[this.viewmanager.active_view])
            return;

** Affects: openobject-server
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Server.
https://bugs.launchpad.net/bugs/1008862

Title:
  [6.1] emails field on res.partner view error

Status in OpenERP Server:
  New

Bug description:

  I have view error on 6.1.1 version. If i go to Sales/Address
  Book/Customers and click one partner then getting this errors.

  Uncaught Error: TypeError: Cannot read property 'views' of undefined

  I checked some code in javascript and i found error reason.

  addons/web/static/src/js/view_form.js line 2505:   this.viewmanager is
  undefined.

  if (!this.viewmanager.views[this.viewmanager.active_view])
          return;

  Then i changed like this:
  if (this.view_manager === undefined || !this.viewmanager.views[this.viewmanager.active_view])
              return;

To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-server/+bug/1008862/+subscriptions


Follow ups

References