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

Hello,

I am just getting started setting up multi-companies setup and for that I understand I need to go to preferences in the top right menu to swtich between companies. The problem I am facing is that nothing happens when I click on the button. I went to the log to see if there was any error, but nothing there either.

Any Idea what can I do? I am running Ver 7.0-20130131-000102

Thanks!

 

EDIT: I also installed the latest buil, yet the problem persists.

UPDATE: When I run the JS tests in developer mode I get one error, the following:

 

  1. OpenERP Server Error Client Traceback (most recent call last): File "/home/ubuntu/Downloads/openerp-7.0-20130131-000102/openerp/addons/web/http.py", line 195, in dispatch response["result"] = method(self, **self.params) File "/home/ubuntu/Downloads/openerp-7.0-20130131-000102/openerp/addons/web/controllers/main.py", line 737, in duplicate return req.session.proxy("db").duplicate_database(*duplicate_attrs) File "/home/ubuntu/Downloads/openerp-7.0-20130131-000102/openerp/addons/web/session.py", line 31, in proxy_method result = self.session.send(self.service_name, method, *args) File "/home/ubuntu/Downloads/openerp-7.0-20130131-000102/openerp/addons/web/session.py", line 98, in send raise xmlrpclib.Fault('AccessDenied', openerp.tools.ustr(e)) Server Access denied.Source:

    at Object.<anonymous> (http://ec2-54-242-183-xxx.compute-1.amazonaws.com:8069/web//static/src/js/testing.js:393:17) at fire (http://ec2-54-242-183-xxx.compute-1.amazonaws.com:8069/web//static/lib/jquery/jquery-1.8.3.js:974:30) at Object.self.fireWith (http://ec2-54-242-183-xxx.compute-1.amazonaws.com:8069/web//static/lib/jquery/jquery-1.8.3.js:1084:7) at Object.self.fire [as reject] (http://ec2-54-242-183-xxx.compute-1.amazonaws.com:8069/web//static/lib/jquery/jquery-1.8.3.js:1091:10) at teardown (http://ec2-54-242-183-xxx.compute-1.amazonaws.com:8069/web//static/src/js/testing.js:129:34) at Object.failure (http://ec2-54-242-183-xxx.compute-1.amazonaws.com:8069/web//static/src/js/testing.js:107:24) at Object.<anonymous> (http://ec2-54-242-183-xxx.compute-1.amazonaws.com:8069/web//static/lib/jquery/jquery-1.8.3.js:1129:28) at fire (http://ec2-54-242-183-xxx.compute-1.amazonaws.com:8069/web//static/lib/jquery/jquery-1.8.3.js:974:30)

  2. Expected 4 assertions, but 1 were runSource:

    at testing.case (http://ec2-54-242-183-xxx.compute-1.amazonaws.com:8069/web//static/src/js/testing.js:242:15) at http://ec2-54-242-183-xxx.compute-1.amazonaws.com:8069/web_tests_demo//static/test/demo.js:88:5 at Object.testing.section (http://ec2-54-242-183-xxx.compute-1.amazonaws.com:8069/web//static/src/js/testing.js:179:9) at http://ec2-54-242-183-xxx.compute-1.amazonaws.com:8069/web_tests_demo//static/test/demo.js:1:17

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

I guess you have to give access to multi-company for your users who want many companies com switch for.

In Settings->Users->Users and add the companies which the user can switch in "Allowed Companies" section.

I guess you already did, but you have to check "Multi Companies" option to user be able to switch company through user preferences

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

Hello Rui, yes I did that and gave access to the user. It looks like a bug or something. Which version are you using? I found this https://bugs.kde.org/show_bug.cgi?id=183809

Bài viết liên quan Trả lời Lượt xem Hoạt động
3
thg 10 22
6728
0
thg 12 20
5395
0
thg 8 17
2926
1
thg 3 15
4232
4
thg 9 16
51742