diff --git a/product/ERP5/ExplanationCache.py b/product/ERP5/ExplanationCache.py index 2c5cb1576e0c50f8dfe37e17a0e14a15eb351a26..38e0bd5f66c3fbe3785b2d31819a7be02b581bb5 100644 --- a/product/ERP5/ExplanationCache.py +++ b/product/ERP5/ExplanationCache.py @@ -325,6 +325,8 @@ class ExplanationCache: try: result = cache[reference_date_key] if result is self: # use self as marker to detect infinite recursion + __traceback_info__ = (business_process.getPath(), trade_phase, + reference_date_method_id, delay_mode) raise ValueError('No reference date is defined, probably due to missing Trade Model Path in Business Process') return result except KeyError: