Trim name fields

Greetings.

Is there an efficient way to eliminate the line breaks and space in a specific text field? Like product names for example.

There is a feature request: Trim char/text field (#7914) · Issues · Tryton / Tryton · GitLab