You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by ar...@apache.org on 2026/04/14 05:59:58 UTC
(ofbiz-framework) branch cherrypick-OFBIZ-12157 updated: Fixed: Issue on Create New Shipment Screen after page re-loading on error due to any reason. (#1088)
This is an automated email from the ASF dual-hosted git repository.
arunpatidar pushed a commit to branch cherrypick-OFBIZ-12157
in repository https://gitbox.apache.org/repos/asf/ofbiz-framework.git
The following commit(s) were added to refs/heads/cherrypick-OFBIZ-12157 by this push:
new b52bb41ed3 Fixed: Issue on Create New Shipment Screen after page re-loading on error due to any reason. (#1088)
b52bb41ed3 is described below
commit b52bb41ed3af4d11588e1816d1c05c5057a3df82
Author: Arun Patidar <ar...@hotwax.co>
AuthorDate: Mon Apr 13 17:54:44 2026 +0530
Fixed: Issue on Create New Shipment Screen after page re-loading on error due to any reason. (#1088)
Fixed: (OFBIZ-12157)
Explanation:
Fixed: Issue on Create New Shipment Screen after page re-loading on
error due to any reason.
Thanks: Thanks to Rashi Dhagat for reporting issue and providing proper
details to regenerate on ticket.
---
applications/product/widget/facility/ShipmentForms.xml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/applications/product/widget/facility/ShipmentForms.xml b/applications/product/widget/facility/ShipmentForms.xml
index 7840073237..3c60828f77 100644
--- a/applications/product/widget/facility/ShipmentForms.xml
+++ b/applications/product/widget/facility/ShipmentForms.xml
@@ -84,7 +84,7 @@ under the License.
</grid>
<form name="EditShipment" type="single" target="updateShipment" title="" default-map-name="shipment"
header-row-style="header-row" default-table-style="basic-table">
- <alt-target use-when="shipment==null&&shipmentTypeId==null" target="createShipment"/>
+ <alt-target use-when="shipment==null&&(shipmentTypeId==null||!shipmentTypeId.equals("PURCHASE_RETURN"))" target="createShipment"/>
<alt-target use-when="shipment==null&&shipmentTypeId!=null&&shipmentTypeId.equals("PURCHASE_RETURN")" target="createShipmentAndItemsForVendorReturn"/>
<auto-fields-service service-name="updateShipment"/>