Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
1 Trả lời
4829 Lượt xem

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?

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

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.

Ảnh đại diện
Huỷ bỏ

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

Bài viết liên quan Trả lời Lượt xem Hoạt động
1
thg 6 24
3700
5
thg 12 19
6783
2
thg 4 17
7367
2
thg 2 24
1301
1
thg 8 23
2865