odoo-addon-openupgrade-scripts 16.0.1.0.4.71__py3-none-any.whl → 16.0.1.0.5.2__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,3 +1,7 @@
1
+ .. image:: https://odoo-community.org/readme-banner-image
2
+ :target: https://odoo-community.org/get-involved?utm_source=readme
3
+ :alt: Odoo Community Association
4
+
1
5
  ===================
2
6
  Openupgrade Scripts
3
7
  ===================
@@ -7,13 +11,13 @@ Openupgrade Scripts
7
11
  !! This file is generated by oca-gen-addon-readme !!
8
12
  !! changes will be overwritten. !!
9
13
  !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
10
- !! source digest: sha256:58792095dc539f1f4eccbc45de3679c28e3176d8bf3682b315d670e6f3877639
14
+ !! source digest: sha256:3d4eb565304d229b449be4d0734a5f9693ed41801b58114c63461c04fea3c5b3
11
15
  !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
12
16
 
13
17
  .. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
14
18
  :target: https://odoo-community.org/page/development-status
15
19
  :alt: Beta
16
- .. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png
20
+ .. |badge2| image:: https://img.shields.io/badge/license-AGPL--3-blue.png
17
21
  :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
18
22
  :alt: License: AGPL-3
19
23
  .. |badge3| image:: https://img.shields.io/badge/github-OCA%2FOpenUpgrade-lightgray.png?logo=github
@@ -7,7 +7,7 @@
7
7
  "author": "Odoo Community Association (OCA)",
8
8
  "website": "https://github.com/OCA/OpenUpgrade",
9
9
  "category": "Migration",
10
- "version": "16.0.1.0.4",
10
+ "version": "16.0.1.0.5",
11
11
  "license": "AGPL-3",
12
12
  "depends": ["base"],
13
13
  "images": ["static/description/banner.jpg"],
@@ -1 +1,2 @@
1
1
  from . import test_base_migration
2
+ from . import test_newly_installed_end_migration
@@ -0,0 +1,14 @@
1
+ # Copyright 2023 Odoo Community Association (OCA)
2
+ # Copyright 2023 Guillaume Masson <guillaume.masson@meta-it.fr>
3
+ # License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).
4
+ import logging
5
+
6
+ from openupgradelib import openupgrade
7
+
8
+ _logger = logging.getLogger(__name__)
9
+
10
+
11
+ @openupgrade.migrate(no_version=True)
12
+ def migrate(env, version):
13
+ params = env["ir.config_parameter"].sudo()
14
+ params.set_param("openupgrade.test_end_migration", "Executed")
@@ -0,0 +1,10 @@
1
+ from odoo.tests import TransactionCase, tagged
2
+
3
+
4
+ @tagged("-at_install", "post_install")
5
+ class TestNewlyInstalledEndMigration(TransactionCase):
6
+ def test_newly_installed_end_migration(self):
7
+ """Make sure the code of the end-migration script has been executed"""
8
+ params = self.env["ir.config_parameter"].sudo()
9
+ res = params.get_param("openupgrade.test_end_migration", default="Not executed")
10
+ self.assertEqual(res, "Executed")
@@ -45,6 +45,9 @@ def convert_field_html_string_bootstrap_4to5(env):
45
45
  "mailing.mailing",
46
46
  "account.invoice.send",
47
47
  "mail.alias",
48
+ "survey.survey",
49
+ "survey.question",
50
+ "forum.forum",
48
51
  ]
49
52
  # We could want to refine a certain field logic to discard a good bunch of records
