-
-
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][MIG] l10n_be_cooperator_portal #93
[16.0][MIG] l10n_be_cooperator_portal #93
Conversation
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>
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>
/ocabot migration l10n_be_cooperator_portal |
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.
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): |
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.
this should extend CooperatorPortal
from the cooperator_portal
module (which should be added to the dependencies), otherwise it removes its features.
@carmenbianca my bad: i thought that |
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.
39be5da
to
1c9dbe2
Compare
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? |
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.
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.
This comment was marked as outdated.
Sorry, something went wrong.
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.
LGTM, thanks for the fixes
/ocabot merge nobump |
On my way to merge this fine PR! |
Congratulations, your PR was merged at 56e1e74. Thanks a lot for contributing to OCA. ❤️ |
Internal task: https://gestion.coopiteasy.be/web#id=10788&action=479&model=project.task&view_type=form&menu_id=536