Skip to content
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

[16.0][FIX] sign_oca Fix sign button visibility #55

Merged

Conversation

ivs-cetmix
Copy link
Member

Before this commit

Internal user cannot sign a document if this user's partner is a child of some other partner.

Example:
User "Pepe Frog" has a partner "Meme Inc, Pepe Frog" set as user.partner_id. This is because partner "Meme Inc" is set as a company for the partner "Pepe Frog". So when user Pepe Frog is assigned to a sign request he cannot see the "Sign" button.

After this commit

User can see the "Sign" button and sign documents even if related partner has a parent partner set.

This highly likely should close #54

@OCA-git-bot
Copy link

Hi @etobella,
some modules you are maintaining are being modified, check this out!

Copy link
Member

@etobella etobella left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Makes sense to me.

Thanks for the fix

@pedrobaeza pedrobaeza added this to the 16.0 milestone Jul 16, 2024
Before this commit
------------------

Internal user cannot sign a document if this user's partner is a child of some other partner.

Example:
User "Pepe Frog" has a partner "Meme Inc, Pepe Frog" set as `user.partner_id`.
This is because partner "Meme Inc" is set as a company for the partner "Pepe Frog".
So when user Pepe Frog is assigned to a sign request he cannot see the "Sign" button.

After this commit
-----------------

User can see the "Sign" button and sign documents even if related partner has a parent partner set.
@ivs-cetmix ivs-cetmix force-pushed the 16.0-t3810-sign_oca-fix-sign_button_visibility branch from 4b2b405 to 8b470aa Compare July 16, 2024 22:22
@ivs-cetmix
Copy link
Member Author

Meanwhile another question non related to this PR:
I would like to improve to module documentation too. Can we convert module /readme files into markdown for that? It would simply the process a lot)

@etobella
Copy link
Member

Sure, be my guest

Copy link
Member

@pedrobaeza pedrobaeza left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/ocabot merge patch

@OCA-git-bot
Copy link

Hey, thanks for contributing! Proceeding to merge this for you.
Prepared branch 16.0-ocabot-merge-pr-55-by-pedrobaeza-bump-patch, awaiting test results.

@OCA-git-bot OCA-git-bot merged commit 3a679ac into OCA:16.0 Jul 17, 2024
7 checks passed
@OCA-git-bot
Copy link

Congratulations, your PR was merged at 13ddd1d. Thanks a lot for contributing to OCA. ❤️

@ivs-cetmix ivs-cetmix deleted the 16.0-t3810-sign_oca-fix-sign_button_visibility branch July 17, 2024 09:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants