Daily updates from Odoo
Wednesday, May 8, 2019
5 changes · master
New functionality added to Odoo
Users can now see important flash messages directly on the enterprise apps screen. This helps ensure notices and feedback are visible even before a user opens a specific app, improving clarity during navigation.
Original PR description
Enterprise version of odoo/odoo#22428: show flash messages on the enterprise client's "home page" (the applications page).
Enhancements to existing features
Manufacturing work order screens now open with more useful default filters and a list view where appropriate. This helps teams find relevant work orders faster, including those tied to the selected work center and pending operations.
Original PR description
Description of the issue/feature this PR addresses: -This PR is related to task https://www.odoo.com/mail/view?res_id=1911218&access_token=110f8d88-e007-4808-9d88-bb662c4c33ce&model=project.task…
Description of the issue/feature this PR addresses: -This PR is related to task https://www.odoo.com/mail/view?res_id=1911218&access_token=110f8d88-e007-4808-9d88-bb662c4c33ce&model=project.task Current behavior before PR: -There is **only one default filter** while navigating to work orders through dashboard. It's regarding state of the order i.e. ready, pending or in progress. -There is a default filter while navigating to work orders through operations. it includes **orders with state as in progress or ready** -Default view while navigating to work orders through operations is **kanban** Desired behavior after PR is merged: -There must be **two default filters** while navigating to work orders through dashboard. one with state of order as before PR and another with selected work center. -There must be a default filter while navigating to work orders through operations. it must include **orders with state as in progress or ready or pending** -Default view while navigating to work orders through operations must be **list** -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Confirmed or completed sales orders must now always have a confirmation date, preventing inconsistent order records. Existing orders can have the date restored from prior confirmation messages, improving reliability for reporting and business processes.
Original PR description
Somehow, when a sales order is confirmed, its confirmation date might not be set (or it is possible to remove it). This makes no sense as we expect it to be set when the SO is confirmed. This commit adds an SQL constraint to ensure the confirmation date is required when the SO is confirmed or done. To populate this column, the confirmation can be deduced from the mail.message, with the confirmed subtype. Task-1930506 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 prepares related records for loading, which can reduce unnecessary database work and improve performance in everyday operations. Several performance tests were adjusted to reflect the new behavior and ensure expected query counts remain controlled.
Original PR description
Records come with a simpler data structure for prefetching, namely `record._prefetch_ids`, which is an iterable of record ids to prefetch.
Features or functions removed from Odoo
The sale timesheet app no longer shows the old action for assigning sales order items to tasks in bulk. Users can already create sales orders directly from project and task screens, so removing this duplicate option simplifies the workflow and reduces confusion.
Original PR description
If timesheets are recorded on tasks that aren't linked to any Sales Order, the user can assign a SOL (in batch) later on by going to the Action > Assign Sale Order Item. Since the introduction of FSM, the user can directly create Sales Orders from the Project Overview and from Tasks. This makes the "Assign Sale Order Item" action redundant. This commit removes this action. Task-1968074 -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr