Daily updates from Odoo
Thursday, January 4, 2018
3 changes · master
Resolved issues and error corrections
Odoo now updates related calculated information more reliably when underlying data changes, even across multiple dependency levels. This helps prevent outdated or inconsistent values from remaining visible in the system and adds checks to catch unsupported calculation dependencies earlier.
Original PR description
Consider a computed field C that depends on a computed field B, which itself depends on field A. Before this fix, whenever A is modified, only B is invalidated/recomputed, and C may stay in cache, possibly with an inconsistent value. The patch reimplements the setting of field triggers, such that the triggers cover the transitive closure of field dependencies. This adds around 40% more triggers on fields. The patch also validates the dependencies of stored computed fields, which must be searchable (in order to determine the records to recompute.)
This fixes a problem where the graph view could appear empty after a user switched from the pivot view. Users can now move between pivot and graph reporting views without losing the displayed data, improving reliability for analysis workflows.
Original PR description
issue: https://www.odoo.com/web#id=767485&view_type=form&model=project.issue&action=963&active_id=681&menu_id=4720 Description of the issue/feature this PR addresses: Current behavior before PR: Desired behavior after PR is merged: -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Translations are now kept unique so duplicate entries no longer cause import failures. This improves reliability when records have multiple references and also removes a slower lookup step.
Original PR description
Task : https://www.odoo.com/web#id=39834&view_type=form&model=project.task&menu_id= Pad : https://pad.odoo.com/p/r.d8eec1fc074d37599e94463bab467982