Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(minor): check if gst_category exists while validating GSTIN #28065

Merged
merged 16 commits into from
Nov 8, 2021

Conversation

Anuja-pawar
Copy link
Contributor

@Anuja-pawar Anuja-pawar commented Oct 22, 2021

Issue:
If you try adding GSTIN in Address for a Customer or Supplier from India in a non indian company, you would likely get following error unless you have gst_category custom field (which is created while setting up an indian company)

Screenshot 2021-10-22 at 8 33 35 PM

@codecov
Copy link

codecov bot commented Oct 22, 2021

Codecov Report

Merging #28065 (0d65a6e) into develop (a5902fa) will increase coverage by 0.04%.
The diff coverage is 18.18%.

@@             Coverage Diff             @@
##           develop   #28065      +/-   ##
===========================================
+ Coverage    55.45%   55.50%   +0.04%     
===========================================
  Files         1248     1248              
  Lines        67756    67758       +2     
===========================================
+ Hits         37577    37611      +34     
+ Misses       30179    30147      -32     
Impacted Files Coverage Δ
erpnext/regional/india/utils.py 63.03% <18.18%> (-1.44%) ⬇️
erpnext/stock/reorder_item.py 76.27% <0.00%> (-1.70%) ⬇️
erpnext/stock/report/stock_ledger/stock_ledger.py 77.41% <0.00%> (-0.81%) ⬇️
erpnext/hr/utils.py 74.29% <0.00%> (-0.41%) ⬇️
erpnext/stock/get_item_details.py 79.66% <0.00%> (-0.31%) ⬇️
erpnext/portal/utils.py 30.00% <0.00%> (ø)
erpnext/selling/doctype/sales_order/sales_order.py 77.13% <0.00%> (ø)
...ext/payroll/doctype/payroll_entry/payroll_entry.py 71.09% <0.00%> (+0.23%) ⬆️
erpnext/stock/stock_ledger.py 86.23% <0.00%> (+0.54%) ⬆️
.../report/accounts_receivable/accounts_receivable.py 68.34% <0.00%> (+0.65%) ⬆️
... and 7 more

@deepeshgarg007 deepeshgarg007 merged commit 0950459 into frappe:develop Nov 8, 2021
@deepeshgarg007
Copy link
Member

@Mergifyio backport version-13-hotfix

@mergify
Copy link
Contributor

mergify bot commented Nov 8, 2021

backport version-13-hotfix

✅ Backports have been created

deepeshgarg007 added a commit that referenced this pull request Nov 8, 2021
…-28065

fix(minor): check if gst_category exists while validating GSTIN (backport #28065)
@Anuja-pawar
Copy link
Contributor Author

@Mergifyio backport version-12-hotfix

@mergify
Copy link
Contributor

mergify bot commented Nov 8, 2021

backport version-12-hotfix

✅ Backports have been created

deepeshgarg007 added a commit that referenced this pull request Nov 9, 2021
…-28065

fix(minor): check if gst_category exists while validating GSTIN (backport #28065)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants