Skip to content

Commit

Permalink
fix missing type (#195)
Browse files Browse the repository at this point in the history
  • Loading branch information
Hrishabh17 authored Jun 14, 2024
1 parent 072a36c commit f31ef1f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion apps/accounting_exports/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@


TYPE_CHOICES = (
('INVOICES', 'INVOICES'),
('PURCHASE_INVOICE', 'PURCHASE_INVOICE'),
('DIRECT_COST', 'DIRECT_COST'),
('FETCHING_REIMBURSABLE_EXPENSES', 'FETCHING_REIMBURSABLE_EXPENSES'),
('FETCHING_CREDIT_CARD_EXPENENSES', 'FETCHING_CREDIT_CARD_EXPENENSES')
Expand Down Expand Up @@ -142,6 +142,7 @@ def create_accounting_export(expense_objects: List[Expense], fund_source: str, w

# Create an AccountingExport object for the expense group
accounting_export_instance = AccountingExport.objects.create(
type='PURCHASE_INVOICE',
workspace_id=workspace_id,
fund_source=accounting_export['fund_source'],
description=accounting_export,
Expand Down

0 comments on commit f31ef1f

Please sign in to comment.