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

Can anyone helpme to find solution in this error?

When i want change to the Diagram View in the Panel Technical>Workflows>Worflows i get this error. 



Traceback (most recent call last):
File "/opt/openerp/server/openerp/http.py", line 470, in dispatch result = self._call_function(**self.params)
File "/opt/openerp/server/openerp/http.py", line 294, in _call_function return checked_call(self.db, *args, **kwargs)
File "/opt/openerp/server/openerp/service/model.py", line 113, in wrapper return f(dbname, *args, **kwargs)
File "/opt/openerp/server/openerp/http.py", line 291, in checked_call return self.endpoint(*a, **kw)
File "/opt/openerp/server/openerp/http.py", line 638, in __call__ return self.method(*args, **kw)
File "/opt/openerp/server/openerp/http.py", line 337, in response_wrap response = f(*args, **kw)
TypeError: get_diagram_info() takes exactly 9 arguments (8 given)

 

Thanks a lot.

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

You are probably not using the right branch. Try with v8 branch. This is a bug that has been fixed a long time ago

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

I just update the "http.py" file and the error was fixed.

Thanks Fabien PInckaers.

Ảnh đại diện
Huỷ bỏ
Tác giả

This branch: https://github.com/odoo/odoo/blob/master/openerp/http.py

Bài viết liên quan Trả lời Lượt xem Hoạt động
2
thg 10 24
8669
2
thg 1 24
16145
2
thg 8 23
3182
0
thg 7 17
6345
5
thg 6 17
7574