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: Issue 7914: Trim char/text field - Tryton issue tracker