Daily updates from Odoo
Monday, June 17, 2019
18 changes · master
New functionality added to Odoo
Customers can now view relevant timesheet information directly in the portal, including general timesheets, task-related time, and time linked to invoices. The change improves transparency while limiting invoice-linked views to appropriate delivered-quantity billing cases to avoid exposing sensitive commercial details.
Original PR description
Impacted modules: hr_timesheet and sale_timesheet This merge provides the customer portal part to display timesheets. Timesheets can be seen from 3 differents points of view: list of timesheets, timesheets on tasks, and timesheet linked to invoices (only for delivered qty policy). When tracking time (sale_timesheet not installed), all timesheets can be displayed to portal. When sale_timesheet is installed, if the timesheet is billed (billable_type field), we only display the ones coming from a delivered qty policy selling. Indeed, it makes no sense to display the 'ordered qty' timesheets, as it can reveal you sold more time than required to your customer. To do, we decided to remove access rules for portal user: timesheet (analytic line model) is now technical and is given with `sudo` to portal. Admin can still restore some of them to allow third part application with XML RPC. See subcommits for more details Task-1932488
Enhancements to existing features
This update improves how product attributes and variants are prepared in tests and demo data across several business flows. It helps ensure product variants consistently match their configured attributes, reducing setup errors and supporting future system requirements.
Original PR description
* = account, mrp, purchase_stock, sale, sale_product_configurator, stock_account, website_sale It is always better to create the product template attribute lines before creating the variants. In a following commit, this will become mandatory. The variants that are created should always match the combination of attributes set on the template. Finally explicitly call `create_variant_ids` when possible instead of reassigning the attribute lines to implicitly call `create_variant_ids`. 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 removes an outdated internal setting used when opening list-style screens. It helps keep Odoo's navigation framework simpler and easier to maintain without changing the intended user experience.
Original PR description
Description of the issue/feature this PR addresses: Task: https://www.odoo.com/web?#id=1937686&action=333&active_id=131&model=project.task&view_type=form&menu_id=4720 Pad: https://pad.odoo.com/p/r.0c6df761cfc047c17d3217e14ae6099b 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
Website administrators can now set a display order for multiple forums instead of relying on creation date. This makes it easier to prioritize important forums and present community sections in a planned order.
Original PR description
When you had several forums, they were displayed according to the creation order. Now, you can define a sequence on them and order forums. -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Users who preview a sales order and then return to editing will now be taken back to the Sales app instead of being redirected to CRM when both apps are installed. This keeps the workflow consistent and reduces confusion for sales teams moving between preview and edit modes.
Original PR description
Description of the issue/feature this PR addresses: Related task: https://www.odoo.com/web?#id=1960405&model=project.task&view_type=form&menu_id=4720 Pad: https://pad.odoo.com/p/r.3c3a6e676899e6b10d249991a6cd3fdf Current behavior before PR: Desired behavior after PR is merged:
Product variant names are no longer shown as clickable links in the product view. This prevents users coming from sales orders from being unexpectedly redirected to the broader product template page, making navigation clearer and less confusing.
Original PR description
Pad:https://pad.odoo.com/p/r.ca4239d56ef3d649f04b155e02995efd Task:https://www.odoo.com/web#id=1968151&action=333&active_id=1520&model=project.task&view_type=form&menu_id=4720
Product attribute and attribute value names are now stored and indexed to improve performance when users search for or view them. This should make product configuration screens and related lookups faster, especially when the related product data is not already loaded.
Original PR description
For performance since those might be searched, or displayed without the related model necessarily in cache. 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 removes an outdated internal setting used to distinguish older list-style views. It simplifies how many accounting-related screens are opened, helping keep the system easier to maintain without changing day-to-day workflows.
Original PR description
Task: https://www.odoo.com/web?#id=1937686&action=333&active_id=131&model=project.task&view_type=form&menu_id=4720 Pad: https://pad.odoo.com/p/r.0c6df761cfc047c17d3217e14ae6099b
Customers can now view relevant timesheet information in the portal from timesheet lists, tasks, and invoice-linked records. The change also limits what is shown for billable work so customers only see appropriate delivered-quantity timesheets, helping avoid exposing internal billing details.
Original PR description
Impacted modules: hr_timesheet and sale_timesheet This merge provides the customer portal part to display timesheets. Timesheets can be seen from 3 differents points of view: list of timesheets, timesheets on tasks, and timesheet linked to invoices (only for delivered qty policy). When tracking time (sale_timesheet not installed), all timesheets can be displayed to portal. When sale_timesheet is installed, if the timesheet is billed (billable_type field), we only display the ones coming from a delivered qty policy selling. Indeed, it makes no sense to display the 'ordered qty' timesheets, as it can reveal you sold more time than required to your customer. To do, we decided to remove access rules for portal user: timesheet (analytic line model) is now technical and is given with sudo to portal. Admin can still restore some of them to allow third part application with XML RPC. See subcommits for more details Task-1932488
This update streamlines subscription testing by preventing the same product variant from being created twice unnecessarily. It helps keep the test setup cleaner and more efficient without changing customer-facing subscription behavior.
Original PR description
Before this commit, the variant was created twice for no reason.
The subscription alert form has been made easier to use by adding product selection and reorganizing fields. This helps users configure relevant subscription email alerts more quickly and with less confusion.
Original PR description
Task:https://www.odoo.com/web#id=1874006&action=333&active_id=131&model=project.task&view_type=form&menu_id=4720 Pad:https://pad.odoo.com/p/r.660d15e09800720698730a57a6f07a47 subscription alert form usability improved
Resolved issues and error corrections
Online payment is now activated no matter which payment provider is selected, including alternative payment acquirers beyond the previously predefined options. This makes it easier for sales teams to offer online payment consistently, including from quotation forms.
Original PR description
Description of the issue/feature this PR addresses: - Task - https://www.odoo.com/web?#id=1945749&action=327&model=project.task&view_type=form&menu_id=4720 - Pad - https://pad.odoo.com/p/r.eba5eb86616039a42a24d0b4e0cd77e1 Current behavior before PR: - Previously, online payment option was only activated with options which are predefined such as (paypal, stripe or manual). Desired behavior after PR is merged: - After this commit, online payment will be activated with all the options and also on quation form online payment will be activated. -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Copying a product template with variants now also copies its attribute lines. This helps duplicated products retain their expected variant setup, reducing manual rework and avoiding incomplete product copies.
Original PR description
Before this commit, copying a template with variants would not copy the attributes lines, so it didn't work as expected. 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
Several customer-facing email templates now use the correct phrase "if you have any questions" instead of the typo "if you have any question." This improves professionalism and clarity in standard communications sent from accounting, Belgian invoice references, lunch, and sales workflows.
Original PR description
Pad:https://pad.odoo.com/p/r.ecfb5525147450634e13ac348a21ee5a Task:https://www.odoo.com/web?#id=1962924&action=333&active_id=1278&model=project.task&view_type=form&menu_id=4720
The Employee settings screen now displays the total weekly working hours field correctly without text overlapping in the footer. This improves readability for HR users configuring company working schedules.
Original PR description
Task:https://www.odoo.com/web?debug=1#id=2003914&action=333&active_id=1519&model=project.task&view_type=form&menu_id=4720 Pad: https://pad.odoo.com/p/r.5a92769c502c9966c6bc1bff88c8cd79
The subscription demo data now uses the correct 12-month ratio for a year. This avoids confusing users who review sample units of measure, even though it does not affect normal business operations.
Original PR description
Fix ratio on demo data for a year. It's not used but it's just confusing for the user that look at demo data on UoM
A typo in the Sales Subscription email templates was corrected so the message now says "if you have any questions." This improves the professionalism and clarity of customer-facing communication.
Original PR description
Pad:https://pad.odoo.com/p/r.ecfb5525147450634e13ac348a21ee5a Task:https://www.odoo.com/web?#id=1962924&action=333&active_id=1278&model=project.task&view_type=form&menu_id=4720
Features or functions removed from Odoo
This update removes older product-related fields and methods that had already been deprecated across sales, manufacturing, forum, and website shop areas. It helps keep the system cleaner and easier to maintain, with limited visible impact for most users unless customizations still rely on those old elements.
Original PR description
* = mrp, sale, website_forum, website_sale, website_sale_comparison 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