Skip to content

Commit

Permalink
fix: using database without ic
Browse files Browse the repository at this point in the history
  • Loading branch information
Sanket322 committed Aug 22, 2024
1 parent 9989d8b commit fd9d5a9
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/helper/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Binary file removed 20240822_151612-patch_test_localhost-database.sql.gz
Binary file not shown.
Binary file added 20240822_162707-a1_localhost-database.sql.gz
Binary file not shown.
6 changes: 3 additions & 3 deletions india_compliance/install.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()

Expand All @@ -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

Expand Down

0 comments on commit fd9d5a9

Please sign in to comment.