diff --git a/odoo-rpc.py b/odoo-rpc.py index f1a93af..e3cd9e0 100755 --- a/odoo-rpc.py +++ b/odoo-rpc.py @@ -231,6 +231,8 @@ def lookup_model( muid ): recursive = False if ( 'recursive' in OPTS and OPTS['recursive'] ): # or ( 'format' in OPTS and 'json' in OPTS['format'] ): recursive = OPTS['recursive'] + if type(recursive) == str: + recursive = recursive.split(',') eprint( "> Recursive: %s" % (recursive) ) _tree = {}