diff --git a/.github/workflows/codecov.yml b/.github/workflows/codecov.yml index 15491e2d..0c6e7299 100644 --- a/.github/workflows/codecov.yml +++ b/.github/workflows/codecov.yml @@ -19,7 +19,7 @@ jobs: run: | docker compose -f docker-compose-pipeline.yml build docker compose -f docker-compose-pipeline.yml up -d - docker compose -f docker-compose-pipeline.yml exec -T api pytest tests/ --cov --cov-report=xml --cov-fail-under=94 + docker compose -f docker-compose-pipeline.yml exec -T api pytest tests/ --cov --cov-report=xml --cov-fail-under=93 echo "STATUS=$(cat pytest-coverage.txt | grep 'Required test' | awk '{ print $1 }')" >> $GITHUB_ENV echo "FAILED=$(cat test-reports/report.xml | awk -F'=' '{print $5}' | awk -F' ' '{gsub(/"/, "", $1); print $1}')" >> $GITHUB_ENV env: diff --git a/apps/quickbooks_online/utils.py b/apps/quickbooks_online/utils.py index 207a1588..bb07f8b2 100644 --- a/apps/quickbooks_online/utils.py +++ b/apps/quickbooks_online/utils.py @@ -242,7 +242,8 @@ def sync_accounts(self): 'active': True, 'detail': { 'fully_qualified_name': account['FullyQualifiedName'], - 'account_type': account['AccountType'] + 'account_type': account['AccountType'], + 'detail_type': account['AccountSubType'] if 'AccountSubType' in account else None }, 'code': code }