Debian Codegraph @

addons/l10n_nz/migrations/1.2/post-migrate.py

raw
1 def migrate(cr, version):
2 cr.execute("""
3 UPDATE account_report_expression e
4 SET label = 'balance'
5 FROM ir_model_data d
6 WHERE e.id = d.res_id
7 AND d.module = 'l10n_nz'
8 AND d.name = 'tax_report_box13_formula'
9 AND e.label = '_upg_1.2balance'
10 """)