Skip to content

[19.0][MIG] ddmrp_history: Migration to 19.0#607

Open
LoisRForgeFlow wants to merge 81 commits intoOCA:19.0from
ForgeFlow:19.0-mig-ddmrp_history
Open

[19.0][MIG] ddmrp_history: Migration to 19.0#607
LoisRForgeFlow wants to merge 81 commits intoOCA:19.0from
ForgeFlow:19.0-mig-ddmrp_history

Conversation

@LoisRForgeFlow
Copy link
Copy Markdown
Contributor

No description provided.

LoisRForgeFlow and others added 30 commits April 29, 2026 09:54
* Migration to 11.0
* Add python unittest
* Improve code according to reviews
* update ddmrp_history README and manifest to follow OCA guideliens and add new icon.
* add context to be able to avoid history creation.
* improve tests.
* solve todo comments.
 * make charts responsive.
 * remove nfp from execution chart.
 * remove bokeh logo from charts.
 * format dates using user's language.
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: ddmrp-11.0/ddmrp-11.0-ddmrp_history
Translate-URL: https://translation.odoo-community.org/projects/ddmrp-11-0/ddmrp-11-0-ddmrp_history/
Currently translated at 93.1% (27 of 29 strings)

Translation: ddmrp-13.0/ddmrp-13.0-ddmrp_history
Translate-URL: https://translation.odoo-community.org/projects/ddmrp-13-0/ddmrp-13-0-ddmrp_history/fr/
There is a frequent search on it
DavidJForgeFlow and others added 25 commits April 29, 2026 09:54
Resize the top yellow of the execution chart to share half of the top zone with the red zone. This fixes the case when the green zone is big enought to consume enterily the top yellow zone.
Currently translated at 100.0% (29 of 29 strings)

Translation: ddmrp-16.0/ddmrp-16.0-ddmrp_history
Translate-URL: https://translation.odoo-community.org/projects/ddmrp-16-0/ddmrp-16-0-ddmrp_history/es/
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: ddmrp-16.0/ddmrp-16.0-ddmrp_history
Translate-URL: https://translation.odoo-community.org/projects/ddmrp-16-0/ddmrp-16-0-ddmrp_history/
Currently translated at 100.0% (30 of 30 strings)

Translation: ddmrp-16.0/ddmrp-16.0-ddmrp_history
Translate-URL: https://translation.odoo-community.org/projects/ddmrp-16-0/ddmrp-16-0-ddmrp_history/it/
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: ddmrp-17.0/ddmrp-17.0-ddmrp_history
Translate-URL: https://translation.odoo-community.org/projects/ddmrp-17-0/ddmrp-17-0-ddmrp_history/
Field company_id on ddmrp.history is defined as a related to
buffer_id.company_id which is a required field on stock.buffer.

Therefore, we do not need to consider the possibility of a null
value in the rule, which will in turn improve how Odoo's ORM
will generate the SQL to fetch records linked to a single buffer.

In a table with >30M records and 2000 linked to a single buffer,
execution time went from 10-15ms to 3-5ms to get all the records
from a single buffer.
@LoisRForgeFlow LoisRForgeFlow force-pushed the 19.0-mig-ddmrp_history branch from bf27492 to ce84b08 Compare April 29, 2026 15:33
@LoisRForgeFlow LoisRForgeFlow changed the title 19.0][MIG] ddmrp_history: Migration to 19.0 [19.0][MIG] ddmrp_history: Migration to 19.0 Apr 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.