Daily updates from Odoo
Friday, November 22, 2019
16 changes
Enhancements to existing features
Certification badges are now shown separately from other eLearning badges on the ranks page, making achievements tied to courses easier to find and understand. Users can click a certification badge to go directly to the related course, while background updates improve badge and challenge organization.
Original PR description
This merge adds a section to distinguish the certification badges from the
other badges users may obtain in eLearning. Certification badges are available
on the ranks page, linked to a running survey. Clicking on them directly
redirects into the linked course.
Other commits in this merge include
* renaming a category field on challenge to challenge_category to ease
its finding in code;
* renaming some statistics fields on badge model to ease its understanding;
* various usability improvements and fixes;
Task ID : 1961053
PR #32594Odoo now includes user records when automatically applying company-based restrictions. This helps keep stock and product-related selections aligned with the correct company, reducing mistakes in multi-company setups.
Original PR description
-- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This change prevents duplicate company-specific default values from being saved for the same setting, which could previously cause inconsistent results. It improves reliability across accounting, inventory valuation, point of sale, product, website learning, and core system flows by ensuring the system uses one clear value.
Original PR description
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
Manufacturing orders can now be adjusted more flexibly by adding and consuming extra components directly from work orders, even when they were not in the original bill of materials. The update also improves traceability, quantity handling, and related manufacturing screens so post-confirmation changes are recorded more accurately.
Original PR description
Increase the scope of flexible consumption, allowing to update confirmed MO's and consume components which weren't part of the initial BOM https://www.odoo.com/web#id=2082448&action=333&active_id=966&model=project.task&view_type=form&menu_id=4720 -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Time off types can now use different approval rules for allocation requests and actual leave requests. This gives businesses more control, such as allowing a manager to approve earned compensation days while another role handles later time off requests.
Original PR description
Purpose ======= We want to allow different approvals for allocations and leaves of a same type. e.g. In case of compensation days, a manager would approve the allocation request, but would later not…
Purpose ======= We want to allow different approvals for allocations and leaves of a same type. e.g. In case of compensation days, a manager would approve the allocation request, but would later not approve leave requests. Specification ============= Allocation modes ---------------- No change here except renames. 1. No limit (employee doesn't need an allocation to request a leave) 2. Allow employee requests 3. Fixed by Time Off Officer Allocation approval ------------------- A radio field to choose the approval mechanism appears if the employee is allowed to request an allocation. The following approval modes are possible: 1. Time Off Officer 2. Employee's Time Off Manager (leave_responsible_id) 3. Employee's Time Off Manager and Time Off Officer These options are the same as leave approval options (except the missing "No Validation"). If option 1 or 2 is selected, a o2m field should allow to select which Time Off Officer is responsible for approving those allocations. Additional changes ------------------ The field `code` of a leave type is unused and thus removed. A code is usefull for payroll purposes and is added by hr_payroll module. A stat button on a leave type counting how many allocation have bee made does not have any sens if no allocation is required. Therefore we remove it in this case. Task id: 1936742 -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Inventory adjustments are easier to find and start from the inventory app. Users can open draft or in-progress adjustments directly in the barcode view and create a new adjustment from scratch, improving day-to-day warehouse efficiency.
Original PR description
shows a kanban view of the draft and in progress inventory adjustment, I click on it, it opens the barcode view of the inventory adjustment and add a create button to start an inventory adjustment from scratch to provide more efficiency and convenience to user. Task : https://www.odoo.com/web#id=1970451&action=327&model=project.task&view_type=form&menu_id=4720 Pad : https://pad.odoo.com/p/r.14bd692e7a6b5301c19b90bc044729b3 -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Project tasks can now be organized into multiple nested sub-task levels instead of only one. This gives teams more flexibility to break down complex work, while keeping sub-task counts, naming, project assignment, and planned or effective hours aligned across the hierarchy.
Original PR description
Purpose ======= Currently, it is only possible to have 1 level of sub-tasks per task. The user may want several levels of granurality. Specifications ============== Allow having multi levels of…
Purpose ======= Currently, it is only possible to have 1 level of sub-tasks per task. The user may want several levels of granurality. Specifications ============== Allow having multi levels of sub-tasks - Move the parent_id field out of the debug mode and display it above the Deadline field - Remove the 'parent task' stat button - Add the parent_id field to the project.task optional list view - Display the sub-tasks stat button on sub-tasks - The 'sub-tasks' stat button should only count/display tasks from the first level of sub-tasks - The name of the sub-task should be parent task: sub task level 1: sub task level 2: sub task level 3... - The sub-task should be created in the sub-task project set on the parent task's project - The subtask_planned_hours and the subtask_effective_hours fields should take into account the planned hours of all sub-level tasks TaskID: 2107078 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
This update simplifies how Odoo identifies fields used in domain rules during view validation. It helps prevent validation errors when domain rules include calculations or more complex expressions, making internal checks more reliable without changing user-facing behavior.
Original PR description
followup on #40445: we can just use the "fallback" unconditionally and in every case, and should properly handle non-segment expressions at the toplevel of the domain list.
HR users can now update selected employee, contract, recruitment, expense, leave, and work entry fields in bulk from list views. This reduces repetitive manual updates and makes maintaining HR data faster and more consistent.
Original PR description
Make some fields editable in multi edit. Some onchange are transformed in compute fields. id=2078674 -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This update adds sample timesheet entries to key demo projects, including a billable project scenario. It helps evaluators and sales teams see timesheet and project flows with more realistic example data out of the box.
Original PR description
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
Field Service can now be used without requiring the Sales app, making it easier for teams that only need planning and operations workflows. Sales-related billing features are moved into separate add-on modules that activate when sales functionality is installed.
This update adjusts Belgian payroll testing data and flows to stay aligned with related payroll changes in the core Odoo platform. It helps ensure payroll accounting validations remain reliable after the underlying Community edition updates.
Original PR description
Adapt Enterprise test to Community changes of odoo/odoo#32394
Inventory adjustments now open in a kanban view that highlights draft and in-progress adjustments, making it easier for users to continue existing work or start a new adjustment. Barcode inventory adjustments also better support multi-location and multi-warehouse setups by avoiding an incorrect location warning.
Original PR description
shows a kanban view of the draft and in progress inventory adjustment, I click on it, it opens the barcode view of the inventory adjustment and add a create button to start an inventory adjustment from scratch to provide more efficiency and convenience to user. Task : https://www.odoo.com/web#id=1970451&action=327&model=project.task&view_type=form&menu_id=4720 Pad : https://pad.odoo.com/p/r.14bd692e7a6b5301c19b90bc044729b3
The demo data now marks all timesheets older than 10 days as approved. This makes sample timesheet scenarios more realistic and helps users evaluate approval workflows with cleaner demonstration data.
The field service and project task forms have been adjusted so important fields are arranged more clearly. Tags now appear below planned dates, making task details easier for teams to scan and update.
HR teams can now update selected contract and employee-related fields across multiple records at once. This reduces repetitive data entry and keeps related values updated automatically when changes are made.
Original PR description
Make some fields editable in multi edit. Some onchange are transformed in compute fields. id=2078674