콘텐츠로 건너뛰기
메뉴
커뮤니티에 참여하려면 회원 가입을 하시기 바랍니다.
신고된 질문입니다
1 회신
1610 화면

I am currently working on setting up the POB "PrestaShop Odoo Bridge," and I've encountered a bit of a roadblock. I am at the stage where I need to configure the POB Connection in the Odoo Mapping > Odoo Configuration section. However, I am unsure about how to find the necessary information to fill in the required fields, which include the URL, Port, Database, Username, Password, and Instance ID.


I would greatly appreciate it if you could provide some guidance on where and how to find these details.

아바타
취소
베스트 답변
For Odoo Online:

Odoo Online does not require a port number.

The server url is the instance's domain (e.g. https://mycompany.odoo.com), the database name is the name of the instance (e.g. mycompany).

 The username is the configured user's login as shown by the Change Password screen.


To use XML-RPC on Odoo Online instances, you will need to set a password on the user account you want to use:

  • Log in your instance with an administrator account.
  • Go to Settings ‣ Users & Companies ‣ Users.
  • Click on the user you want to use for XML-RPC access.
  • Click on Action and select Change Password.
  • Set a New Password value then click Change Password.


Starting from Odoo 14 you can generate api keys.

So instead of password you should use an API key.

To add a key to your account, simply go to your Preferences (or My Profile)

Then open the Account Security tab, and click New API Key.


For localhost:

URL and port is:

http://localhost:8069/


When you start odoo from command line you can see how to access it:

INFO ? odoo.service.server: HTTP service (werkzeug) running on localhost:8069

Default username for localhost is "admin".

The default database for localhost will be something like "odoo16". (if it is on Odoo 16)

For localhost instead of password use a generated API key.


Instance Id - I don't know. Try set it to one -  1


PS: I have created a wordpress plugin that connects to Odoo.

It requires the same data to connect to Odoo API.


아바타
취소
관련 게시물 답글 화면 활동
1
4월 25
1898
Odoo App 해결 완료
1
11월 23
2549
0
5월 24
2250
0
10월 25
3197
0
9월 23
2830