Display the actual wrong ids in domain rule error message
Closes #12907 (grafted from 4ebe825f8202d35630c08b0fbd5d1c93bd9124c3) --HG-- branch : 6.0
This commit is contained in:
@@ -1251,7 +1251,7 @@ class ModelSQL(ModelStorage):
|
||||
model = cls.__name__
|
||||
if Model:
|
||||
model = Model.get_name(cls.__name__)
|
||||
ids = ', '.join(map(str, ids[:5]))
|
||||
ids = ', '.join(map(str, wrong_ids[:5]))
|
||||
if len(wrong_ids) > 5:
|
||||
ids += '...'
|
||||
if domain:
|
||||
|
||||
Reference in New Issue
Block a user