diff --git a/trytond/model/model.py b/trytond/model/model.py index 7fca77dca9..d63a8eee2a 100644 --- a/trytond/model/model.py +++ b/trytond/model/model.py @@ -110,7 +110,7 @@ class Model(WarningErrorMixin): if hasattr(model_obj, name) and \ callable(getattr(model_obj, name)): return getattr(model_obj, name) - raise AttributeError + raise AttributeError(name) def _inherits_reload(self): """