diff --git a/odoo-rpc.py b/odoo-rpc.py index edf271d..8965cef 100755 --- a/odoo-rpc.py +++ b/odoo-rpc.py @@ -474,7 +474,8 @@ def export_json( model, domains ): def save( model, domains ): force = OPTS['force'] if 'force' in OPTS else False models = lookup( model, domains ) - return models + unique_models = list(set(models)) + return unique_models # AUTO EXEC