From de5e748303d5ad40b05aca51ae6b90284fbe6fc3 Mon Sep 17 00:00:00 2001 From: Jairo Llopis Date: Thu, 13 Jul 2017 09:58:59 +0200 Subject: [PATCH] [FIX][base_import_match] Wrong domain when searching for not-transient models Fixes #900 --- base_import_match/models/base_import.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/base_import_match/models/base_import.py b/base_import_match/models/base_import.py index 5c7d57384..35b7e2aec 100644 --- a/base_import_match/models/base_import.py +++ b/base_import_match/models/base_import.py @@ -21,7 +21,7 @@ class BaseImportMatch(models.Model): "Model", required=True, ondelete="cascade", - domain=[("transient ", "=", False)], + domain=[("transient", "=", False)], help="In this model you will apply the match.") model_name = fields.Char( related="model_id.model",