← Back to team overview

openerp-india team mailing list archive

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

 

It was wrong declaration of inherited xml view. I don't remember how i
fixed that.
Sorry

On Tue, Sep 18, 2012 at 4:05 PM, Richard Lundberg <
1008862@xxxxxxxxxxxxxxxxxx> wrote:

> I have the same problem. Could you say what the data problem was, and
> the fix?
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1008862
>
> Title:
>   [6.1] emails field on res.partner view error
>
> Status in OpenERP Server:
>   Invalid
>
> 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
>


-- 
Хүндэтгэсэн

*Басхүү.Л*
United Solutions International
*Phone: 88005487*
*
*
Хувь заяа бол магадлалын асуудал биш. Энэ бол сонголт. Түүнийг хүлээх биш,
бүтээх учиртай.

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

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