Skip to content

Commit

Permalink
core: add odoo.__main__
Browse files Browse the repository at this point in the history
This allows launching Odoo with "python -m odoo".

This manner of launching python applications is now widespread.
In particular it makes it easier to configure an IDE debugger to run with the correct python version.
  • Loading branch information
sbidoul authored and rousseldenis committed Jul 2, 2024
1 parent cc546ef commit 694822a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions odoo/__main__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
from .cli.command import main

main()

0 comments on commit 694822a

Please sign in to comment.