Trim char/text field
I saw this: https://github.com/odoo/odoo/commit/fb6c9c24434c941383ffd73ab3056cafd7740c52
I think it is not a bad idea to have such behavior as I saw many times trailing spaces on names (like product, party etc.).
I think it will be wrong to manage it only on client side (like Odoo) but it should also be enforced on server side. Because it will be inconsistent is trailing spaces are added via some RPC calls and changed on the fly by the client.
Also I think it should be an opt-in feature not an opt-out.
For text it should trim each line.