-
-
Notifications
You must be signed in to change notification settings - Fork 32
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[18.0][IMP] sign_oca: enable signing from portal #78
base: 18.0
Are you sure you want to change the base?
Conversation
Hi @etobella, |
here is what you asked me for :) |
Hi @victoralmau, I am happy with your review here, forgive me for being stressed last week as in order to upgrade some modules I was fixing test cases and some code which was not easy to accomplish. Best, |
bd021f1
to
dd9a2b9
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for adding it to sign_oca
directly. I guess #77 could be closed (to avoid confusion).
dd9a2b9
to
9074efa
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code and functional review OK.
A functional comment, if the text indicated is “View, or sign documents” I think that all the requests should be shown (not only the ones pending to sign), what do you think?
I will discuss this with Mr. Don. |
@etobella |
@@ -109,3 +110,62 @@ def get_sign_oca_sign_access( | |||
return signer_sudo.action_sign( | |||
items, access_token=access_token, latitude=latitude, longitude=longitude | |||
) | |||
|
|||
def get_sign_requests_domain(self, request): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you add some tests?
Here you can find some examples:
https://github.com/OCA/sign/blob/16.0/sign_oca/tests/test_sign_portal.py#L49
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@etobella
Once I get some time I will add test cases, thanks!
adding a new feature by enabling portal users from signing their documents from portal in addition to signing it from emails too.