diff --git a/org.adempiere.base/src/org/compiere/model/MLocation.java b/org.adempiere.base/src/org/compiere/model/MLocation.java index 5e12ed88dd..549d711e6e 100644 --- a/org.adempiere.base/src/org/compiere/model/MLocation.java +++ b/org.adempiere.base/src/org/compiere/model/MLocation.java @@ -277,6 +277,7 @@ public class MLocation extends X_C_Location implements Comparator if (region == null) { super.setC_Region_ID(0); + setRegionName(null); } else { @@ -618,6 +619,8 @@ public class MLocation extends X_C_Location implements Comparator getCountry(); if (!m_c.isHasRegion()) setC_Region_ID(0); + } else { + setRegionName(null); } if (getC_City_ID() <= 0 && getCity() != null && getCity().length() > 0) { int city_id = DB.getSQLValue(