diff --git a/fyle_accounting_mappings/models.py b/fyle_accounting_mappings/models.py index b5f8161..a940211 100644 --- a/fyle_accounting_mappings/models.py +++ b/fyle_accounting_mappings/models.py @@ -64,6 +64,7 @@ def bulk_upsert_expense_attributes(attributes: List[Dict], workspace_id): value=attribute['value'], workspace_id=workspace_id, defaults={ + 'active': attribute['active'] if 'active' in attribute else None, 'source_id': attribute['source_id'], 'display_name': attribute['display_name'], } @@ -99,6 +100,7 @@ def bulk_upsert_destination_attributes(attributes: List[Dict], workspace_id): value=attribute['value'], workspace_id=workspace_id, defaults={ + 'active': attribute['active'] if 'active' in attribute else None, 'display_name': attribute['display_name'], 'destination_id': attribute['destination_id'] } diff --git a/setup.py b/setup.py index dbf8955..d0ef8d0 100644 --- a/setup.py +++ b/setup.py @@ -8,7 +8,7 @@ setuptools.setup( name='fyle-accounting-mappings', - version='0.3.0', + version='0.4.0', author='Shwetabh Kumar', author_email='shwetabh.kumar@fyle.in', description='Django application to store the fyle accounting mappings in a generic manner',