Browse Source

Merge pull request #901 from Tecnativa/9.0-base_import_match-fix_900

[FIX][base_import_match] Wrong domain when searching for not-transient models
pull/809/head
Pedro M. Baeza 8 years ago
committed by GitHub
parent
commit
f599cbfe2f
  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