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

12.0 add customer team manager #319

Open
wants to merge 39 commits into
base: 12.0
Choose a base branch
from
Open

Conversation

fcayre
Copy link
Collaborator

@fcayre fcayre commented Sep 16, 2024

No description provided.

Copy link

codecov bot commented Sep 16, 2024

Codecov Report

Attention: Patch coverage is 97.71987% with 14 lines in your changes missing coverage. Please review.

Project coverage is 93.54%. Comparing base (8cadc5a) to head (fc76481).

Files with missing lines Patch % Lines
customer_team_manager/models/employee.py 93.60% 2 Missing and 6 partials ⚠️
customer_team_manager/models/role.py 82.35% 3 Missing ⚠️
customer_team_manager/tests/common.py 96.55% 0 Missing and 2 partials ⚠️
customer_team_manager/models/team.py 94.44% 0 Missing and 1 partial ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             12.0     #319      +/-   ##
==========================================
+ Coverage   93.32%   93.54%   +0.21%     
==========================================
  Files         310      325      +15     
  Lines       10832    11412     +580     
  Branches     1337     1418      +81     
==========================================
+ Hits        10109    10675     +566     
- Misses        532      537       +5     
- Partials      191      200       +9     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@fcayre fcayre force-pushed the 12.0-add-customer-team-manager branch 17 times, most recently from 41f6b69 to f87ffbc Compare September 23, 2024 17:27
@fcayre fcayre force-pushed the 12.0-add-customer-team-manager branch 3 times, most recently from 92d1b77 to 85569f1 Compare September 27, 2024 06:54
... to allow calling it with partner which already have an employee without crashing
and emit an information notification summary of what was actually created and what
was pre-existing.
Archiving is the preferred way to 'forget' all about an employee.
….partner

Namely: firstname, lastname, phone, image and email

Note that changing an employee email that has portal access is not permitted
(to customer admins) for the sake of security. Granting portal access will
be made secure in an upcoming commit.
This wizard is used to warn the user this operation has security
implications.

It also asks the user to input its password and checks it on wizard
creation (without storing it in the db, for the sake of security).

The wizard can be executed on employees with any portal status as it
filters out those which have already been granted the portal access.
When an employee had a role and portal access, revocation did not work
because its role group implies the portal group.
To fix this, we remove the portal group from the employee's (if it
exists) before resetting the employee's groups.
We need it to be attractive for customers.
German translation still to be done.

A duplicated message was removed to fix a gettext tool error in payment_slimpay_issue/i18n/fr.po
@fcayre fcayre force-pushed the 12.0-add-customer-team-manager branch 2 times, most recently from 1cd5fd8 to bea5665 Compare October 14, 2024 10:15
@fcayre fcayre force-pushed the 12.0-add-customer-team-manager branch from bea5665 to c2bd968 Compare October 14, 2024 10:40
@fcayre fcayre force-pushed the 12.0-add-customer-team-manager branch from c2bd968 to fc76481 Compare October 14, 2024 12:44
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.

2 participants