Author: mridulpathak
Date: Sat May 21 10:44:50 2016
New Revision: 1744898
URL:
http://svn.apache.org/viewvc?rev=1744898&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/release14.12/applications/party/src/org/ofbiz/party/party/PartyServices.java
Modified: ofbiz/branches/release14.12/applications/party/src/org/ofbiz/party/party/PartyServices.java
URL:
http://svn.apache.org/viewvc/ofbiz/branches/release14.12/applications/party/src/org/ofbiz/party/party/PartyServices.java?rev=1744898&r1=1744897&r2=1744898&view=diff==============================================================================
--- ofbiz/branches/release14.12/applications/party/src/org/ofbiz/party/party/PartyServices.java (original)
+++ ofbiz/branches/release14.12/applications/party/src/org/ofbiz/party/party/PartyServices.java Sat May 21 10:44:50 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 {