This does not change the default behavior, which is to show the "add party" screen as the last step - you have to explicitly say you want to skip it.
True, using "mode=addpty" will let you skip that screen also (by setting a cart attribute), but that is used on the add party screen itself, when actually adding a party. Also, "finalizeReqAdditionalParty=false" sees to clearly convey the desired behavior as opposed to "mode=addpty".
On Apr 13, 2010, at 5:19 PM, Scott Gray wrote:
Hi Joe,It looks like you've just changed a default that could already be overridden by setting an attribute on the cart. Could you explain a little more?Thanks Scott HotWax Media http://www.hotwaxmedia.com On 14/04/2010, at 7:43 AM, [email protected] wrote:Author: eckardjf Date: Tue Apr 13 19:43:46 2010 New Revision: 933766 URL: http://svn.apache.org/viewvc?rev=933766&view=rev Log:allow bypassing the additional party step of purchase order entry when finalizeReqAdditionalParty=falseModified:ofbiz/trunk/applications/order/src/org/ofbiz/order/shoppingcart/ CheckOutEvents.javaModified: ofbiz/trunk/applications/order/src/org/ofbiz/order/ shoppingcart/CheckOutEvents.javaURL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/order/src/org/ofbiz/order/shoppingcart/CheckOutEvents.java?rev=933766&r1=933765&r2=933766&view=diff= = = = = = = = = ===================================================================== --- ofbiz/trunk/applications/order/src/org/ofbiz/order/shoppingcart/ CheckOutEvents.java (original) +++ ofbiz/trunk/applications/order/src/org/ofbiz/order/shoppingcart/ CheckOutEvents.java Tue Apr 13 19:43:46 2010@@ -979,7 +979,6 @@ public class CheckOutEvents { if (cart.getOrderType().equals("PURCHASE_ORDER")) { // Force checks for the followingrequireCustomer = true; requireShipping = true; requireOptions = true;- requireAdditionalParty = true;processOrder = new String[] {"customer", "term", "shipping", "shipGroups", "options", "payment","addparty", "paysplit"}; }
smime.p7s
Description: S/MIME cryptographic signature
