|
@ -185,7 +185,10 @@ class BaseException(models.AbstractModel): |
|
|
continue |
|
|
continue |
|
|
exception_ids = obj._detect_exceptions( |
|
|
exception_ids = obj._detect_exceptions( |
|
|
model_exceptions, sub_exceptions) |
|
|
model_exceptions, sub_exceptions) |
|
|
obj.exception_ids = [(6, 0, exception_ids)] |
|
|
|
|
|
|
|
|
if set(obj.exception_ids.ids).symmetric_difference( |
|
|
|
|
|
set(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 |
|
|
|
|
|
|
|
|