Skip to content

Commit

Permalink
[REF] upgrade_analysis: allow to set upgrade_path manually
Browse files Browse the repository at this point in the history
This allows to circumvent Odoo's complaint of

   'openupgrade_scripts/scripts/' is not a valid upgrade directory

when there are no analysis files present yet.
  • Loading branch information
StefanRijnhart committed Feb 2, 2024
1 parent 6489d0a commit 5eac3a5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion upgrade_analysis/models/upgrade_analysis.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,8 @@ class UpgradeAnalysis(models.Model):
log = fields.Text(readonly=True)
upgrade_path = fields.Char(
compute="_compute_upgrade_path",
readonly=True,
readonly=False,
store=True,
help=(
"The base file path to save the analyse files of Odoo modules. "
"Taken from Odoo's --upgrade-path command line option or the "
Expand Down

0 comments on commit 5eac3a5

Please sign in to comment.