From 524f2c0bd57d800846eb1c8fc5b751516ba3dfaf 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 6eafa30ae907..d149b134e301 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:2398111be2cd5f0e84c6061763dda376d13f4045766e34d14077afee27213ea2 + !! source digest: sha256:cf905964111d2efc93d28ac6583349e1734a191d0358314f68430cfab73a79a1 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! .. |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 ec38cef463c2..7056d73d326d 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:2398111be2cd5f0e84c6061763dda376d13f4045766e34d14077afee27213ea2 +!! source digest: sha256:cf905964111d2efc93d28ac6583349e1734a191d0358314f68430cfab73a79a1 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->

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>