Skip to content

Commit e2de1c1

Browse files
committed
Support simpler command line invocation
1 parent 6cfdeed commit e2de1c1

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

CHANGES.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,8 @@ Changelog
3131

3232
* Property :attr:`Client.verbose` to enable/disable logging.
3333

34+
* Support ``odooly https://demo.odoo.com`` for simplicity.
35+
3436

3537
2.4.7 (2025-11-07)
3638
~~~~~~~~~~~~~~~~~~

odooly.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2494,7 +2494,7 @@ def main(interact=_interact):
24942494
if not args.server:
24952495
args.server = ['-c', args.config] if args.config else DEFAULT_URL
24962496
if domain and not args.model:
2497-
args.server = args.server + domain if args.config else domain
2497+
args.server = args.server + domain if args.config else "".join(domain)
24982498
if not args.user:
24992499
args.user = ADMIN_USER
25002500
client = Client(args.server, args.db, args.user, password=args.password,

0 commit comments

Comments
 (0)