← Back to team overview

openerp-india team mailing list archive

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

 

Hello Jignesh Rathod

Did you install a mail module.

I think it's related to mail module. Because I checked some variable
value on javascript when this error occured.

this.name == 'emails'
this.field.relation == 'mail.message'
this.view_manager == undefined

-- 
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:
  Incomplete

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


References