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

[REF] Split cooperator_website into cooperator_website_recaptcha #312

Merged

Conversation

carmenbianca
Copy link
Member

@carmenbianca carmenbianca commented Apr 15, 2022

Description

Fix #283

Odoo task (if applicable)

Checklist before approval

  • Tests are present (or not needed).
  • Credits/copyright have been changed correctly.
  • (If a new module) Moving this to OCA has been considered.

Signed-off-by: Carmen Bianca Bakker <carmen@coopiteasy.be>
@codecov-commenter
Copy link

codecov-commenter commented Apr 15, 2022

Codecov Report

❗ No coverage uploaded for pull request base (12.0-komunigi@609ebc6). Click here to learn what that means.
The diff coverage is n/a.

@@               Coverage Diff                @@
##             12.0-komunigi     #312   +/-   ##
================================================
  Coverage                 ?   54.20%           
================================================
  Files                    ?      116           
  Lines                    ?     4044           
  Branches                 ?      614           
================================================
  Hits                     ?     2192           
  Misses                   ?     1774           
  Partials                 ?       78           

📣 Codecov can now indicate which changes are the most critical in Pull Requests. Learn more

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.

LGTM 👍
Note : I discussed with Pol of whether we keep the configuration to disable the recaptcha, and the answer is yes :)

Comment on lines +15 to +18
redirect = "cooperator_website.becomecooperator"

is_company = kwargs.get("is_company") == "on"

Copy link
Member

Choose a reason for hiding this comment

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

Arf this duplication is painful but I don't see a way around it, the original controller really needs some serious refactoring !

Signed-off-by: Carmen Bianca Bakker <carmen@coopiteasy.be>
@victor-champonnois victor-champonnois merged commit 279d34b into 12.0-komunigi May 3, 2022
@victor-champonnois victor-champonnois deleted the 12.0-komunigi-cooperator_website_recaptcha branch May 3, 2022 15:12
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.

None yet

3 participants