From 0046696a382f112d6fb5b5dc4b76c10eea1f2f6f Mon Sep 17 00:00:00 2001 From: hengsin Date: Mon, 25 Jan 2021 00:25:54 +0800 Subject: [PATCH] IDEMPIERE-4666 Close is an invalid Document Action for Draft, Invalid and In Progress Order (#547) --- org.adempiere.base/src/org/compiere/process/DocumentEngine.java | 1 - 1 file changed, 1 deletion(-) diff --git a/org.adempiere.base/src/org/compiere/process/DocumentEngine.java b/org.adempiere.base/src/org/compiere/process/DocumentEngine.java index 08719ed219..d1b9654c2e 100644 --- a/org.adempiere.base/src/org/compiere/process/DocumentEngine.java +++ b/org.adempiere.base/src/org/compiere/process/DocumentEngine.java @@ -1006,7 +1006,6 @@ public class DocumentEngine implements DocAction || docStatus.equals(DocumentEngine.STATUS_Invalid)) { options[index++] = DocumentEngine.ACTION_Prepare; - options[index++] = DocumentEngine.ACTION_Close; // Draft Sales Order Quote/Proposal - Process if ("Y".equals(isSOTrx) && ("OB".equals(orderType) || "ON".equals(orderType)))