Contributors mailing list archives

contributors@odoo-community.org

Browse archives

Avatar

Re: Looking for best approach of changing description_sale of product.template from fields.Text to fields.Html

by
Holger Brunn
- 30/07/2021 22:18:39
add an init_hook that calls odoo.tools.(somewhere there in mail I think is a 
text2html function) on the column, and redefine it as html. Or if the module 
already exists increase the version number and do the same in a migration 
script.

Rémi's point stays valid, there are places where templates or code assume text 
and not html, that you'll have to change to t-raw etc.


-- 
Your partner for the hard Odoo problems
https://hunki-enterprises.com