Fix retrieval of models list

This commit is contained in:
Andrea
2017-09-29 16:27:39 +02:00
parent 473f946148
commit 8d730802cc

View File

@@ -69,7 +69,6 @@ class IrModel(models.Model):
def _check_contains(model_model):
if 'mail' in model_model or \
'_' in model_model or \
'report' in model_model or \
'edi.' in model_model:
return 1