Odoo18-Base/addons/l10n_hn/migrations/0.3/pre-migrate.py

10 lines
278 B
Python
Raw Permalink Normal View History

2025-03-10 11:12:23 +07:00
def migrate(cr, version):
# Set noupdate property of "account.tax.template" records to False
cr.execute(
"""UPDATE ir_model_data
SET noupdate=false
WHERE module='l10n_hn'
AND model='account.tax.template'
"""
)