Skip to content

Conversation

@hbrunn
Copy link
Member

@hbrunn hbrunn commented Sep 26, 2025

I added a commit to normalize constraint definitions for comparison, otherwise we get our work files spammed with lines like

ir.model.constraint: base.constraint_ir_embedded_actions_check_python_method_requires_name (changed definition: is now 'CHECK(NOT (python_method IS NOT NULL AND name IS NULL))' ('check(    not(python_method is not null and name is null)   )'))

and another one turning the confusing error message in the general log into a helpful informational message

@MiquelRForgeFlow
Copy link
Contributor

I have some improvements to add, too.

@legalsylvain
Copy link
Contributor

@hbrunn : could you take a look on conflict ?

@hbrunn
Copy link
Member Author

hbrunn commented Sep 30, 2025

I've rebased this manually already, no idea where github has the notion of conflicts from. let's see what ocabot does

/ocabot rebase

@OCA-git-bot
Copy link
Contributor

Congratulations, PR rebased to 19.0.

@MiquelRForgeFlow
Copy link
Contributor

Selection_5002

@pedrobaeza
Copy link
Member

/ocabot migration upgrade_analysis

@OCA-git-bot OCA-git-bot added this to the 19.0 milestone Sep 30, 2025
@OCA-git-bot OCA-git-bot mentioned this pull request Sep 30, 2025
39 tasks
@legalsylvain
Copy link
Contributor

legalsylvain commented Oct 29, 2025

Hi @hbrunn. thanks for this porting this module.

I just used this module to generate analysis file (to estimate workload for the new Openupgrade V19 project). As a result, there is absolutely no "models" changes in all the odoo modules. I find it quite weird. Did you faced similar observation ?

thanks !

Detail :

for the ~80 modules installed for the 6 lots of the openupgrade project :

  • V17 : 83 models changes ; 879 fields changes ; 1037 XML changes
  • V18 : 57 models changes ; 628 fields changes ; 524 XML changes
  • V19 : 0 models changes ; 792 fields changes ; 936 XML changes

@MiquelRForgeFlow
Copy link
Contributor

V18 : 57 models changes ; 628 fields changes ; 524 XML changes

Where do you look to get this info?

@legalsylvain
Copy link
Contributor

Where do you look to get this info?

I count the number of lines in each "section" of each openupgrade_analysis.txt file.

for instance :

https://github.com/grap/OpenUpgrade/blob/19.0-mig-openupgrade_scripts/openupgrade_scripts/scripts/base/19.0.1.3/upgrade_general_log.txt

@MiquelRForgeFlow
Copy link
Contributor

Oh. With my version of upgrade_analysis and framework, I got the model changes:

v19:

---Models in module 'base'---
obsolete model res.partner.title
new model ir.actions.server.history
new model properties.base.definition
new model properties.base.definition.mixin [abstract]
new model res.groups.privilege
new model server.action.history.wizard [transient]

@legalsylvain
Copy link
Contributor

Oh. With my version of upgrade_analysis and framework,

Where is the branches of your upgrade analysis and framework ?

Thanks !

@MiquelRForgeFlow
Copy link
Contributor

Where is the branches of your upgrade analysis and framework ?

In my laptop. I still need to find time to compare my work with Holger work, and check the differences.

@hbrunn
Copy link
Member Author

hbrunn commented Oct 29, 2025

in my run I get the same as @MiquelRForgeFlow. Local issue then?

@legalsylvain
Copy link
Contributor

Thanks @hbrunn & @MiquelRForgeFlow. Indeed, there was a local problem.

I updated my analysis. (hbrunn/OpenUpgrade#19)

Note : There are more changes between V18 and V19 than between V17 and V18.

@hbrunn
Copy link
Member Author

hbrunn commented Dec 12, 2025

could everyone involved here who has successfully run an analysis review this so that we can merge?

legalsylvain and others added 9 commits December 12, 2025 14:01
… 13.0) to OCA/server-tools

Based on commit 746b7acbd90d62f9ffe6ee17472a1a3533e36597 (Fri Nov 6 17:18:47 2020 +0100)

Co-authored-by: Stefan Rijnhart <[email protected]>
… make the module installable, add readme folders
…y to select some modules, and improve filters, regarding test module with startswith and endswith pattern
… (replaced by logger), apply pre-commit rules
legalsylvain and others added 27 commits December 12, 2025 14:01
FIX: OCA#3215.
Rational : 'mapped' function has been privatized in odoo/odoo@a1adf83.
We so replace 'mapped' by 'search_read'
Fix Uncaught Promise > View types not defined tree found in act_window action undefined.
@hbrunn hbrunn force-pushed the 19.0-mig-upgrade_analysis branch from 1e77057 to e7bc510 Compare December 12, 2025 13:01
@hbrunn
Copy link
Member Author

hbrunn commented Dec 26, 2025

@legalsylvain can you give a functional review here? this is the last bit missing for OCA/OpenUpgrade#5389 to be able to push analysis files to the v19 branch

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.