'
+ '\n '
+ '\n '
+ '\n I\u010cO: '
+ '\n
'
+ '\n '
+ '\n DI\u010c: '
+ '\n
'
+ '\n '
+ '\n '
+ '\n '
+ '\n I\u010cO: '
+ '\n
'
+ '\n '
+ '\n DI\u010c: '
+ '\n
'
+ '\n '
+ '\n '
+ '\n '
+ '\n I\u010cO: '
+ '\n
'
+ '\n '
+ '\n DI\u010c: '
+ '\n
'
+ '\n '
+ '\n '
+ '\n '
+ '\n Trade registry: '
+ '\n
'
+ '\n '
+ '\n '
+ )
+
+ cr.execute("""
+ UPDATE ir_ui_view
+ SET arch_db = jsonb_build_object('en_US', %s, 'sk_SK', %s),
+ arch_updated = true
+ WHERE key = 'l10n_sk.report_invoice_document'
+ """, (invoice_template, invoice_template))
+
diff --git a/migrations/19.0.2.0.5/__init__.py b/migrations/19.0.2.0.5/__init__.py
new file mode 100644
index 0000000..e69de29
diff --git a/migrations/19.0.2.0.5/post-migrate.py b/migrations/19.0.2.0.5/post-migrate.py
new file mode 100644
index 0000000..10d3a39
--- /dev/null
+++ b/migrations/19.0.2.0.5/post-migrate.py
@@ -0,0 +1,46 @@
+# -*- coding: utf-8 -*-
+"""
+Migration script pre l10n_sk_partner 19.0.2.0.5
+Opravuje natívne VAT bloky vo všetkých external_layout šablónach:
+- Skryje natívny VAT blok pre SK krajinu (l10n_sk ho už zobrazuje)
+- Opraví t-else blok ktorý zobrazoval US12345671 pre SK
+"""
+
+LAYOUT_KEYS = [
+ 'web.external_layout_standard',
+ 'web.external_layout_striped',
+ 'web.external_layout_boxed',
+ 'web.external_layout_bold',
+ 'web.external_layout_folder',
+ 'web.external_layout_wave',
+ 'web.external_layout_bubble',
+]
+
+
+def migrate(cr, version):
+ for key in LAYOUT_KEYS:
+ # Skry natívny t-if VAT blok pre SK
+ cr.execute("""
+ UPDATE ir_ui_view
+ SET arch_db = regexp_replace(
+ arch_db::text,
+ 't-if="not forced_vat"',
+ 't-if="not forced_vat and company.account_fiscal_country_id.code != ''SK''"',
+ 'g'
+ )::jsonb,
+ arch_updated = true
+ WHERE key = %s
+ """, (key,))
+
+ # Oprav t-else blok — zmeň na t-if aby sa nezobrazoval pre SK
+ cr.execute("""
+ UPDATE ir_ui_view
+ SET arch_db = regexp_replace(
+ arch_db::text,
+ 'li t-else="">\s*\n\s*