Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion l10n_it_fatturapa/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

{
"name": "ITA - Fattura elettronica - Base",
"version": "14.0.1.0.2",
"version": "14.0.1.0.3",
"category": "Localization/Italy",
"summary": "Fatture elettroniche",
"author": "Davide Corio, Agile Business Group, Innoviu, "
Expand Down
9 changes: 9 additions & 0 deletions l10n_it_fatturapa/migrations/8.0.2.1.0/pre-migration.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# -*- coding: utf-8 -*-
# Copyright 2017 Lorenzo Battistini - Agile Business Group


def migrate(cr, version):
cr.execute(
"UPDATE account_tax t SET kind_id = "
"(SELECT id FROM account_tax_kind k "
"WHERE k.code = t.non_taxable_nature)")