Skip to content

Commit

Permalink
[FIX] sign_oca: Define the correct url to be set in the email that is…
Browse files Browse the repository at this point in the history
… sent to the signers so that everyone can sign

Example use case:
- Create a request
- Define 2 different signers
- Click on the Send button
- 2 emails will be sent and each one will have the correct url in the Sign document button

Related to OCA#71
  • Loading branch information
victoralmau committed Nov 11, 2024
1 parent 48ee7e1 commit 242fbce
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions sign_oca/models/sign_oca_request.py
Original file line number Diff line number Diff line change
Expand Up @@ -393,6 +393,7 @@ def _compute_is_allow_signature(self):
not item.signed_on and item.partner_id == user.partner_id
)

@api.depends("access_token")
def _compute_access_url(self):
result = super()._compute_access_url()
for record in self:
Expand Down

0 comments on commit 242fbce

Please sign in to comment.