Skip to content

Commit

Permalink
Merge PR OCA#2822 into 15.0
Browse files Browse the repository at this point in the history
Signed-off-by StefanRijnhart
  • Loading branch information
OCA-git-bot committed Feb 2, 2024
2 parents 0fce27d + 24e3060 commit c3978b7
Show file tree
Hide file tree
Showing 4 changed files with 36 additions and 9 deletions.
13 changes: 10 additions & 3 deletions upgrade_analysis/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Upgrade Analysis
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:ada8f25289029379d85b984bf620229c46489507dfe7db9dc785c7602d95aade
!! source digest: sha256:a39177670fd60e4ec4dde6623773c251cf22e3757d4e6cd307b860dda562455c
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
Expand All @@ -28,9 +28,16 @@ Upgrade Analysis

|badge1| |badge2| |badge3| |badge4| |badge5|

This module provides the tool to generate the database analysis files that indicate how the Odoo data model and module data have changed between two versions of Odoo. Database analysis files for the core modules are included in the OpenUpgrade distribution so as a migration script developer you will not usually need to use this tool yourself. If you do need to run your analysis of a custom set of modules, please refer to the documentation here: https://doc.therp.nl/openupgrade/analysis.html
This module provides the tool to generate the database analysis files that indicate
how the Odoo data model and module data have changed between two versions of Odoo.
Database analysis files for the core modules are included in the OpenUpgrade
distribution so as a migration script developer you will not usually need to use
this tool yourself. If you do need to run your analysis of a custom set of modules,
please refer to the documentation here: https://doc.therp.nl/openupgrade/analysis.html

This module is just a tool, a continuation of the old openupgrade_records in OpenUpgrade in previous versions. It's not recommended to have this module in a production database.
This module is just a tool, a continuation of the old openupgrade_records in
OpenUpgrade in previous versions. It's not recommended to have this module in a
production database.

**Table of contents**

Expand Down
8 changes: 7 additions & 1 deletion upgrade_analysis/models/upgrade_comparison_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,4 +93,10 @@ def new_analysis(self):

def action_show_analysis(self):
self.ensure_one()
return {}
return {
"type": "ir.actions.act_window",
"name": "Analyses",
"res_model": "upgrade.analysis",
"view_mode": "tree,form",
"domain": [("id", "in", self.analysis_ids.ids)],
}
11 changes: 9 additions & 2 deletions upgrade_analysis/readme/DESCRIPTION.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
This module provides the tool to generate the database analysis files that indicate how the Odoo data model and module data have changed between two versions of Odoo. Database analysis files for the core modules are included in the OpenUpgrade distribution so as a migration script developer you will not usually need to use this tool yourself. If you do need to run your analysis of a custom set of modules, please refer to the documentation here: https://doc.therp.nl/openupgrade/analysis.html
This module provides the tool to generate the database analysis files that indicate
how the Odoo data model and module data have changed between two versions of Odoo.
Database analysis files for the core modules are included in the OpenUpgrade
distribution so as a migration script developer you will not usually need to use
this tool yourself. If you do need to run your analysis of a custom set of modules,
please refer to the documentation here: https://doc.therp.nl/openupgrade/analysis.html

This module is just a tool, a continuation of the old openupgrade_records in OpenUpgrade in previous versions. It's not recommended to have this module in a production database.
This module is just a tool, a continuation of the old openupgrade_records in
OpenUpgrade in previous versions. It's not recommended to have this module in a
production database.
13 changes: 10 additions & 3 deletions upgrade_analysis/static/description/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -367,11 +367,18 @@ <h1 class="title">Upgrade Analysis</h1>
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:ada8f25289029379d85b984bf620229c46489507dfe7db9dc785c7602d95aade
!! source digest: sha256:a39177670fd60e4ec4dde6623773c251cf22e3757d4e6cd307b860dda562455c
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
<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/server-tools/tree/15.0/upgrade_analysis"><img alt="OCA/server-tools" src="https://img.shields.io/badge/github-OCA%2Fserver--tools-lightgray.png?logo=github" /></a> <a class="reference external image-reference" href="https://translation.odoo-community.org/projects/server-tools-15-0/server-tools-15-0-upgrade_analysis"><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/server-tools&amp;target_branch=15.0"><img alt="Try me on Runboat" src="https://img.shields.io/badge/runboat-Try%20me-875A7B.png" /></a></p>
<p>This module provides the tool to generate the database analysis files that indicate how the Odoo data model and module data have changed between two versions of Odoo. Database analysis files for the core modules are included in the OpenUpgrade distribution so as a migration script developer you will not usually need to use this tool yourself. If you do need to run your analysis of a custom set of modules, please refer to the documentation here: <a class="reference external" href="https://doc.therp.nl/openupgrade/analysis.html">https://doc.therp.nl/openupgrade/analysis.html</a></p>
<p>This module is just a tool, a continuation of the old openupgrade_records in OpenUpgrade in previous versions. It’s not recommended to have this module in a production database.</p>
<p>This module provides the tool to generate the database analysis files that indicate
how the Odoo data model and module data have changed between two versions of Odoo.
Database analysis files for the core modules are included in the OpenUpgrade
distribution so as a migration script developer you will not usually need to use
this tool yourself. If you do need to run your analysis of a custom set of modules,
please refer to the documentation here: <a class="reference external" href="https://doc.therp.nl/openupgrade/analysis.html">https://doc.therp.nl/openupgrade/analysis.html</a></p>
<p>This module is just a tool, a continuation of the old openupgrade_records in
OpenUpgrade in previous versions. It’s not recommended to have this module in a
production database.</p>
<p><strong>Table of contents</strong></p>
<div class="contents local topic" id="contents">
<ul class="simple">
Expand Down

0 comments on commit c3978b7

Please sign in to comment.