-
Notifications
You must be signed in to change notification settings - Fork 3
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
V2 map employees api #430
Conversation
|
Codecov Report
Additional details and impacted files@@ 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
|
if configuration and (configuration_instance.employee_field_mapping != configuration['employee_field_mapping']): | ||
configuration_instance.reimbursable_expenses_object = None | ||
configuration_instance.save() |
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.
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) |
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.
run_configurations_triggers
from apps.workspaces.models import Configuration | ||
|
||
|
||
class MapEmplyeesTriggers: |
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.
MapEmployeesTriggers
|
|
|
No description provided.