When renaming a binary field name (through Studio for example), an error occurs since rev. odoo/odoo@66f0e26 As the binary (custom) field is now created with `attachment=True` by default, it has no associated column in the database ; this latter shouldn't be renamed then. Task 1942181 closes odoo/odoo#31504 Signed-off-by: Raphael Collet (rco) <rco@openerp.com>