IDEMPIERE-1893 can't Reversed a complete document "move inventory with confirm" (#197)

Do not create confirmation for reversal
This commit is contained in:
Carlos Ruiz 2020-07-31 01:58:10 +02:00 committed by GitHub
parent e7ebf98117
commit a143e63128
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -330,7 +330,7 @@ public class MMovement extends X_M_Movement implements DocAction
}
// Confirmation
if (dt.isInTransit())
if (dt.isInTransit() && !isReversal())
createConfirmation();
m_processMsg = ModelValidationEngine.get().fireDocValidate(this, ModelValidator.TIMING_AFTER_PREPARE);