From 11b2e04f396aba790edd41fd04b15511c2b4c8a6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Bidoul?= Date: Thu, 23 Dec 2021 13:54:28 +0000 Subject: [PATCH] [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) --- odoo/__main__.py | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 odoo/__main__.py diff --git a/odoo/__main__.py b/odoo/__main__.py new file mode 100644 index 0000000000000..fff693f2ed4d0 --- /dev/null +++ b/odoo/__main__.py @@ -0,0 +1,3 @@ +from .cli.command import main + +main()