Skip to content

GhassanAlKaraan/odoo-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

49 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

My first Odoo project.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages