Daily updates from Odoo
Sunday, June 15, 2025
5 changes
2 changes
Miscellaneous changes
### Description: When opening Shop Floor, the frontend will fetch all the worksheets linked to the displayed MOs. This causes the ORM to load all the attachments at the same time, which can create a Memory Error(OOM). ### Fix: The only reason why it is retrieved at the opening of the view is to check if the workorders have a worksheet. If it is, then the worksheet is loaded again when needed (i.e. when button is clicked to display it). This means that we can avoid unnecessarily preloadi
Original PR description
### Description: When opening Shop Floor, the frontend will fetch all the worksheets linked to the displayed MOs. This causes the ORM to load all the attachments at the same time, which can create a Memory Error(OOM). ### Fix: The only reason why it is retrieved at the opening of the view is to check if the workorders have a worksheet. If it is, then the worksheet is loaded again when needed (i.e. when button is clicked to display it). This means that we can avoid unnecessarily preloading all documents by adding a compute that will tell us if the workorders have one or not. ### Benchmark: | N° of worksheet | Before | After | |-----------------|--------|-------| | 29 | 3.36s | 1.2s | | 144 | OOM | 1.2s | ### Reference: opw-4784076 Forward-Port-Of: odoo/enterprise#87539 Forward-Port-Of: odoo/enterprise#86318
Issue: --- - For providers like JustEat, Grubhub, DoorDash, and UberEats (US/UK regions), UrbanPiper expects the entire product catalog during sync. - However, Odoo was sending only updated products, causing issues on their end. Fix: --- - Updated the condition to ensure a full product sync is performed when any of the configured providers require it. task-4863894 Forward-Port-Of: odoo/enterprise#87470
Original PR description
Issue: --- - For providers like JustEat, Grubhub, DoorDash, and UberEats (US/UK regions), UrbanPiper expects the entire product catalog during sync. - However, Odoo was sending only updated products, causing issues on their end. Fix: --- - Updated the condition to ensure a full product sync is performed when any of the configured providers require it. task-4863894 Forward-Port-Of: odoo/enterprise#87470
3 changes
Code cleanup and technical improvements
The sales order code has been reorganized to make future changes easier and safer. This internal restructuring also adds test coverage for sales order email behavior, helping reduce the risk of regressions without changing the customer-facing sales workflow.
Miscellaneous changes
To reproduce ============ - Go to Documents app - schedule some activities on different documents for Mitchel Admin and Marc Demo - Go to the activity view, and set filter to Activities assigned to Mitchel Admin - only documents with activities assigned to Mitchel Admin should be shown - select one of them and move it to the trash -> the filter won't be applied anymore, and all documents with activities will be shown Problem ======= after archiving a document, the `load` method is c
Original PR description
To reproduce ============ - Go to Documents app - schedule some activities on different documents for Mitchel Admin and Marc Demo - Go to the activity view, and set filter to Activities assigned to Mitchel Admin - only documents with activities assigned to Mitchel Admin should be shown - select one of them and move it to the trash -> the filter won't be applied anymore, and all documents with activities will be shown Problem ======= after archiving a document, the `load` method is called without `searchParams` where `domain` should be defined, so an empty domain is used. Solution ======== in case domain is not defined, we should use the domain from `originalDomain` instead of an empty domain. opw-4354175 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr Forward-Port-Of: odoo/odoo#191991
added test opw-4354175 Forward-Port-Of: odoo/enterprise#85978
Original PR description
added test opw-4354175 Forward-Port-Of: odoo/enterprise#85978