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][ADD] l10n_be_cooperator_portal_national_number #131

Merged
merged 1 commit into from
Jun 14, 2024

Conversation

carmenbianca
Copy link
Member

@carmenbianca carmenbianca commented Jun 10, 2024

Add a way for users to change their national number

Depends on #133, #134, #136

Internal task: https://gestion.coopiteasy.be/web#view_type=form&model=project.task&id=12581&active_id=12581&menu_id=

Copy link
Member Author

@carmenbianca carmenbianca left a comment

Choose a reason for hiding this comment

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

Tagging two things. One is a definite must-fix before merging.

@carmenbianca carmenbianca force-pushed the 16.0-change-nat-num branch from ada8b2f to b5220bf Compare June 10, 2024 10:55
Copy link
Member

@victor-champonnois victor-champonnois left a comment

Choose a reason for hiding this comment

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

I found one issue, in the account details form, if I leave the national number empty, I cannot validate because I have an error "The national number is not valid.". This should not happen, I should be able to leave it empty (it's not a required field, at least not on the partner)

@carmenbianca carmenbianca force-pushed the 16.0-change-nat-num branch from b5220bf to 8db4444 Compare June 10, 2024 17:08
@carmenbianca
Copy link
Member Author

@victor-champonnois Fixed your bug + module should now respect company-wide setting on whether national numbers are required.

This may mean that partners who previously had no national number (for unknown reasons) can now no longer change any other fields unless they now also add a national number.

Copy link
Member

@huguesdk huguesdk left a comment

Choose a reason for hiding this comment

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

thanks for this important feature!

there is some refactoring needed.

please separate the new module code from the refactoring is a separate pull requests (on top of each other). this would allow ocabot to correctly increment the version numbers:

  • l10n_be_cooperator_national_number: minor
  • l10n_be_cooperator_website_national_number: patch
  • l10n_be_cooperator_portal_national_number: nobump

@carmenbianca carmenbianca force-pushed the 16.0-change-nat-num branch from 8db4444 to 089cc75 Compare June 11, 2024 09:23
@carmenbianca
Copy link
Member Author

added all improvements in fixups @huguesdk

please review again, and then i'll rebase + open more PRs

@carmenbianca carmenbianca requested a review from huguesdk June 11, 2024 10:21
Copy link
Member

@victor-champonnois victor-champonnois left a comment

Choose a reason for hiding this comment

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

thanks for the fix !

Copy link
Member

@huguesdk huguesdk left a comment

Choose a reason for hiding this comment

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

thanks for the changes! almost there!

Copy link
Member

@huguesdk huguesdk left a comment

Choose a reason for hiding this comment

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

almost there!

Signed-off-by: Carmen Bianca BAKKER <carmen@coopiteasy.be>
@carmenbianca carmenbianca force-pushed the 16.0-change-nat-num branch from eb50795 to 3b99f61 Compare June 14, 2024 08:59
@carmenbianca
Copy link
Member Author

taking liberty to merge after intense reviews

/ocabot merge nobump

@OCA-git-bot
Copy link
Contributor

Hey, thanks for contributing! Proceeding to merge this for you.
Prepared branch 16.0-ocabot-merge-pr-131-by-carmenbianca-bump-nobump, awaiting test results.

@OCA-git-bot OCA-git-bot merged commit cd64580 into OCA:16.0 Jun 14, 2024
5 of 7 checks passed
@OCA-git-bot
Copy link
Contributor

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

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.

4 participants