Skip to content

jum-odoo/Odoo-CLI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Odoo-CLI

Requirements:

  • Odoo and all of its requirements (Python 3, PostgreSQL, etc.)
  • Bun (recommended, can be used with other TS runtimes)

Setup:

Pull the repo and run the main file with your TS runtime (replace bun with ts-node, deno, ...):

bun .

For ease of use, it is recommended to create an alias in ~/.bashrc (or similar .rc files):

alias odoo="bun <PATH/TO/ODOO-CLI>"

Examples:

Run the server on the current branch's database with default ports and addon-paths:

odoo

Run the server with a different database, only with community addons:

odoo -d other_db --community

Drop the current database, create a new one with default addons (i.e. crm, project and website), and start it right after:

odoo create default --start

Run client unit tests from the server

odoo test .test_unit_desktop

Edit memory log sources and generate memory graph from a list of runbot links

odoo memory edit # paste links on each line in the file
odoo memory --open

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •