[IMP] core: add odoo.__main__

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.

closes odoo/odoo#81864

Signed-off-by: Vincent Schippefilt (vsc) <vsc@odoo.com>
This commit is contained in:
Stéphane Bidoul
2022-10-19 15:12:44 +02:00
parent 16219df38e
commit 8e040df274
+3
View File
@@ -0,0 +1,3 @@
from .cli.command import main
main()