[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:
@@ -0,0 +1,3 @@
|
||||
from .cli.command import main
|
||||
|
||||
main()
|
||||
Reference in New Issue
Block a user