IDEMPIERE-4666 Close is an invalid Document Action for Draft, Invalid and In Progress Order (#547)

This commit is contained in:
hengsin 2021-01-25 00:25:54 +08:00 committed by GitHub
parent 72d66b8868
commit 0046696a38
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 1 deletions

View File

@ -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)))