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

T1799 - Fix zoom invite Part 2 (1/2) #1664

Merged
merged 4 commits into from
Sep 23, 2024
Merged

Conversation

Prazn
Copy link
Contributor

@Prazn Prazn commented Sep 20, 2024

Description

Seems that the previous PR did not fix the bug. The issue is that the user can also access the registration even if he is not logged in, so we need to handle that case as well.

Technical Aspects

We now handle two cases when registering a partner to a zoom meeting:

  • The user is logged in, so we pass the partner_id that we can then use to see if he is already registered
  • The user is not logged in, so we call the matching method match_values_to_partner(...) from res.partner.match to get the partner_id and see if he is already registered

Misc

Took advantage of the changes to improve the UX a bit in the case where the user is already logged in, we use his information to pre-fill the registration form

… logged in cases. code works, need to see if we can make it cleaner
@Prazn Prazn self-assigned this Sep 20, 2024
@Prazn Prazn changed the title T1799 - Fix zoom invite Part 2 T1799 - Fix zoom invite Part 2 (1/2) Sep 20, 2024
@Prazn Prazn marked this pull request as ready for review September 20, 2024 11:03
Copy link

sonarcloud bot commented Sep 20, 2024

@ecino ecino merged commit 18200df into 14.0 Sep 23, 2024
1 of 2 checks passed
@ecino ecino deleted the nip/T1799-FixZoomInvitePart2 branch September 23, 2024 06:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants