Skip to content

Commit 00fbd75

Browse files
authored
Fix adapting to changed CLI of Odoo 19 (#24)
The Odoo 19 executable has a changed command line interface, reorganizing more options by grouping them into further commands, see https://www.odoo.com/documentation/19.0/developer/reference/cli.html and the output of docker compose run --rm odoo odoo run --help Running a command requires it to be specified *before* any further command line options, which includes the `-c CONFIG_FILE`, try docker compose run --rm odoo odoo run i18n --help which until now failed to show the help for command `i18n`.
1 parent d42ff8c commit 00fbd75

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

src/doblib/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
VERSION = "0.20.6"
1+
VERSION = "0.20.7"

src/doblib/run.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,8 +85,8 @@ def start(self, args=None):
8585
sys.executable,
8686
*debug_cmd,
8787
"odoo-bin",
88+
*args,
8889
"-c",
8990
base.ODOO_CONFIG,
90-
*args,
9191
cwd=path,
9292
)

0 commit comments

Comments
 (0)