Friday, September 29, 2023
17 changes · master
Enhancements to existing features
The demo payment provider now supports express checkout, so teams can test faster checkout flows in eCommerce without connecting a real payment service. This makes it easier to evaluate and demonstrate the buying experience before configuring a live provider.
Original PR description
This will allow users to test the "express checkout" feature in eCommerce without requiring to setup a real payment provider. task-3047772
This update improves how Odoo prepares and sends emails, including preventing people copied on messages from receiving duplicate emails. It also tightens internal message posting rules and improves test coverage, helping reduce email noise and make future mail-related changes safer.
Original PR description
This update modernizes how the password strength meter is shown on public signup and portal pages. It also adds a shared foundation for displaying interactive website components, helping future public-facing features work more consistently.
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
The website editor now handles phone numbers more naturally when creating links, automatically recognizing them without requiring users to type a phone-link prefix. Link editing also shows cleaner URLs by hiding common prefixes like web, email, and phone schemes, making the interface easier and more consistent to use.
Original PR description
[IMP] web_editor: deduce phone URL in Link(Tools/Dialog) [IMP] web_editor: omit protocol in URL input field [IMP] web_editor: unify behaviour for http protocol task-3516854
Users can now create and manage their own email templates in the mail composer, reducing clutter from shared templates. Designated administrator groups can still access all templates, and templates can no longer be saved when the composer has no related business document type.
Original PR description
Before this commit, all mail templates were shared, which was cluttering the UI for everyone. Now, each user can have their own templates that they can edit and save through modules that use the mail composer. In the mail composer wizard, users can only access their own templates and templates that don't belong to anyone. Some groups are considered as admins and can access all templates in Settings/Technical/Email/Email Templates: - Sales Admin - Project Admins - Helpdesk Admins - Accountants - Event Admins - Recruitment Admins Task-2504439
Products created for use across all companies now receive each company’s default sales and purchase taxes automatically. This avoids missing tax settings when users view or manage the same product from another company, and tax names are clearer in multi-company views.
Original PR description
Before: When a new product was created in a multi-company setting, if the company field is empty, the product is available for all companies. The default sale and purchase tax of the company was set on the product. The problem is that only the default taxes of the currently active company was set on the product, so viewing the product in other companies showed an empty field for the tax. Now: When creating a new product with the company field empty, the default taxes of the other companies are set on the product as well. task-3375286 Enterprise PR: odoo/enterprise/pull/45075
Survey participants can now move freely through surveys even when required questions are unanswered. Any skipped mandatory questions are highlighted at final submission, with an easy way to jump back and complete them, reducing frustration while preserving data completeness.
Original PR description
This commit allows the user to navigate freely through a survey with mandatory questions. He will be able to skip questions and come back to them later. If he still hasn't answered them at the final submit they will automatically be displayed with an error message to invite the user to answer them. The user can navigate through the skipped questions with a button within the error box. Task-2605657 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
The self-ordering product list now includes a search bar again after it was missing from the combined kiosk and mobile experience. This makes it easier for customers to quickly find items, improving ordering speed and convenience.
Original PR description
After the merge of kiosk and mobile self, the search bar had not been reimplemented. In this commit, we add it.
Live chat routing now avoids giving more chats to operators who are already on a call and handling two active conversations when other suitable operators are available. This helps balance workload more fairly and can improve customer response quality during busy periods.
Original PR description
This PR changes the operator allocation algorithm so that operators in a call with already two ongoing chats are not prioritized over more occupied operators that are not in a call. part of task-2900771
Products created for use by all companies now receive each company's default sales and purchase taxes automatically. This prevents missing tax information when users view or sell the same product from another company, improving consistency in multi-company setups.
Original PR description
Before: When a new product was created in a multi-company setting, if the company field is empty, the product is available for all companies. The default sale and purchase tax of the company was set on the product. The problem is that only the default taxes of the currently active company was set on the product, so viewing the product in other companies showed an empty field for the tax. Now: When creating a new product with the company field empty, the default taxes of the other companies are set on the product as well. task-3375286 Community PR: odoo/odoo/pull/127196
The Gantt view no longer shows an error message when users group records by date or date/time fields. When no grouping is selected, the view now applies a sensible default, making planning screens smoother and less confusing.
Original PR description
In this commit, in gantt view, the error notifcation (danger-notifcation with "Grouping by date is not supported") that appears when we try to group by date/datetime has been removed. Also, a default groupBy for gantt view is defined when empty. Task-3425100
Hong Kong payroll now calculates moving daily wages more accurately and supports part-time and hourly employee scenarios. These updates help businesses produce more reliable payroll results for varied work arrangements and include tests to reduce future payroll errors.
Original PR description
Impacted Version: - 17.0 and above This commit improve below features: - Revise computation of moving daily wage - Support part time computation - Support hourly computation - Add unit test task-3480767
Resolved issues and error corrections
This update adjusts which sales and accounting details are included in legally required hashes for French compliance. It adds missing line descriptions and dates while removing customer contact IDs from the hash, helping reports and contact merges work correctly without compromising required audit information.
Original PR description
**Description of the issue/feature this PR addresses:** 1/ we should hash the description of the pos.order.line "Chaque inscription doit indiquer la date, la désignation sommaire des objets vendus, ..." https://www.legifrance.gouv.fr/codes/article_lc/LEGIARTI000042914666 2/ partner_id not need to hash (it is not write in the law). And it is an issue if you need merge contact https://github.com/odoo/odoo/pull/112798 3/ the field date is missing on account.move.line, the field date on account.move is not use in report (like FEC) 4/ the field name is missing on account.move.line. --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
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 prevents errors when deleting project tasks and improves the project sharing flow. Users are now guided to enter the required email details instead of creating an incomplete contact that cannot receive a shared link.
Original PR description
In this PR fixes the trackback while deleting project task also remove quick create option from project sharing wizard. Before this PR, - when user try to delete project task there is trackback which define recursion calling while getting options value. - creating newly partner using quick create option in project sharing wizard partner is not set because of partner email is empty. task-3460164 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This update prevents an error that could occur when a user added a lunch product to an empty cart. It improves the ordering experience by ensuring topping selections are handled safely and the cart continues to work as expected.
Original PR description
Description of the issue: This commit addresses a traceback error that occurred when adding a product to the cart with an empty cart. The issue was related to accessing values for 'topping_ids_1', 'topping_ids_2', and 'topping_ids_3' without proper validation Fix: In this fix i have added checks to ensure that the values are present before accessing them this prevents an 'index out of range' error and resolves the traceback problem, additionally, the code now considers the values in 'topping_1_values', 'topping_2_values', and 'topping_3_values' to determine whether to access the values or fall back to default values from the order. Desired behavior after PR is merged: traceback will fixed and work properly task-3511953
Payroll salary rules now keep debit and credit accounts linked to the correct company instead of falling back to the default company. This helps prevent accounting setup errors in multi-company or localized payroll configurations.
Original PR description
The setup of the debit and credit accounts on salary rules were setting the default company instead of the correct one: the mapping for localization of salary rules and accounts were not set on the localization records but on the main company records. Thanks to @FlorianGilbert
The Tax Report now reliably opens the existing closing entry for a period instead of showing an empty list or creating another one. This prevents duplicate period closings and helps keep tax reporting accurate when entries are reset to draft.
Original PR description
The 'Closing Entry' button in the Tax Report has inconsistent behavior when the closing entry is already posted and then reset to draft. In such cases, the button points to an empty list of closing…
The 'Closing Entry' button in the Tax Report has inconsistent behavior when the closing entry is already posted and then reset to draft. In such cases, the button points to an empty list of closing entries instead of opening the existing one. Additionally, there is a possibility of multiple closing entries being created for the same period, leading to incorrect reporting. To address these issues, the following changes have been implemented: 1. When clicking on the 'Closing Entry' button: - If the closing entry already exists for the period, it is opened. - If the closing entry doesn't exist for the period, a new closing entry is created and opened, regardless of the tax lock date. 2. A check has been added to prevent multiple closing entries for the same period. If a closing entry already exists in draft state for the given period, it is updated with the current computations instead of creating a new entry. 3. If a closing entry is already posted but then reset to draft (where the tax lock date is greater than or equal to the end date of the closing entry period), the button will still open the existing entry. Task-Id: 3284543