Các bước cài đặt cũng như bản thông thường nhưng có phần thư viện phải nạp bổ sung khác 1 chút.
tham khảo: //github.com/guohuadeng/odoo12-x64
Download and install Node.js LTS.
LaunchCommand Promptas Administrator.
- Install
Less.jsby> npm install -g less less-plugin-clean-css
Download and installPostgreSQL, có thể dùng bản 64bit ver dưới 10 thôi.
add PostgreSQL’sbindirectory (default:C:\Program Files\PostgreSQL\x.x\bin) to yourPATH.
create apostgresuser with a password using thePgAdminGUI:
- open
PgAdmin4, - expand
servernode to create a connection, - expand
PostgreSQLnode, - selectObject-> Create -> Login/Group Role,
- enter the username in the
Role Namefield (e.g. odoo), - open the
Definitiontab and enter the password (e.g. odoo), - open the
Privilegestab and giveloginandcreate databaserights,
- enter the username in the
- click
save.
Download and installMicrosoft Visual C++ 2015 Redistributable.
Download and installPython3version 3.6.
- goto
Python3installation directory (default:C:\Users\{UserName}\AppData\Local\Programs\Python\PythonXX. - rename
python.exetopython3.exeandpythonw.exetopythonw3.exe. - add
Python3installation directory (default:C:\Users\{UserName}\AppData\Local\Programs\Python\PythonXX) to yourPATH.
AfterVisual C++ 2015 Build Toolsinstallation process completes, launchCommand Promptas Administrator
- Install
pypiwin32by> python3 -m pip install pypiwin32 - Install
Pillowby> python3 -m pip install pillow - Install
geventby> python3 -m pip install gevent - Install
lxmlby> python3 -m pip install lxml - Install
psutilby> python3 -m pip install psutil - Install
psycopg2by> python3 -m pip install psycopg2 - Install
pyldapby> python3 -m pip install pyldap (nếu bị lỗi hay chạy bằng whl) - Install
reportlabby> python3 -m pip install reportlab
Cài pyldap bị lỗi thì chạy bằng lệnhpip3 install pyldap-2.4.45-cp36-cp36m-win_amd64.whl
Download file pyldap-2.4.45-cp36-cp36m-win_amd64.whl
Download and install wkhtmltopdf.
Add wkhtmltopdf’sbindirectory (default:C:\Program Files\wkhtmltopdf\bin) to yourPATH.
LaunchCommand Prompt.
Switch to (cd) your desiredodooinstallation directory
cloneodoo//github.com/odoo/odoo/archive/12.0.zip
Switch toodooinstallation directory and runodoousing$ python3 odoo-bin -w odoo -r odoo --addons-path=addons --log-level=debug_rpc
Một vài lỗi có thể cài về version cũ trong file extra
pip3 install -r .\requirements.txt -i //mirrors.aliyun.com/pypi/simple
pip3 install .\extra\Pillow-5.4.1-cp36-cp36m-win_amd64.whl
pip3 install .\extra\psycopg2-2.7.7-cp36-cp36m-win_amd64.whl
pip3 install .\extra\pyldap-2.4.45-cp36-cp36m-win_amd64.whl
pip3 install .\extra\reportlab-3.5.13-cp36-cp36m-win_amd64.whl
pip3 install .\extra\Werkzeug-0.14.1-py2.py3-none-any.whl
pip3 install .\extra\pywin32-224-cp36-cp36m-win_amd64.whl
pip3 install .\extra\wandex-0.4.5-py3-none-any.whl
pip3 install .\extra\imageio-2.5.0-py3-none-any.whl
pip3 install .\extra\moviepy-1.0.0-py2.py3-none-any.whl
pip3 install .\extra\psutil-5.6.1-cp36-cp36m-win_amd64.whl
pip3 install .\extra\lxml-4.2.3-cp36-cp36m-win_amd64.whl
pip3 install .\extra\psutil-5.6.1-cp36-cp36m-win_amd64.whl Nếu lỗi không đọc được module web thìpip3 uninstall jinja2
pip3 install Jinja2==2.10.1
pip3 install libsass==0.12.3

Bài viết liên quan: