Fixed: Convert OrderServices.xml mini-lang to groovyDSL : getNextOrderId
(OFBIZ-9984) Fix introduced NPE detected by the introduced test.
This commit is contained in:
committed by
Jacques Le Roux
parent
b999e59b81
commit
f951f8da25
@@ -43,7 +43,7 @@ def getNextOrderId() {
|
||||
|
||||
if (customMethod) {
|
||||
customMethodName = customMethod.customMethodName
|
||||
} else if (partyAcctgPreference.oldOrderSequenceEnumId == 'ODRSQ_ENF_SEQ') {
|
||||
} else if (partyAcctgPreference && partyAcctgPreference.oldOrderSequenceEnumId == 'ODRSQ_ENF_SEQ') {
|
||||
customMethodName = 'orderSequence_enforced'
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user