Skip to content

Commit

Permalink
[FIX] util/report: improve report categories for better precision
Browse files Browse the repository at this point in the history
Summary:
This update improves the handling of report categories in the utility module
to ensure they are more precise and well-organized.

Reason for the Change:
It was observed that the report categories were not sorted lexicographically in
order, leading to a lack of precision and organization. To address this,
the categories have been sorted lexicographically to enhance their
clarity and structure.

opw-4424140
  • Loading branch information
bda-odoo committed Jan 13, 2025
1 parent ea530f7 commit aed4a05
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/util/report.py
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ def announce_migration_report(cr):
"version": release.major_version,
"major_version": major_version,
"minor_version": minor_version,
"messages": migration_reports,
"messages": dict(sorted(migration_reports.items())),
"get_anchor_link_to_record": get_anchor_link_to_record,
}
_logger.info(migration_reports)
Expand Down

0 comments on commit aed4a05

Please sign in to comment.