|
@ -185,6 +185,9 @@ class BaseException(models.AbstractModel): |
|
|
continue |
|
|
continue |
|
|
exception_ids = obj._detect_exceptions( |
|
|
exception_ids = obj._detect_exceptions( |
|
|
model_exceptions, sub_exceptions) |
|
|
model_exceptions, sub_exceptions) |
|
|
|
|
|
if set(obj.exception_ids.ids).symmetric_difference( |
|
|
|
|
|
set(exception_ids) |
|
|
|
|
|
): |
|
|
obj.exception_ids = [(6, 0, exception_ids)] |
|
|
obj.exception_ids = [(6, 0, exception_ids)] |
|
|
all_exception_ids += exception_ids |
|
|
all_exception_ids += exception_ids |
|
|
return all_exception_ids |
|
|
return all_exception_ids |
|
|