OCA / openupgradelib

A library with support functions to be called from Odoo migration scripts.
GNU Affero General Public License v3.0
85 stars 171 forks source link

[ADD] convert_translatable_field_to_html method #358

Open aryanfanid opened 8 months ago

aryanfanid commented 8 months ago

Method to convert translate=True fields to html

pedrobaeza commented 8 months ago

I think this should be handled in the existing method, detecting if translatable (or passing an extra arg).

aryanfanid commented 7 months ago

I think this should be handled in the existing method, detecting if translatable (or passing an extra arg).

I started coding it like that (using a parameter) but then I thought this is specific for v16.0. So, i wrote it in openupgrade_160 file.