50
53
  field_special_domain = {
@@ -3,7 +3,7 @@
3
3
  <head>
4
4
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
5
5
  <meta name="generator" content="Docutils: https://docutils.sourceforge.io/" />
6
- <title>Openupgrade Scripts</title>
6
+ <title>README.rst</title>
7
7
  <style type="text/css">
8
8
 
9
9
  /*
@@ -360,16 +360,21 @@ ul.auto-toc {
360
360
  </style>
361
361
  </head>
362
362
  <body>
363
- <div class="document" id="openupgrade-scripts">
364
- <h1 class="title">Openupgrade Scripts</h1>
363
+ <div class="document">
365
364
 
365
+
366
+ <a class="reference external image-reference" href="https://odoo-community.org/get-involved?utm_source=readme">
367
+ <img alt="Odoo Community Association" src="https://odoo-community.org/readme-banner-image" />
368
+ </a>
369
+ <div class="section" id="openupgrade-scripts">
370
+ <h1>Openupgrade Scripts</h1>
366
371
  <!-- !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
367
372
  !! This file is generated by oca-gen-addon-readme !!
368
373
  !! changes will be overwritten. !!
369
374
  !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
370
- !! source digest: sha256:58792095dc539f1f4eccbc45de3679c28e3176d8bf3682b315d670e6f3877639
375
+ !! source digest: sha256:3d4eb565304d229b449be4d0734a5f9693ed41801b58114c63461c04fea3c5b3
371
376
  !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
372
- <p><a class="reference external image-reference" href="https://odoo-community.org/page/development-status"><img alt="Beta" src="https://img.shields.io/badge/maturity-Beta-yellow.png" /></a> <a class="reference external image-reference" href="http://www.gnu.org/licenses/agpl-3.0-standalone.html"><img alt="License: AGPL-3" src="https://img.shields.io/badge/licence-AGPL--3-blue.png" /></a> <a class="reference external image-reference" href="https://github.com/OCA/OpenUpgrade/tree/16.0/openupgrade_scripts"><img alt="OCA/OpenUpgrade" src="https://img.shields.io/badge/github-OCA%2FOpenUpgrade-lightgray.png?logo=github" /></a> <a class="reference external image-reference" href="https://translation.odoo-community.org/projects/OpenUpgrade-16-0/OpenUpgrade-16-0-openupgrade_scripts"><img alt="Translate me on Weblate" src="https://img.shields.io/badge/weblate-Translate%20me-F47D42.png" /></a> <a class="reference external image-reference" href="https://runboat.odoo-community.org/builds?repo=OCA/OpenUpgrade&amp;target_branch=16.0"><img alt="Try me on Runboat" src="https://img.shields.io/badge/runboat-Try%20me-875A7B.png" /></a></p>
377
+ <p><a class="reference external image-reference" href="https://odoo-community.org/page/development-status"><img alt="Beta" src="https://img.shields.io/badge/maturity-Beta-yellow.png" /></a> <a class="reference external image-reference" href="http://www.gnu.org/licenses/agpl-3.0-standalone.html"><img alt="License: AGPL-3" src="https://img.shields.io/badge/license-AGPL--3-blue.png" /></a> <a class="reference external image-reference" href="https://github.com/OCA/OpenUpgrade/tree/16.0/openupgrade_scripts"><img alt="OCA/OpenUpgrade" src="https://img.shields.io/badge/github-OCA%2FOpenUpgrade-lightgray.png?logo=github" /></a> <a class="reference external image-reference" href="https://translation.odoo-community.org/projects/OpenUpgrade-16-0/OpenUpgrade-16-0-openupgrade_scripts"><img alt="Translate me on Weblate" src="https://img.shields.io/badge/weblate-Translate%20me-F47D42.png" /></a> <a class="reference external image-reference" href="https://runboat.odoo-community.org/builds?repo=OCA/OpenUpgrade&amp;target_branch=16.0"><img alt="Try me on Runboat" src="https://img.shields.io/badge/runboat-Try%20me-875A7B.png" /></a></p>
373
378
  <p>This module is a containers of migration script to migrate from 15.0 to
374
379
  16.0 version.</p>
375
380
  <p><strong>Table of contents</strong></p>
@@ -385,12 +390,12 @@ ul.auto-toc {
385
390
  </ul>
386
391
  </div>
387
392
  <div class="section" id="installation">
388
- <h1><a class="toc-backref" href="#toc-entry-1">Installation</a></h1>
393
+ <h2><a class="toc-backref" href="#toc-entry-1">Installation</a></h2>
389
394
  <p>This module does not need to be installed on a database. It simply needs
390
395
  to be available via your <tt class="docutils literal"><span class="pre">addons-path</span></tt>.</p>
391
396
  </div>
392
397
  <div class="section" id="configuration">
393
- <h1><a class="toc-backref" href="#toc-entry-2">Configuration</a></h1>
398
+ <h2><a class="toc-backref" href="#toc-entry-2">Configuration</a></h2>
394
399
  <ul class="simple">
395
400
  <li>call your odoo instance with the option
396
401
  <tt class="docutils literal"><span class="pre">--upgrade-path=/PATH_TO_openupgrade_scripts_MODULE/scripts/</span></tt></li>
@@ -405,7 +410,7 @@ to be available via your <tt class="docutils literal"><span class="pre">addons-p
405
410
  </pre>
406
411
  </div>
407
412
  <div class="section" id="bug-tracker">
408
- <h1><a class="toc-backref" href="#toc-entry-3">Bug Tracker</a></h1>
413
+ <h2><a class="toc-backref" href="#toc-entry-3">Bug Tracker</a></h2>
409
414
  <p>Bugs are tracked on <a class="reference external" href="https://github.com/OCA/OpenUpgrade/issues">GitHub Issues</a>.
410
415
  In case of trouble, please check there if your issue has already been reported.
411
416
  If you spotted it first, help us to smash it by providing a detailed and welcomed
@@ -413,9 +418,9 @@ If you spotted it first, help us to smash it by providing a detailed and welcome
413
418
  <p>Do not contact contributors directly about support or help with technical issues.</p>
414
419
  </div>
415
420
  <div class="section" id="credits">
416
- <h1><a class="toc-backref" href="#toc-entry-4">Credits</a></h1>
421
+ <h2><a class="toc-backref" href="#toc-entry-4">Credits</a></h2>
417
422
  <div class="section" id="maintainers">
418
- <h2><a class="toc-backref" href="#toc-entry-5">Maintainers</a></h2>
423
+ <h3><a class="toc-backref" href="#toc-entry-5">Maintainers</a></h3>
419
424
  <p>This module is maintained by the OCA.</p>
420
425
  <a class="reference external image-reference" href="https://odoo-community.org">
421
426
  <img alt="Odoo Community Association" src="https://odoo-community.org/logo.png" />
@@ -428,5 +433,6 @@ promote its widespread use.</p>
428
433
  </div>
429
434
  </div>
430
435
  </div>
436
+ </div>
431
437
  </body>
432
438
  </html>
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: odoo-addon-openupgrade_scripts
3
- Version: 16.0.1.0.4.71
3
+ Version: 16.0.1.0.5.2
4
4
  Requires-Python: >=3.10
5
5
  Requires-Dist: odoo>=16.0a,<16.1dev
6
6
  Requires-Dist: openupgradelib
@@ -13,6 +13,11 @@ Classifier: Programming Language :: Python
13
13
  Classifier: Framework :: Odoo
14
14
  Classifier: Framework :: Odoo :: 16.0
15
15
  Classifier: License :: OSI Approved :: GNU Affero General Public License v3
16
+ Description-Content-Type: text/x-rst
17
+
18
+ .. image:: https://odoo-community.org/readme-banner-image
19
+ :target: https://odoo-community.org/get-involved?utm_source=readme
20
+ :alt: Odoo Community Association
16
21
 
17
22
  ===================
18
23
  Openupgrade Scripts
@@ -23,13 +28,13 @@ Openupgrade Scripts
23
28
  !! This file is generated by oca-gen-addon-readme !!
24
29
  !! changes will be overwritten. !!
25
30
  !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
26
- !! source digest: sha256:58792095dc539f1f4eccbc45de3679c28e3176d8bf3682b315d670e6f3877639
31
+ !! source digest: sha256:3d4eb565304d229b449be4d0734a5f9693ed41801b58114c63461c04fea3c5b3
27
32
  !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
28
33
 
29
34
  .. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
30
35
  :target: https://odoo-community.org/page/development-status
31
36
  :alt: Beta
32
- .. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png
37
+ .. |badge2| image:: https://img.shields.io/badge/license-AGPL--3-blue.png
33
38
  :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
34
39
  :alt: License: AGPL-3
35
40
  .. |badge3| image:: https://img.shields.io/badge/github-OCA%2FOpenUpgrade-lightgray.png?logo=github
@@ -1,6 +1,6 @@
1
- odoo/addons/openupgrade_scripts/README.rst,sha256=KeLwkuuPQFfEKRufHj0LT6fq2ZRD-Fz4kHZMBtw0iY8,3179
1
+ odoo/addons/openupgrade_scripts/README.rst,sha256=y4uwlIdKGWSFbdWx43iMJrc_s1sdJ-pGi2rNJNQd5LI,3344
2
2
  odoo/addons/openupgrade_scripts/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
3
- odoo/addons/openupgrade_scripts/__manifest__.py,sha256=f_Fz9Z7dbYnl_OgZiGgnt-Jz2ynNNGKPDZMrnQKVT3k,616
3
+ odoo/addons/openupgrade_scripts/__manifest__.py,sha256=rhWGsUFAFZn6tdlHn_D8Gjbd-BSTv4mcMKCnlpnyJXE,616
4
4
  odoo/addons/openupgrade_scripts/apriori.py,sha256=2qH7RFZS4eDW5QRsZPYxJVS7FnVaroRsYqUBnfcBY-M,6454
5
5
  odoo/addons/openupgrade_scripts/readme/CONFIGURE.md,sha256=rnx8ADTYzVUB93PIG3Lib0iWBrphSfVRs6RMikklf3M,238
6
6
  odoo/addons/openupgrade_scripts/readme/DESCRIPTION.md,sha256=BjDqrcnpe1CH_nExaecb0_4Uuopm_EPyu-cWnQhWDyE,86
@@ -60,9 +60,11 @@ odoo/addons/openupgrade_scripts/scripts/base/16.0.1.3/pre-migration.py,sha256=Wd
60
60
  odoo/addons/openupgrade_scripts/scripts/base/16.0.1.3/upgrade_analysis.txt,sha256=ThK2rCQVceI3NqoOiqt_SYedOd7c8--tsUZ8dmPUz_I,11314
61
61
  odoo/addons/openupgrade_scripts/scripts/base/16.0.1.3/upgrade_analysis_work.txt,sha256=eyd3tF1ctvWY6b9cPULRC9-KPKyKXolXVnE6Re2-nKw,11387
62
62
  odoo/addons/openupgrade_scripts/scripts/base/16.0.1.3/upgrade_general_log.txt,sha256=GsgXrqhdPCQn16HO8J5qHAnC7gyAtrzQkIvUCHgVgXo,20904
63
- odoo/addons/openupgrade_scripts/scripts/base/16.0.1.3/tests/__init__.py,sha256=IdTkyIvYUgV3BYB4jK6kT5TTYw9-dcEAdcEmQqdqo-8,34
63
+ odoo/addons/openupgrade_scripts/scripts/base/16.0.1.3/tests/__init__.py,sha256=JuV2AHdcN6CjX8uXg1q3XGx2f8UTdGeexNJIb4bP6sM,83
64
64
  odoo/addons/openupgrade_scripts/scripts/base/16.0.1.3/tests/data.py,sha256=dIspzp_EBLraDCGKqp2DuGmUcqKF32l4AGKacErqnSw,171
65
+ odoo/addons/openupgrade_scripts/scripts/base/16.0.1.3/tests/end-migration_test.py,sha256=NiD5z_CtaHOUJDl7z5Xhu09moVfh9x0MwPS5Yg8S_Us,454
65
66
  odoo/addons/openupgrade_scripts/scripts/base/16.0.1.3/tests/test_base_migration.py,sha256=UiINlK2nPbIMKpSWz9oXlXbhWZILZ9yY5P1O6ajwcVE,687
67
+ odoo/addons/openupgrade_scripts/scripts/base/16.0.1.3/tests/test_newly_installed_end_migration.py,sha256=b-jyPxw6KuiSKANZHUSA12jSRVWwR_H0n-t5awUBzSs,459
66
68
  odoo/addons/openupgrade_scripts/scripts/base_address_extended/16.0.1.1/pre-migration.py,sha256=o1VIISnBMopRje0JYVp9Yvh4cwM3f6z2MFLPVUnmDaE,1335
67
69
  odoo/addons/openupgrade_scripts/scripts/base_address_extended/16.0.1.1/upgrade_analysis.txt,sha256=YQVvT8Xf1QUKqVGejbtZ20szRXhoqA_h1YkwOrMnh8o,1665
68
70
  odoo/addons/openupgrade_scripts/scripts/base_address_extended/16.0.1.1/upgrade_analysis_work.txt,sha256=TbA40zDO2qYzT56uu1tkjm1SE_pnIr-ROgogGXyYqXg,1715
@@ -682,7 +684,7 @@ odoo/addons/openupgrade_scripts/scripts/web_editor/16.0.1.0/upgrade_analysis.txt
682
684
  odoo/addons/openupgrade_scripts/scripts/web_editor/16.0.1.0/upgrade_analysis_work.txt,sha256=0aFLxiZZm2pddnvepo7jSIJ3Iek3mnH4oLV7rnG0jRE,213
683
685
  odoo/addons/openupgrade_scripts/scripts/web_tour/16.0.0.1/upgrade_analysis.txt,sha256=_dVyBxQ-ck0iyHgRd6mifxeSsMCRxdpCQcCDVn-lvMk,147
684
686
  odoo/addons/openupgrade_scripts/scripts/web_tour/16.0.0.1/upgrade_analysis_work.txt,sha256=OFVVLWaIounkcVq_mmX4DP7on6of6oG3NFVgMQ2KEZc,163
685
- odoo/addons/openupgrade_scripts/scripts/website/16.0.1.0/end-migration.py,sha256=ZpSGVwmWzUfoTsagrZuRyPHL5HAdRcxVYkvu_TMTgxE,3518
687
+ odoo/addons/openupgrade_scripts/scripts/website/16.0.1.0/end-migration.py,sha256=ADEDmXqGOx7AVgXOwzdQe3HsOniDzP6S8DtjnIebgA4,3593
686
688
  odoo/addons/openupgrade_scripts/scripts/website/16.0.1.0/noupdate_changes.xml,sha256=fj5Ae_7zlLILy8NNpY_MYKnNfOvL4-QrJlRbCsUgae8,312
687
689
  odoo/addons/openupgrade_scripts/scripts/website/16.0.1.0/post-migration.py,sha256=o6fuzgKXOoamlXNMm9UYMGrWJ7xEnvyNzRNiK-h-ZWA,169
688
690
  odoo/addons/openupgrade_scripts/scripts/website/16.0.1.0/pre-migration.py,sha256=Invtw62qgK3tIwp8vcjNueh9b5pnztTXfmuMsWiyoBU,4709
@@ -787,8 +789,8 @@ odoo/addons/openupgrade_scripts/scripts/website_slides_survey/16.0.1.0/upgrade_a
787
789
  odoo/addons/openupgrade_scripts/scripts/website_twitter/16.0.1.0/upgrade_analysis.txt,sha256=_ywbj94l0RY95_DJk41aqWcPBKu7O0icArQySZCAziM,168
788
790
  odoo/addons/openupgrade_scripts/static/description/banner.png,sha256=KTIBu4gfxeZVw9zjs_fivTgFEOeaAorlBxajmCA1p6k,26859
789
791
  odoo/addons/openupgrade_scripts/static/description/icon.png,sha256=6xBPJauaFOF0KDHfHgQopSc28kKvxMaeoQFQWZtfZDo,9455
790
- odoo/addons/openupgrade_scripts/static/description/index.html,sha256=lhClLPKVfyr35iwnz9k0nWIaXit5yPHXUyoekhL3rsc,12722
791
- odoo_addon_openupgrade_scripts-16.0.1.0.4.71.dist-info/METADATA,sha256=ZBLUQdbYxT3Of0D7GFHfXcGo96tKjsaVfbst0esv7A8,3784
792
- odoo_addon_openupgrade_scripts-16.0.1.0.4.71.dist-info/WHEEL,sha256=9fEMia4zL7ZuZbnCOrcYogUhmn4XFIVaJ8G4YGI31xc,81
793
- odoo_addon_openupgrade_scripts-16.0.1.0.4.71.dist-info/top_level.txt,sha256=QE6RBQ0QX5f4eFuUcGgU5Kbq1A_qJcDs-e_vpr6pmfU,4
794
- odoo_addon_openupgrade_scripts-16.0.1.0.4.71.dist-info/RECORD,,
792
+ odoo/addons/openupgrade_scripts/static/description/index.html,sha256=T3CGCNUVysVD8ysCfwpbPWR5z8x_9vbYNoS4TLHDYOQ,12940
793
+ odoo_addon_openupgrade_scripts-16.0.1.0.5.2.dist-info/METADATA,sha256=mMQ8ec5jbl1INAod1cJbgP4nZF-KmkAkfMGzK_n7JpU,3985
794
+ odoo_addon_openupgrade_scripts-16.0.1.0.5.2.dist-info/WHEEL,sha256=9fEMia4zL7ZuZbnCOrcYogUhmn4XFIVaJ8G4YGI31xc,81
795
+ odoo_addon_openupgrade_scripts-16.0.1.0.5.2.dist-info/top_level.txt,sha256=QE6RBQ0QX5f4eFuUcGgU5Kbq1A_qJcDs-e_vpr6pmfU,4
796
+ odoo_addon_openupgrade_scripts-16.0.1.0.5.2.dist-info/RECORD,,