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

[FIX] delete_record_translations: error when only update for 1 one column #337

Closed duong77476-viindoo closed 1 year ago

MiquelRForgeFlow commented 1 year ago

Please, don't duplicate code. Try to do it in only one query. You can calculate columns and values before the query, and then add () in case > 1.

duong77476-viindoo commented 1 year ago

Please, don't duplicate code. Try to do it in only one query. You can calculate columns and values before the query, and then add () in case > 1.

Yes, i understand, i'll will update and rerun again

MiquelRForgeFlow commented 1 year ago

Thanks @duong77476