IDEMPIERE-4354 : Web Services : setDocAction error message not transl… (#151)
* IDEMPIERE-4354 : Web Services : setDocAction error message not translated Translation of the error message * IDEMPIERE-4354 : translate full message
This commit is contained in:
parent
4c1236e938
commit
211d288f47
|
@ -264,7 +264,7 @@ public class ModelADServiceImpl extends AbstractService implements ModelADServic
|
||||||
try {
|
try {
|
||||||
if (!((org.compiere.process.DocAction) po).processIt(docAction))
|
if (!((org.compiere.process.DocAction) po).processIt(docAction))
|
||||||
return rollbackAndSetError(trx, resp, ret, true,
|
return rollbackAndSetError(trx, resp, ret, true,
|
||||||
"Couldn't set docAction: " + ((org.compiere.process.DocAction) po).getProcessMsg());
|
Msg.parseTranslation(ctx, "@FailedProcessingDocument@: " + ((org.compiere.process.DocAction) po).getProcessMsg()));
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
return rollbackAndSetError(trx, resp, ret, true, e.toString());
|
return rollbackAndSetError(trx, resp, ret, true, e.toString());
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue