Skip to content

Commit

Permalink
bug fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
NileshPant1999 committed Apr 1, 2024
1 parent 1f32f8d commit 60c6d9b
Show file tree
Hide file tree
Showing 3 changed files with 194 additions and 195 deletions.
5 changes: 2 additions & 3 deletions apps/sage300/dependent_fields.py
Original file line number Diff line number Diff line change
Expand Up @@ -129,11 +129,10 @@ def post_dependent_expense_field_values(workspace_id: int, dependent_field_setti
'workspace_id': workspace_id
}

# if dependent_field_setting.last_successful_import_at:
# filters['updated_at__gte'] = dependent_field_setting.last_successful_import_at
if dependent_field_setting.last_successful_import_at:
filters['updated_at__gte'] = dependent_field_setting.last_successful_import_at

posted_cost_types = post_dependent_cost_code(dependent_field_setting, platform, filters)
print('postted cost tyoes', posted_cost_types)
if posted_cost_types:
filters['cost_code_name__in'] = posted_cost_types
post_dependent_cost_type(dependent_field_setting, platform, filters)
Expand Down
Loading

0 comments on commit 60c6d9b

Please sign in to comment.