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][MIG] l10n_be_cooperator_portal #93

Merged
merged 56 commits into from
Feb 2, 2024

Conversation

carmenbianca
Copy link
Member

remytms and others added 30 commits October 2, 2023 16:54
Add the list of tax shelter certificate in the website portal.

There is some issue with the access right. This must be fixed later.

Signed-off-by: Carmen Bianca BAKKER <carmen@coopiteasy.be>
Fix access right to the subscription and the share certificate.

Signed-off-by: Carmen Bianca BAKKER <carmen@coopiteasy.be>
Signed-off-by: Carmen Bianca BAKKER <carmen@coopiteasy.be>
Signed-off-by: Carmen Bianca BAKKER <carmen@coopiteasy.be>
Signed-off-by: Carmen Bianca BAKKER <carmen@coopiteasy.be>
When using sudo, it should be done explicitly at each query.

Signed-off-by: Carmen Bianca BAKKER <carmen@coopiteasy.be>
Name the Tax Shelter Certificate correctly.

Signed-off-by: Carmen Bianca BAKKER <carmen@coopiteasy.be>
Remove wrong contributors.

Signed-off-by: Carmen Bianca BAKKER <carmen@coopiteasy.be>
Signed-off-by: Carmen Bianca BAKKER <carmen@coopiteasy.be>
Signed-off-by: Carmen Bianca BAKKER <carmen@coopiteasy.be>
Signed-off-by: Carmen Bianca BAKKER <carmen@coopiteasy.be>
Signed-off-by: Carmen Bianca BAKKER <carmen@coopiteasy.be>
Signed-off-by: Carmen Bianca BAKKER <carmen@coopiteasy.be>
Signed-off-by: Carmen Bianca BAKKER <carmen@coopiteasy.be>
Signed-off-by: Carmen Bianca BAKKER <carmen@coopiteasy.be>
Signed-off-by: Carmen Bianca BAKKER <carmen@coopiteasy.be>
Signed-off-by: Carmen Bianca BAKKER <carmen@coopiteasy.be>
Signed-off-by: Carmen Bianca BAKKER <carmen@coopiteasy.be>
Signed-off-by: Carmen Bianca BAKKER <carmen@coopiteasy.be>
Signed-off-by: Carmen Bianca BAKKER <carmen@coopiteasy.be>
Signed-off-by: Carmen Bianca BAKKER <carmen@coopiteasy.be>
Signed-off-by: Carmen Bianca BAKKER <carmen@coopiteasy.be>
Signed-off-by: Carmen Bianca BAKKER <carmen@coopiteasy.be>
Signed-off-by: Carmen Bianca BAKKER <carmen@coopiteasy.be>
Signed-off-by: Carmen Bianca Bakker <carmen@coopiteasy.be>
Signed-off-by: Carmen Bianca BAKKER <carmen@coopiteasy.be>
Signed-off-by: Carmen Bianca BAKKER <carmen@coopiteasy.be>
Signed-off-by: Carmen Bianca BAKKER <carmen@coopiteasy.be>
Signed-off-by: Carmen Bianca Bakker <carmen@coopiteasy.be>
Signed-off-by: Carmen Bianca BAKKER <carmen@coopiteasy.be>
Signed-off-by: Carmen Bianca BAKKER <carmen@coopiteasy.be>
Signed-off-by: Carmen Bianca Bakker <carmen@coopiteasy.be>
Signed-off-by: Carmen Bianca BAKKER <carmen@coopiteasy.be>
mymage and others added 3 commits October 2, 2023 16:54
Signed-off-by: Carmen Bianca BAKKER <carmen@coopiteasy.be>
Currently translated at 100.0% (9 of 9 strings)

Translation: cooperative-14.0/cooperative-14.0-l10n_be_cooperator_portal
Translate-URL: https://translation.odoo-community.org/projects/cooperative-14-0/cooperative-14-0-l10n_be_cooperator_portal/it/
Signed-off-by: Carmen Bianca BAKKER <carmen@coopiteasy.be>
Signed-off-by: Carmen Bianca BAKKER <carmen@coopiteasy.be>
@huguesdk
Copy link
Member

huguesdk commented Dec 4, 2023

/ocabot migration l10n_be_cooperator_portal

@OCA-git-bot OCA-git-bot added this to the 16.0 milestone Dec 4, 2023
@OCA-git-bot OCA-git-bot mentioned this pull request Dec 4, 2023
7 tasks
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.

this module works correctly on its own, but in its current state, it doesn’t cooperate correctly with cooperator_portal. please also look at the changes that were made to cooperator_portal while porting it to 16.0 (#91) and adapt the code accordingly.

@@ -12,15 +12,18 @@


class PortalTaxShelter(CustomerPortal):
Copy link
Member

Choose a reason for hiding this comment

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

this should extend CooperatorPortal from the cooperator_portal module (which should be added to the dependencies), otherwise it removes its features.

@huguesdk
Copy link
Member

huguesdk commented Dec 4, 2023

@carmenbianca my bad: i thought that cooperator_portal was installed on the database where i tested the changes. it wasn’t. with it installed, the features of both seems to work well, so it seems that depending on it is not needed. the other comments are still valid, though.

carmenbianca and others added 8 commits January 24, 2024 11:10
Signed-off-by: Carmen Bianca BAKKER <carmen@coopiteasy.be>
* follow the changes in PortalAccount in odoo 16 (from which it is
  derived).
* simplify by removing the useless pager.
add buttons in the list of tax shelter certificates to allow to print
them directly without needing to open the page that only contains those
buttons.
use "tax_shelter_certificate" naming everywhere (instead of a mix of
"taxshelter", "tax_shelter" and "taxshelter_certificate").
fix copyright statements: add missing ones and use the same format
everywhere.
@huguesdk huguesdk force-pushed the 16.0-mig-l10n_be_cooperator_portal branch from 39be5da to 1c9dbe2 Compare January 24, 2024 13:32
@huguesdk
Copy link
Member

i’ve added some commits to clean up and fix some things. i also added the buttons to print the certificates in the list to allow to directly print them from there (instead of needing to open the page that only contains those buttons).

@carmenbianca @robinkeunen what do you think?

Copy link
Contributor

@robinkeunen robinkeunen left a comment

Choose a reason for hiding this comment

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

A few non-blocking comments, thank you very much for these cleanup and improvements.

* use a common template for certificate print buttons.
* rename "query_string" query string parameter to "certificate_type".
@@ -56,7 +59,7 @@ def portal_my_tax_shelter_certificates(
* Tax Shelter Certificates
* Shares Certifcates
"""
values = self._prepare_portal_layout_values()
values = self._prepare_home_portal_values("tax_shelter_count")

This comment was marked as outdated.

@huguesdk huguesdk requested a review from robinkeunen January 29, 2024 14:48
Copy link
Contributor

@robinkeunen robinkeunen left a comment

Choose a reason for hiding this comment

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

LGTM, thanks for the fixes

@huguesdk
Copy link
Member

huguesdk commented Feb 2, 2024

/ocabot merge nobump

@OCA-git-bot
Copy link
Contributor

On my way to merge this fine PR!
Prepared branch 16.0-ocabot-merge-pr-93-by-huguesdk-bump-nobump, awaiting test results.

@OCA-git-bot OCA-git-bot merged commit 7b8889d into OCA:16.0 Feb 2, 2024
5 checks passed
@OCA-git-bot
Copy link
Contributor

Congratulations, your PR was merged at 56e1e74. 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.

10 participants