diff --git a/.github/helper/install.sh b/.github/helper/install.sh index 41ae492f6..487fe1ee5 100644 --- a/.github/helper/install.sh +++ b/.github/helper/install.sh @@ -60,7 +60,7 @@ sed -i 's/redis_socketio:/# redis_socketio:/g' Procfile bench get-app erpnext --branch "$BRANCH_TO_CLONE" --resolve-deps -bench --site test_site restore ${GITHUB_WORKSPACE}/20240822_151612-patch_test_localhost-database.sql.gz +bench --site test_site restore ${GITHUB_WORKSPACE}/20240822_162707-a1_localhost-database.sql.gz bench get-app india_compliance "${GITHUB_WORKSPACE}" bench setup requirements --dev @@ -69,7 +69,7 @@ wait $wkpid bench use test_site bench start & -bench reinstall --yes +# bench reinstall --yes bench --verbose install-app india_compliance bench --site test_site add-to-hosts diff --git a/20240822_151612-patch_test_localhost-database.sql.gz b/20240822_151612-patch_test_localhost-database.sql.gz deleted file mode 100644 index e4f02f570..000000000 Binary files a/20240822_151612-patch_test_localhost-database.sql.gz and /dev/null differ diff --git a/20240822_162707-a1_localhost-database.sql.gz b/20240822_162707-a1_localhost-database.sql.gz new file mode 100644 index 000000000..d66c0686f Binary files /dev/null and b/20240822_162707-a1_localhost-database.sql.gz differ diff --git a/india_compliance/install.py b/india_compliance/install.py index b37c74b5d..a66164386 100644 --- a/india_compliance/install.py +++ b/india_compliance/install.py @@ -56,7 +56,7 @@ def after_install(): print("Setting up Income Tax...") setup_income_tax() - # print("Setting up GST...") + print("Setting up GST...") setup_gst() disable_ic_account_page() @@ -78,8 +78,8 @@ def after_install(): def run_post_install_patches(): - # if not frappe.db.exists("Company", {"country": "India"}): - # return + if not frappe.db.exists("Company", {"country": "India"}): + return frappe.flags.in_patch = True