StringExtensions extension
- on
Properties
- isValidFieldName → bool
-
Available on String, provided by the StringExtensions extension
Check if this is a valid Odoo field nameno setter - isValidOdooModel → bool
-
Available on String, provided by the StringExtensions extension
Check if this is a valid Odoo model nameno setter - isValidXmlId → bool
-
Available on String, provided by the StringExtensions extension
Check if this is a valid XML identifierno setter
Methods
-
capitalize(
) → String -
Available on String, provided by the StringExtensions extension
Capitalize first letter -
escapeXml(
) → String -
Available on String, provided by the StringExtensions extension
Escape XML special characters -
toOdooFieldName(
) → String -
Available on String, provided by the StringExtensions extension
Convert to Odoo-compatible field name -
toSnakeCase(
) → String -
Available on String, provided by the StringExtensions extension
Convert to snake_case -
truncate(
int max) → String -
Available on String, provided by the StringExtensions extension
Truncate with ellipsis