You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by de...@apache.org on 2026/01/09 05:11:05 UTC
(ofbiz-framework) branch release24.09 updated: Improved: Fixed missing receiptId and facilityId when canceling a par… (#905)
This is an automated email from the ASF dual-hosted git repository.
deepak pushed a commit to branch release24.09
in repository https://gitbox.apache.org/repos/asf/ofbiz-framework.git
The following commit(s) were added to refs/heads/release24.09 by this push:
new 7503a0ea73 Improved: Fixed missing receiptId and facilityId when canceling a par… (#905)
7503a0ea73 is described below
commit 7503a0ea7314583ba3c6ae4fe268e75d5cc4c2ee
Author: Yashwant Dhakad <ya...@gmail.com>
AuthorDate: Mon Sep 1 12:54:28 2025 +0530
Improved: Fixed missing receiptId and facilityId when canceling a par… (#905)
Improved: Fixed missing receiptId and facilityId when canceling a
partially received PO receipt causing error messages (OFBIZ-13283).
Co-authored-by: Yashwant Dhakad <ya...@Yashwant-Dhakad-MBA.local>
---
.../product/template/inventory/ReceiveInventory.ftl | 15 ++++++++-------
1 file changed, 8 insertions(+), 7 deletions(-)
diff --git a/applications/product/template/inventory/ReceiveInventory.ftl b/applications/product/template/inventory/ReceiveInventory.ftl
index 20c7e79c41..b1128a40a1 100644
--- a/applications/product/template/inventory/ReceiveInventory.ftl
+++ b/applications/product/template/inventory/ReceiveInventory.ftl
@@ -42,10 +42,6 @@ under the License.
<td></td>
</tr>
<#list receivedItems as item>
- <form name="cancelReceivedItemsForm_${item_index}" method="post" action="<@o...@ofbizUrl>">
- <input type="hidden" name="receiptId" value ="${(item.receiptId)!}"/>
- <input type="hidden" name="purchaseOrderId" value ="${(item.orderId)!}"/>
- <input type="hidden" name="facilityId" value ="${facilityId!}"/>
<tr>
<td><a href="<@o...@ofbizUrl>" class="buttontext">${item.shipmentId!} ${item.shipmentItemSeqId!}</a></td>
<td>${item.receiptId}</td>
@@ -59,11 +55,16 @@ under the License.
<td>${item.quantityAccepted?string.number}</td>
<td>
<#if (item.quantityAccepted?int > 0 || item.quantityRejected?int > 0)>
+ <form name="cancelReceivedItemsForm_${item_index}" method="post" action="<@o...@ofbizUrl>">
+ <input type="hidden" name="receiptId" value ="${(item.receiptId)!}"/>
+ <input type="hidden" name="purchaseOrderId" value ="${(item.orderId)!}"/>
+ <input type="hidden" name="facilityId" value ="${facilityId!}"/>
<a href="javascript:document.cancelReceivedItemsForm_${item_index}.submit();" class="buttontext">${uiLabelMap.CommonCancel}</a>
+ </form>
</#if>
</td>
</tr>
- </form>
+
</#list>
<tr><td colspan="10"><hr /></td></tr>
</table>
@@ -198,8 +199,8 @@ under the License.
<input type="text" name="datetimeReceived" size="24" value="${nowTimestamp}" />
</td>
</tr>
-
-
+
+
<tr>
<td width="14%"> </td>
<td width="6%" align="right" nowrap="nowrap" class="label">${uiLabelMap.lotId}</td>