diff --git a/odoo-rpc.py b/odoo-rpc.py index e6718e2..309c9fb 100755 --- a/odoo-rpc.py +++ b/odoo-rpc.py @@ -348,10 +348,12 @@ def flatten_stack( data ): if type(obj) == list: eprint( 'is a list') for item in obj: - print( 'item: ', item) + print( 'item: ', item, type(item)) if type(item) == str: + eprint( 'sub item is a str') flat.append( item ) if type(item) == dict: + eprint( 'sub item is a dict') flatten( item ) if type(obj) == str: