Skip to content

Commit

Permalink
[FIX] smart button to open the list of analysis from a config
Browse files Browse the repository at this point in the history
  • Loading branch information
jcdrubay authored and MiquelRForgeFlow committed Dec 12, 2024
1 parent 648a244 commit 49d5597
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 7 deletions.
15 changes: 11 additions & 4 deletions upgrade_analysis/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
Upgrade Analysis
================

..
..
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
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 Expand Up @@ -102,7 +109,7 @@ promote its widespread use.

Current `maintainers <https://odoo-community.org/page/maintainer-role>`__:

|maintainer-StefanRijnhart| |maintainer-legalsylvain|
|maintainer-StefanRijnhart| |maintainer-legalsylvain|

This module is part of the `OCA/server-tools <https://github.com/OCA/server-tools/tree/16.0/upgrade_analysis>`_ project on GitHub.

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.

0 comments on commit 49d5597

Please sign in to comment.