Odoo ERP开源安装

时间:2025-02-12 10:45:01

安装好操作系统windows2022
下载好安装包
安装,主要配置信息

localhost:5432
username:openpg
password:openpg2024@pwd

ip:8069
master password:k9cx-q5dy-fazp
database myodoo
email:ayong@myodoo.com
password:k9cx-q5dy-fazp

安装提示数据库管理地址:
http://localhost:8069/web/database/selector
http://localhost:8069/web/database/manager

vscode:
Go to File > Open Folder and select the ODOO 18 server folder (e.g., C:\ODOO18\server)
Install the Python extension if not already present

错误:
The following modules failed to load because of an error, you may find more information in the devtools console:
@web/core/browser/router
The following modules could not be loaded because they have unmet dependencies, this is a secondary error which is likely caused by one of the above problems:
@web/core/debug/debug_menu_items
@web/core/debug/debug_providers
@web/core/errors/scss_error_dialog
@web/core/file_viewer/file_model
@web/core/signature/name_and_signature
@web/core/signature/signature_dialog
@web/core/user_switch/user_switch

日志路径:
C:\Program Files\Odoo 18.0.20241223\server\odoo.txt

开发环境
To prepare Visual Studio Code for ODOO development:

Click on “Run” and select “Add Configuration”
Choose “Python” and then “Python File”
Replace the contents of the launch.json file with the provided configuration (ensure paths match your installation)
Open the odoo.conf file and verify database settings
Running ODOO 18
Now, let’s start ODOO 18:

In Visual Studio Code, click “Run” and select “Run Without Debugging”
Wait for the server to start (you’ll see a message indicating it’s running)
Open a web browser and navigate to http://localhost:8069

安装windows2019。一切迎刃而解,但是感觉速度很慢。