diff --git a/sign_oca/models/sign_oca_request.py b/sign_oca/models/sign_oca_request.py index 910b28b7..719661da 100644 --- a/sign_oca/models/sign_oca_request.py +++ b/sign_oca/models/sign_oca_request.py @@ -156,7 +156,7 @@ def get_info(self): "name": self.name, "items": self.signatory_data, "roles": [ - {"id": signer.id, "name": signer.role_id.name} + {"id": signer.role_id.id, "name": signer.role_id.name} for signer in self.signer_ids ], "fields": [