IDEMPIERE-2565:NPE when run init client without input city of country has "Allow Cities out of List" = false
This commit is contained in:
parent
f1f732d7ae
commit
da2fd9fffb
|
@ -439,7 +439,7 @@ public class MLocation extends X_C_Location implements Comparator<Object>
|
||||||
public boolean isAddressLinesReverse()
|
public boolean isAddressLinesReverse()
|
||||||
{
|
{
|
||||||
// Local
|
// Local
|
||||||
if (getC_Country_ID() == MCountry.getDefault(getCtx()).getC_Country_ID())
|
if (MCountry.getDefault(getCtx()) != null && getC_Country_ID() == MCountry.getDefault(getCtx()).getC_Country_ID())
|
||||||
return getCountry().isAddressLinesLocalReverse();
|
return getCountry().isAddressLinesLocalReverse();
|
||||||
return getCountry().isAddressLinesReverse();
|
return getCountry().isAddressLinesReverse();
|
||||||
} // isAddressLinesReverse
|
} // isAddressLinesReverse
|
||||||
|
|
Loading…
Reference in New Issue