From 351b72bb1a42b2b16f79b4603c890bf500ee5bb0 Mon Sep 17 00:00:00 2001 From: Giovanni Date: Thu, 11 Jan 2024 11:45:57 +0100 Subject: [PATCH] [FIX] l10n_it_ricevute_bancarie: migration script for rules --- l10n_it_ricevute_bancarie/README.rst | 6 ++-- .../14.0.1.8.1/noupdate_changes.xml | 36 +++++++++++++++++++ .../migrations/14.0.1.8.1/post-migration.py | 11 ++++++ .../readme/CONTRIBUTORS.rst | 4 ++- .../static/description/index.html | 6 ++-- 5 files changed, 58 insertions(+), 5 deletions(-) create mode 100644 l10n_it_ricevute_bancarie/migrations/14.0.1.8.1/noupdate_changes.xml create mode 100644 l10n_it_ricevute_bancarie/migrations/14.0.1.8.1/post-migration.py diff --git a/l10n_it_ricevute_bancarie/README.rst b/l10n_it_ricevute_bancarie/README.rst index f009b753efaa..785e7ddab587 100644 --- a/l10n_it_ricevute_bancarie/README.rst +++ b/l10n_it_ricevute_bancarie/README.rst @@ -7,7 +7,7 @@ ITA - Ricevute bancarie !! This file is generated by oca-gen-addon-readme !! !! changes will be overwritten. !! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! - !! source digest: sha256:2fdfe4b1a12bca672634181622b9a36d60aefd3022331ec6da799c8ee68cd2fe + !! source digest: sha256:2ce223402b67510949da177861f377c8c2f50990cb2a00db358060e2342c35d4 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! .. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png @@ -131,7 +131,9 @@ Contributors * Sergio Zanchetta * Simone Vanin * Sergio Corato -* Giovanni Serra + +* `Ooops `_: + * Giovanni Serra Maintainers ~~~~~~~~~~~ diff --git a/l10n_it_ricevute_bancarie/migrations/14.0.1.8.1/noupdate_changes.xml b/l10n_it_ricevute_bancarie/migrations/14.0.1.8.1/noupdate_changes.xml new file mode 100644 index 000000000000..7cf88627aff2 --- /dev/null +++ b/l10n_it_ricevute_bancarie/migrations/14.0.1.8.1/noupdate_changes.xml @@ -0,0 +1,36 @@ + + + + + Ri.Ba. distinta multi-company + + + + ['|',('company_id','=',False),('company_id','in',company_ids)] + + + + + Ri.Ba. distinta line multi-company + + + + ['|',('company_id','=',False),('company_id','in',company_ids)] + + + + + Ri.Ba. configuration multi-company + + + + ['|',('company_id','=',False),('company_id','in',company_ids)] + + + diff --git a/l10n_it_ricevute_bancarie/migrations/14.0.1.8.1/post-migration.py b/l10n_it_ricevute_bancarie/migrations/14.0.1.8.1/post-migration.py new file mode 100644 index 000000000000..48836dd2c4bd --- /dev/null +++ b/l10n_it_ricevute_bancarie/migrations/14.0.1.8.1/post-migration.py @@ -0,0 +1,11 @@ +from openupgradelib import openupgrade + + +@openupgrade.migrate() +def migrate(env, version): + + openupgrade.load_data( + env.cr, + "l10n_it_ricevute_bancarie", + "migrations/14.0.1.8.1/noupdate_changes.xml", + ) diff --git a/l10n_it_ricevute_bancarie/readme/CONTRIBUTORS.rst b/l10n_it_ricevute_bancarie/readme/CONTRIBUTORS.rst index 15cfac5e044a..dc7b23f106ab 100644 --- a/l10n_it_ricevute_bancarie/readme/CONTRIBUTORS.rst +++ b/l10n_it_ricevute_bancarie/readme/CONTRIBUTORS.rst @@ -9,4 +9,6 @@ * Sergio Zanchetta * Simone Vanin * Sergio Corato -* Giovanni Serra + +* `Ooops `_: + * Giovanni Serra diff --git a/l10n_it_ricevute_bancarie/static/description/index.html b/l10n_it_ricevute_bancarie/static/description/index.html index d2af03aefbae..562b5fae8c12 100644 --- a/l10n_it_ricevute_bancarie/static/description/index.html +++ b/l10n_it_ricevute_bancarie/static/description/index.html @@ -1,3 +1,4 @@ + @@ -366,7 +367,7 @@

ITA - Ricevute bancarie

!! This file is generated by oca-gen-addon-readme !! !! changes will be overwritten. !! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -!! source digest: sha256:2fdfe4b1a12bca672634181622b9a36d60aefd3022331ec6da799c8ee68cd2fe +!! source digest: sha256:2ce223402b67510949da177861f377c8c2f50990cb2a00db358060e2342c35d4 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->

Beta License: AGPL-3 OCA/l10n-italy Translate me on Weblate Try me on Runboat

Italiano

@@ -466,7 +467,8 @@

Contributors

  • Sergio Zanchetta <https://github.com/primes2h>
  • Simone Vanin <simone.vanin@agilebg.com>
  • Sergio Corato <https://github.com/sergiocorato>
  • -
  • Giovanni Serra <giovanni@gslab.it>
  • +
  • Ooops: +* Giovanni Serra <giovanni@gslab.it>