Syncing from upstream OCA/reporting-engine (19.0) - #943
Merged
Conversation
* kpi migration to odoo 9 * UI error connected * Correction base on last maxime review * correction on @elicoidal review * Warning exception improve in kpi_threshold * Latest Ellicoidal comment implemented * last Ellicoial recommendation done. * Copyright corrected
Currently translated at 100.0% (68 of 68 strings) Translation: reporting-engine-12.0/reporting-engine-12.0-kpi Translate-URL: https://translation.odoo-community.org/projects/reporting-engine-12-0/reporting-engine-12-0-kpi/pt_BR/
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. Translation: reporting-engine-12.0/reporting-engine-12.0-kpi Translate-URL: https://translation.odoo-community.org/projects/reporting-engine-12-0/reporting-engine-12-0-kpi/
Currently translated at 100.0% (79 of 79 strings) Translation: reporting-engine-12.0/reporting-engine-12.0-kpi Translate-URL: https://translation.odoo-community.org/projects/reporting-engine-12-0/reporting-engine-12-0-kpi/pt_BR/
Currently translated at 29.1% (23 of 79 strings) Translation: reporting-engine-13.0/reporting-engine-13.0-kpi Translate-URL: https://translation.odoo-community.org/projects/reporting-engine-13-0/reporting-engine-13-0-kpi/it/
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. Translation: reporting-engine-13.0/reporting-engine-13.0-kpi Translate-URL: https://translation.odoo-community.org/projects/reporting-engine-13-0/reporting-engine-13-0-kpi/
Currently translated at 28.9% (22 of 76 strings) Translation: reporting-engine-13.0/reporting-engine-13.0-kpi Translate-URL: https://translation.odoo-community.org/projects/reporting-engine-13-0/reporting-engine-13-0-kpi/it/
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. Translation: reporting-engine-17.0/reporting-engine-17.0-kpi Translate-URL: https://translation.odoo-community.org/projects/reporting-engine-17-0/reporting-engine-17-0-kpi/
Currently translated at 100.0% (74 of 74 strings) Translation: reporting-engine-17.0/reporting-engine-17.0-kpi Translate-URL: https://translation.odoo-community.org/projects/reporting-engine-17-0/reporting-engine-17-0-kpi/it/
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. Translation: reporting-engine-17.0/reporting-engine-17.0-kpi Translate-URL: https://translation.odoo-community.org/projects/reporting-engine-17-0/reporting-engine-17-0-kpi/
Currently translated at 100.0% (104 of 104 strings) Translation: reporting-engine-17.0/reporting-engine-17.0-kpi Translate-URL: https://translation.odoo-community.org/projects/reporting-engine-17-0/reporting-engine-17-0-kpi/it/
Allows KPI Python expressions to reference the datetime module, which is essential for time-based calculations in KPI formulas.
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Fix pre-commit and threshold create for Odoo 19, add threshold form notebook pages, demo data, and expanded unit tests. Use safe_eval's wrapped datetime module and recompute display fields when history records are created.
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## 19.0 #943 +/- ##
==========================================
+ Coverage 82.64% 82.88% +0.23%
==========================================
Files 111 121 +10
Lines 3077 3494 +417
Branches 307 368 +61
==========================================
+ Hits 2543 2896 +353
- Misses 421 464 +43
- Partials 113 134 +21 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
bt_gitbot