mirror of
https://github.com/bringout/oca-ocb-l10n_europe.git
synced 2026-04-27 04:22:00 +02:00
Initial commit: L10N_Europe packages
This commit is contained in:
commit
9803722600
2377 changed files with 380711 additions and 0 deletions
|
|
@ -0,0 +1,13 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
|
||||
|
||||
def migrate(cr, version):
|
||||
cr.execute("SELECT res_id FROM ir_model_data WHERE module = 'l10n_ch' AND name='account_tax_report_line_chtax_solde_formula'")
|
||||
|
||||
expression_id = cr.fetchone()
|
||||
|
||||
if expression_id:
|
||||
cr.execute(
|
||||
"DELETE FROM account_report_external_value WHERE target_report_expression_id = %s",
|
||||
[expression_id[0]]
|
||||
)
|
||||
Loading…
Add table
Add a link
Reference in a new issue