From 1280b66e6becdbe996f221b9f35576cf5f190772 Mon Sep 17 00:00:00 2001 From: Sanket322 Date: Tue, 16 Jul 2024 17:36:31 +0530 Subject: [PATCH] fix: code as per erpnext --- .github/workflows/patch.yml | 4 +--- india_compliance/patches.txt | 1 - india_compliance/patches/v14/patch_test_testing2.py | 11 ----------- 3 files changed, 1 insertion(+), 15 deletions(-) delete mode 100644 india_compliance/patches/v14/patch_test_testing2.py diff --git a/.github/workflows/patch.yml b/.github/workflows/patch.yml index 0994b0091..8ff1768ff 100644 --- a/.github/workflows/patch.yml +++ b/.github/workflows/patch.yml @@ -72,7 +72,7 @@ jobs: - name: Get yarn cache directory path id: yarn-cache-dir-path - run: echo "dir=$(yarn cache dir)" >> $GITHUB_OUTPUT + run: echo "::set-output name=dir::$(yarn cache dir)" - uses: actions/cache@v4 id: yarn-cache @@ -123,8 +123,6 @@ jobs: bench --site test_site migrate - cat ~/frappe-bench/sites/test_site/logs/patch.log - - name: Show bench output if: ${{ always() }} run: | diff --git a/india_compliance/patches.txt b/india_compliance/patches.txt index e7aef1a84..c76921fb5 100644 --- a/india_compliance/patches.txt +++ b/india_compliance/patches.txt @@ -58,4 +58,3 @@ india_compliance.patches.v14.unset_inward_supply_link_for_cancelled_purchase india_compliance.patches.v14.delete_not_generated_gstr_import_log india_compliance.patches.v14.enable_sales_through_ecommerce_operator execute:from india_compliance.gst_india.setup import set_default_print_settings; set_default_print_settings() -india_compliance.patches.v14.patch_test_testing2 diff --git a/india_compliance/patches/v14/patch_test_testing2.py b/india_compliance/patches/v14/patch_test_testing2.py deleted file mode 100644 index 5f532c1ed..000000000 --- a/india_compliance/patches/v14/patch_test_testing2.py +++ /dev/null @@ -1,11 +0,0 @@ -import frappe - - -def execute(): - frappe.db.delete( - "GSTR Import Log", - filters={ - "data_not_found": 1, - "return_type": "GSTR2b", - }, - )