diff --git a/oca_port/exceptions.py b/oca_port/exceptions.py index ef689cc..673a55d 100644 --- a/oca_port/exceptions.py +++ b/oca_port/exceptions.py @@ -9,4 +9,6 @@ def __init__(self, entity): class RemoteBranchValueError(ValueError): - pass + def __init__(self, entity): + super().__init__(entity._ref) + self.entity = entity