You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by jl...@apache.org on 2022/12/09 18:58:18 UTC

[ofbiz-framework] branch trunk updated: Fixed: ShipmentServices.groovy has a typo in checkCanChangeShipmentStatusDelivered (OFBIZ-12718)

This is an automated email from the ASF dual-hosted git repository.

jleroux pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/ofbiz-framework.git


The following commit(s) were added to refs/heads/trunk by this push:
     new 50dd262d98 Fixed: ShipmentServices.groovy has a typo in checkCanChangeShipmentStatusDelivered (OFBIZ-12718)
50dd262d98 is described below

commit 50dd262d988b20c49c2ce6b897c0721fe2ba0cb3
Author: Jacques Le Roux <ja...@les7arts.com>
AuthorDate: Fri Dec 9 19:56:23 2022 +0100

    Fixed: ShipmentServices.groovy has a typo in checkCanChangeShipmentStatusDelivered (OFBIZ-12718)
    
    In line 732 it has
    parameters.fromStatusId = "SHIPMENT_DEIVERED"
    
    Thanks: Pierre Smits for report
---
 applications/product/groovyScripts/shipment/ShipmentServices.groovy | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/applications/product/groovyScripts/shipment/ShipmentServices.groovy b/applications/product/groovyScripts/shipment/ShipmentServices.groovy
index 4634415c2d..37ca3598d9 100644
--- a/applications/product/groovyScripts/shipment/ShipmentServices.groovy
+++ b/applications/product/groovyScripts/shipment/ShipmentServices.groovy
@@ -729,7 +729,7 @@ def checkCanChangeShipmentStatusShipped() {
  * @return
  */
 def checkCanChangeShipmentStatusDelivered() {
-    parameters.fromStatusId = "SHIPMENT_DEIVERED"
+    parameters.fromStatusId = "SHIPMENT_DELIVERED"
     return checkCanChangeShipmentStatusGeneral(parameters)
 }
 
@@ -1135,7 +1135,7 @@ def createOrderShipmentPlan () {
 }
 
 /**
- * 
+ *
  * @return
  */
 def issueSerializedInvToShipmentPackageAndSetTracking() {