Most Powerful Open Source ERP

Guideline Use getTranslatedId To Display Document Ids In Listbox Or Form

Special Ids need meaningful translation.
  • Last Update:2017-04-07
  • Version:001
  • Language:en

Use getTranslatedId To Display Document Id In Listbox Or Form

Use getTranslatedId when you want to display the special ids of a document in a listbox or in a form (ex : default_address sub object).

Objects with reserved ids like "default_address" have a special meaning and behaviour in ERP5. It is necessary to display this information to the user and to be able to do some localisation.

Good Example:

Bad Example: