Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
1 Odpovědět
4662 Zobrazení

After finishing book keeping, I performed manual reconciliation. But there was a notification banner on the screen as follows:

OPENERP ERROR TypeError: self.views[v] is undefined

//openerp.orientsoftware.net:8069/web/webclient/js?db=openerp:3239

What should I do to correct it?

Avatar
Zrušit
Nejlepší odpověď

Hello,

In the file addons/web/static/src/js/view.js

replace this code :

var titles = _.map(views, function(v) { var controller = self.views[v].controller; if (v === 'form') { id = controller.datarecord.id; } return controller.get('title'); });

by this code :

var titles = _.map(views, function(v) { if (self.views[v]) { var controller = self.views[v].controller; if (v === 'form') { id = controller.datarecord.id; } return controller.get('title'); } });

Try it please and answer. Thanks.

Avatar
Zrušit

It doesn't work for me. I don't get, what's actually happening? I am an IT Developer who is still wondering how does accounting work

Related Posts Odpovědi Zobrazení Aktivita
1
čvn 24
3524
5
pro 19
6583
2
dub 17
7197
2
úno 24
1152
1
srp 23
2679