From 11cc2536f6ed8093d00cc10df0f6e6758e0c415d Mon Sep 17 00:00:00 2001 From: ruuushhh <66899387+ruuushhh@users.noreply.github.com> Date: Mon, 23 Sep 2024 20:47:46 +0530 Subject: [PATCH] Fix stats afsd (#122) * Fix stats * Fix stats * Fix stats --------- Co-authored-by: GitHub Actions --- fyle_accounting_mappings/views.py | 2 +- setup.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/fyle_accounting_mappings/views.py b/fyle_accounting_mappings/views.py index d8bf3d8..8559570 100644 --- a/fyle_accounting_mappings/views.py +++ b/fyle_accounting_mappings/views.py @@ -253,7 +253,7 @@ def get(self, request, *args, **kwargs): source_category__value='Activity', workspace_id=self.kwargs['workspace_id']).first() else: activity_mapping = Mapping.objects.filter( - source_type='CATEGORY', source___value='Activity', workspace_id=self.kwargs['workspace_id']).first() + source_type='CATEGORY', source__value='Activity', workspace_id=self.kwargs['workspace_id']).first() if activity_attribute_count and not activity_mapping: mapped_attributes_count += activity_attribute_count diff --git a/setup.py b/setup.py index c7835ab..958fbc8 100644 --- a/setup.py +++ b/setup.py @@ -8,7 +8,7 @@ setuptools.setup( name='fyle-accounting-mappings', - version='1.34.6', + version='1.34.7', author='Shwetabh Kumar', author_email='shwetabh.kumar@fyle.in', description='Django application to store the fyle accounting mappings in a generic manner',