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

V2 map employees api #430

Merged
merged 15 commits into from
Oct 20, 2023
Merged

V2 map employees api #430

merged 15 commits into from
Oct 20, 2023

Conversation

Ashutosh619-sudo
Copy link
Contributor

No description provided.

@Ashutosh619-sudo Ashutosh619-sudo temporarily deployed to CI Environment October 19, 2023 10:45 — with GitHub Actions Inactive
@github-actions
Copy link

Tests Skipped Failures Errors Time
204 0 💤 0 ❌ 0 🔥 32.302s ⏱️

@codecov
Copy link

codecov bot commented Oct 19, 2023

Codecov Report

Merging #430 (8f6cbb7) into master (779dab5) will decrease coverage by 0.43%.
The diff coverage is 58.33%.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #430      +/-   ##
==========================================
- Coverage   95.60%   95.17%   -0.43%     
==========================================
  Files          34       37       +3     
  Lines        4138     4186      +48     
==========================================
+ Hits         3956     3984      +28     
- Misses        182      202      +20     
Files Coverage Δ
apps/workspaces/models.py 98.92% <ø> (ø)
apps/workspaces/apis/map_employees/triggers.py 83.33% <83.33%> (ø)
apps/workspaces/apis/map_employees/views.py 85.71% <85.71%> (ø)
apps/workspaces/apis/map_employees/serializers.py 48.57% <48.57%> (ø)

Comment on lines 32 to 34
if configuration and (configuration_instance.employee_field_mapping != configuration['employee_field_mapping']):
configuration_instance.reimbursable_expenses_object = None
configuration_instance.save()
Copy link
Contributor

Choose a reason for hiding this comment

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

why is this block required?

workspace_id=workspace_id, defaults={'employee_field_mapping': configuration['employee_field_mapping'], 'auto_map_employees': configuration['auto_map_employees']}
)

MapEmplyeesTriggers.run_workspace_general_settings_triggers(configuration=configuration_instance)
Copy link
Contributor

Choose a reason for hiding this comment

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

run_configurations_triggers

from apps.workspaces.models import Configuration


class MapEmplyeesTriggers:
Copy link
Contributor

Choose a reason for hiding this comment

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

MapEmployeesTriggers

@Ashutosh619-sudo Ashutosh619-sudo temporarily deployed to CI Environment October 20, 2023 11:27 — with GitHub Actions Inactive
@Ashutosh619-sudo Ashutosh619-sudo temporarily deployed to CI Environment October 20, 2023 11:29 — with GitHub Actions Inactive
@github-actions
Copy link

Tests Skipped Failures Errors Time
204 0 💤 0 ❌ 0 🔥 30.633s ⏱️

@github-actions
Copy link

Tests Skipped Failures Errors Time
204 0 💤 0 ❌ 0 🔥 27.035s ⏱️

@Ashutosh619-sudo Ashutosh619-sudo temporarily deployed to CI Environment October 20, 2023 11:36 — with GitHub Actions Inactive
@github-actions
Copy link

Tests Skipped Failures Errors Time
204 0 💤 0 ❌ 0 🔥 29.136s ⏱️

@Ashutosh619-sudo Ashutosh619-sudo merged commit 16509b3 into master Oct 20, 2023
1 of 3 checks passed
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.

3 participants