Skip to content

Latest commit

 

History

History
40 lines (23 loc) · 1.01 KB

README.md

File metadata and controls

40 lines (23 loc) · 1.01 KB

My Odoo project

Setup on Windows

1- Prepare odoo sdk on your machine with python 3.10 :

a. Create a folder C:/Odoo/ and navigate to it
b. Clone odoo repo: git clone https://github.com/odoo/odoo.git
c. Create a python venv in C:/Odoo/odoo-17.0, and install requirements

2- Prepare postgres database:

username = odoo,
password = odoo,
database = PostgreSQL

Run the server

Note: You have to fix the paths in the config file, then run a command inside this project's directory:

Run server in command line

python C:\Odoo\odoo-17.0\odoo-bin -c .\conf\odoo.conf

Additional Parameters:

Run server in shell: shell
Dev mode, auto update the XML: --dev=xml

Run without the config file:

python C:\Odoo\odoo-17.0\odoo-bin -r odoo -w odoo --addons-path=addons,.\custom_modules -d PostgreSQL

Get started

Scaffold a module:

python odoo-bin scaffold scaffolded_module .\custom_modules

Happy Coding.