Most Powerful Open Source ERP

Guideline Workflow Validation Scripts Must Return Translated Messages

They are visible in user interface and workflow history.
  • Last Update:2017-04-07
  • Version:001
  • Language:en

Workflow Validation Scripts Must Return Translated Messages

Validation scripts must return translated messages..

Messages from validation scripts will be present in the application's status message and in the workflow history. Use Products.ERP5Type.Message class so that translation is done only when the message is displayed to the user (this allow translation of workflow history).

Good Example:

Bad Example: