IDEMPIERE-5899 Fix message error AutoProcude (#2081)

This commit is contained in:
Jose Leite 2023-10-31 08:59:24 -03:00 committed by GitHub
parent 3560493f25
commit e99c5cc4ca
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -220,7 +220,7 @@ public class AutoProduceEventDelegate extends ModelEventDelegate<MInOut> {
//complete the production //complete the production
ProcessInfo pi = MWorkflow.runDocumentActionWorkflow(production, "CO"); ProcessInfo pi = MWorkflow.runDocumentActionWorkflow(production, "CO");
if (pi.isError()) { if (pi.isError()) {
return pi.getSummary(); return production.getProcessMsg();
} }
return null; return null;
} }