Skip to content

Fork Sync Branch 18.0#177

Merged
btl-bot merged 66 commits intoBTLzdravtech:18.0from
OCA:18.0
Dec 18, 2025
Merged

Fork Sync Branch 18.0#177
btl-bot merged 66 commits intoBTLzdravtech:18.0from
OCA:18.0

Conversation

@btl-bot
Copy link

@btl-bot btl-bot commented Dec 18, 2025

No description provided.

vvrossem and others added 30 commits December 11, 2025 09:12
Drops ``astor``: unused external dependency
Signed-off-by pedrobaeza
fixup! [ADD] new module module_analysis

fixup! fixup! [ADD] new module module_analysis

fixup! fixup! fixup! [ADD] new module module_analysis

fixup! fixup! fixup! fixup! [ADD] new module module_analysis

IMP exception message

fixup! fixup! fixup! fixup! fixup! [ADD] new module module_analysis

[REF] remove use of cloc. use pygount librairy instead

fixup! [REF] remove use of cloc. use pygount librairy instead

fixup! fixup! [REF] remove use of cloc. use pygount librairy instead

Apply suggestions from code review

Co-Authored-By: David Beal <david.beal@akretion.com>

Update module_analysis/views/menu.xml

Co-Authored-By: David Beal <david.beal@akretion.com>

Update module_analysis/tests/test_module.py

Co-Authored-By: David Beal <david.beal@akretion.com>

Update module_analysis/readme/CONFIGURE.rst

Co-Authored-By: David Beal <david.beal@akretion.com>

[IMP] handle encoding

[UPD] Update module_analysis.pot

[UPD] README.rst

[UPD] README.rst
Currently translated at 100.0% (35 of 35 strings)

Translation: server-tools-12.0/server-tools-12.0-module_analysis
Translate-URL: https://translation.odoo-community.org/projects/server-tools-12-0/server-tools-12-0-module_analysis/zh_CN/

[UPD] README.rst
Currently translated at 100.0% (35 of 35 strings)

Translation: server-tools-13.0/server-tools-13.0-module_analysis
Translate-URL: https://translation.odoo-community.org/projects/server-tools-13-0/server-tools-13-0-module_analysis/it/
[MIG] module_analysis: Migration to 15.0
…cause the analysis is partial (it also make the update slower) ; Add instead a cron task that is executed nightly to update analysis automatically
Currently translated at 97.2% (35 of 36 strings)

Translation: server-tools-15.0/server-tools-15.0-module_analysis
Translate-URL: https://translation.odoo-community.org/projects/server-tools-15-0/server-tools-15-0-module_analysis/it/
Analyse can take some time and a cron task can do it every day if needed, no need to recompute it in real time
mymage and others added 26 commits December 11, 2025 12:17
Currently translated at 91.6% (33 of 36 strings)

Translation: server-tools-16.0/server-tools-16.0-module_analysis
Translate-URL: https://translation.odoo-community.org/projects/server-tools-16-0/server-tools-16-0-module_analysis/it/
Currently translated at 100.0% (36 of 36 strings)

Translation: server-tools-16.0/server-tools-16.0-module_analysis
Translate-URL: https://translation.odoo-community.org/projects/server-tools-16-0/server-tools-16-0-module_analysis/es/
Currently translated at 91.6% (33 of 36 strings)

Translation: server-tools-16.0/server-tools-16.0-module_analysis
Translate-URL: https://translation.odoo-community.org/projects/server-tools-16-0/server-tools-16-0-module_analysis/it/
Currently translated at 91.6% (33 of 36 strings)

Translation: server-tools-16.0/server-tools-16.0-module_analysis
Translate-URL: https://translation.odoo-community.org/projects/server-tools-16-0/server-tools-16-0-module_analysis/it/
Currently translated at 100.0% (36 of 36 strings)

Translation: server-tools-16.0/server-tools-16.0-module_analysis
Translate-URL: https://translation.odoo-community.org/projects/server-tools-16-0/server-tools-16-0-module_analysis/it/
Currently translated at 100.0% (36 of 36 strings)

Translation: server-tools-16.0/server-tools-16.0-module_analysis
Translate-URL: https://translation.odoo-community.org/projects/server-tools-16-0/server-tools-16-0-module_analysis/it/
Currently translated at 100.0% (36 of 36 strings)

Translation: server-tools-16.0/server-tools-16.0-module_analysis
Translate-URL: https://translation.odoo-community.org/projects/server-tools-16-0/server-tools-16-0-module_analysis/it/
Pin the pygount dependency to 1.4.0 to avoid chardet version clash

Fixes #2966
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: server-tools-17.0/server-tools-17.0-module_analysis
Translate-URL: https://translation.odoo-community.org/projects/server-tools-17-0/server-tools-17-0-module_analysis/
pygount 1.4.0 is now very old and current code does not work on recent versions.
It is however easy to improve compatibility accross pygount versions using the
code_count property instead of the code one, which was removed in 2.0.0.
That way, pygount 1.4.0 stays supported but also modern version up to at least
 3.1.0.
Signed-off-by rvalyi
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: server-tools-18.0/server-tools-18.0-autovacuum_message_attachment
Translate-URL: https://translation.odoo-community.org/projects/server-tools-18-0/server-tools-18-0-autovacuum_message_attachment/
Copy link

@sireko sireko left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Auto approved

@btl-bot btl-bot merged commit 8ce11dc into BTLzdravtech:18.0 Dec 18, 2025
4 checks passed
@codecov-commenter
Copy link

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

❌ Patch coverage is 93.37349% with 11 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
module_analysis/models/ir_module_module.py 92.70% 5 Missing and 2 partials ⚠️
module_analysis/models/ir_module_author.py 88.88% 2 Missing ⚠️
module_analysis/models/ir_module_type_rule.py 88.23% 1 Missing and 1 partial ⚠️
❗ Your organization needs to install the Codecov GitHub app to enable full functionality.
Files with missing lines Coverage Δ
module_analysis/__init__.py 100.00% <100.00%> (ø)
module_analysis/models/__init__.py 100.00% <100.00%> (ø)
module_analysis/models/ir_module_type.py 100.00% <100.00%> (ø)
module_analysis/tests/__init__.py 100.00% <100.00%> (ø)
module_analysis/tests/test_module.py 100.00% <100.00%> (ø)
module_analysis/models/ir_module_author.py 88.88% <88.88%> (ø)
module_analysis/models/ir_module_type_rule.py 88.23% <88.23%> (ø)
module_analysis/models/ir_module_module.py 92.70% <92.70%> (ø)
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

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.