From 96f3df8e26134040f549e4076888d99b4c9c1df0 Mon Sep 17 00:00:00 2001 From: Anish Kr Singh <116036738+anishfyle@users.noreply.github.com> Date: Wed, 31 Jul 2024 10:08:52 +0530 Subject: [PATCH] Fix for Exports: add Purchase Invoice (#158) * Fix for Exports: add Purchase Invoice * PURCHASE_INVOICES * PURCHASE_INVOICE --- apps/workspaces/tasks.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/apps/workspaces/tasks.py b/apps/workspaces/tasks.py index d34b943..098e095 100644 --- a/apps/workspaces/tasks.py +++ b/apps/workspaces/tasks.py @@ -41,7 +41,8 @@ def run_import_export(workspace_id: int, export_mode = None): is_expenses_exported = False export_map = { - 'JOURNAL_ENTRY': ExportJournalEntry() + 'JOURNAL_ENTRY': ExportJournalEntry(), + 'PURCHASE_INVOICE': ExportPurchaseInvoice() } # For Reimbursable Expenses