Daily updates from Odoo
Tuesday, February 25, 2020
3 changes · master
Enhancements to existing features
Odoo now skips an unnecessary database check when reading records whose identifiers are already known. This reduces database queries in common data-loading flows, improving performance while keeping access-rule checks in place.
Original PR description
When the `select` returns nothing more than ids that are already known, there is no need to make it at all. This removes one query from `_read` every time it has to fetch only fields that are stored in a different table (o2m, ...), which happens all the time when reading a stored field first (triggering prefetch) and then reading a o2m. The query that is now removed was used to check access rules, but the trick is to use `check_access_rule` to verify the rules in python instead. Part of task-2061122
When copying shifts from the previous week, Planning now respects the filters currently applied by the user. This helps managers duplicate only the relevant schedules, reducing cleanup work and preventing unwanted shifts from being copied.
Original PR description
taskID: 2201054
Helpdesk SLAs can now exclude specific ticket stages from deadline calculations. This lets teams pause SLA timers when tickets are waiting in agreed stages, making deadlines more accurate and fair.
Original PR description
Add exclude stage in SLA. If the ticket is in this stage, the deadline is extended. taskID: 2176362