-
-
Notifications
You must be signed in to change notification settings - Fork 23
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
Conversation
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.
Tagging two things. One is a definite must-fix before merging.
l10n_be_cooperator_portal_national_number/controllers/portal.py
Outdated
Show resolved
Hide resolved
ada8b2f
to
b5220bf
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.
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)
b5220bf
to
8db4444
Compare
@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. |
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.
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
: minorl10n_be_cooperator_website_national_number
: patchl10n_be_cooperator_portal_national_number
: nobump
l10n_be_cooperator_portal_national_number/controllers/portal.py
Outdated
Show resolved
Hide resolved
l10n_be_cooperator_portal_national_number/controllers/portal.py
Outdated
Show resolved
Hide resolved
l10n_be_cooperator_portal_national_number/controllers/portal.py
Outdated
Show resolved
Hide resolved
8db4444
to
089cc75
Compare
added all improvements in fixups @huguesdk please review again, and then i'll rebase + open more PRs |
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.
thanks for the fix !
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.
thanks for the changes! almost there!
l10n_be_cooperator_national_number/models/res_partner_id_category.py
Outdated
Show resolved
Hide resolved
l10n_be_cooperator_national_number/models/res_partner_id_category.py
Outdated
Show resolved
Hide resolved
l10n_be_cooperator_national_number/models/subscription_request.py
Outdated
Show resolved
Hide resolved
l10n_be_cooperator_portal_national_number/controllers/portal.py
Outdated
Show resolved
Hide resolved
l10n_be_cooperator_portal_national_number/controllers/portal.py
Outdated
Show resolved
Hide resolved
b56398f
to
8c7f961
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.
almost there!
l10n_be_cooperator_portal_national_number/controllers/portal.py
Outdated
Show resolved
Hide resolved
8c7f961
to
b743b81
Compare
1f30267
to
ff523dc
Compare
ff523dc
to
eb50795
Compare
Signed-off-by: Carmen Bianca BAKKER <carmen@coopiteasy.be>
eb50795
to
3b99f61
Compare
taking liberty to merge after intense reviews /ocabot merge nobump |
Hey, thanks for contributing! Proceeding to merge this for you. |
Congratulations, your PR was merged at d17d05a. Thanks a lot for contributing to OCA. ❤️ |
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=