Author: mridulpathak
Date: Sat May 21 10:42:14 2016
New Revision: 1744897
URL:
http://svn.apache.org/viewvc?rev=1744897&view=revLog:
[OFBIZ-7098] Remove restriction of setting PARTY_ENABLED as first default status of party. Thanks Suraj Khurana for reporting the issue and providing the patch. Applying fix from trunk r1744893.
Modified:
ofbiz/branches/release15.12/applications/party/src/org/ofbiz/party/party/PartyServices.java
Modified: ofbiz/branches/release15.12/applications/party/src/org/ofbiz/party/party/PartyServices.java
URL:
http://svn.apache.org/viewvc/ofbiz/branches/release15.12/applications/party/src/org/ofbiz/party/party/PartyServices.java?rev=1744897&r1=1744896&r2=1744897&view=diff==============================================================================
--- ofbiz/branches/release15.12/applications/party/src/org/ofbiz/party/party/PartyServices.java (original)
+++ ofbiz/branches/release15.12/applications/party/src/org/ofbiz/party/party/PartyServices.java Sat May 21 10:42:14 2016
@@ -229,7 +229,7 @@ public class PartyServices {
if (!statusId.equals(oldStatusId)) {
if (oldStatusId == null) { // old records
- party.set("statusId", "PARTY_ENABLED");
+ party.set("statusId", statusId);
oldStatusId = party.getString("statusId");
} else {