IDEMPIERE-5899 Fix message error AutoProcude (#2081)
This commit is contained in:
parent
3560493f25
commit
e99c5cc4ca
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue