fix: map PY state to Puducherry to match ERPNext state list#443
Merged
Conversation
Confidence Score: 5/5Single data mapping correction in a static dictionary; no logic, schema, or API changes. The change is a one-line string update in a lookup table, directly aligning with ERPNext's official state name. No side effects or regressions are expected. No files require special attention. Reviews (3): Last reviewed commit: "fix: map PY state to Puducherry to match..." | Re-trigger Greptile |
Bhavathariniya
force-pushed
the
fix/indian-state-mapping
branch
from
July 7, 2026 12:24
6fecaec to
78ef5db
Compare
|
Tick the box to add this pull request to the merge queue (same as
|
Contributor
|
Reviewed |
venkat102
force-pushed
the
fix/indian-state-mapping
branch
from
July 8, 2026 06:33
78ef5db to
6dd0f76
Compare
Member
|
@mergify backport to version-15 |
❌ No backport have been createdDetails
GitHub error:
|
venkat102
added a commit
that referenced
this pull request
Jul 8, 2026
fix: map PY state to Puducherry to match ERPNext state list (backport #443)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Corrects the Unicommerce → ERPNext state mapping for Puducherry so orders shipping there pass address/state validation.
Issue
PYentry inUNICOMMERCE_INDIAN_STATES_MAPPINGreturned"Pondicherry", but ERPNext's India state list uses the official name"Puducherry".Fix
PYmapping from"Pondicherry"to"Puducherry"inconstants.pyto match ERPNext's state list exactly.Impact
Backport needed in v15