Browse Source

[FIX][base_import_match] Wrong domain when searching for not-transient models

Fixes #900
pull/901/head
Jairo Llopis 7 years ago
parent
commit
de5e748303
  1. 2
      base_import_match/models/base_import.py

2
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",

Loading…
Cancel
Save