Monday, July 3, 2023
14 changes · master
Enhancements to existing features
The Point of Sale customer editor now updates fields more reliably when users edit customer details. This fixes cases where related options, such as states after selecting a country, did not refresh correctly and reduces future maintenance issues.
Original PR description
At the moment, the partner editor in pos does not use the owl reactivity system, using instead an onchange function on each input and manually keeping track of state. This approach is overcomplicated and leads to bugs. The necessity of this task first appeared because of one such bug, namely: the `state` input options not changing in order to reflect the selected `country`. Instead of finding a patch for this problem, we decided in this PR to replace the old logic, making use of `useState` and `t-model`. Task: 3323874 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Shipping methods can now be linked to specific stock routing rules, so orders using those delivery options follow the right warehouse flow automatically. This helps businesses better align fulfillment steps with the chosen carrier or delivery service and reduces manual routing decisions.
Original PR description
In this commit, we added a new field in the shipping methods this field can be used select rules. These rules can only be used when the corresponding SO has one of the selected shipping methods. task-3236149
Odoo’s web interface now lets integer and decimal fields show raw, unformatted values when needed, instead of always applying local number formatting. This gives businesses more flexibility in data entry screens and improves option visibility in Studio for text and progress bar fields.
Original PR description
- First commit is simply to add documentation in supportedOptions for recently added options. - Second commit is about task-3307126: Add format_number option for integer and float fields, so we can display a raw value in the input. Be default, the formatting option is set as "true"
Stock moves now stay aligned with their original intended source when an earlier linked transfer is redirected to a different destination. This prevents follow-up moves from reserving goods from the wrong location and improves the accuracy of backorders and purchase order cancellation statuses.
Original PR description
Before this commit, if a move is followed by a second move, if the destination location of the first move is changed, and done, the second move will be assigned and reserving from the new location. This commit, breaks the link between the moves, the first move would trigger push rules if any exist and the second move is set to MTS to be able to reserve from the its original source location. Other minor improvements: -Recomputes the state of the move when creating a backorder to correct the backorder picking state. -Recompute the state of move_dest_ids linked to PO when cancelling the PO to show that it is converted to MTS. Task: 3321842 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 filter-building tools were cleaned up and made more consistent, including clearer wording for selection options and better handling of true/false values. This should make advanced filtering more reliable in areas such as web views, search, spreadsheets, and mail-related user selectors.
Live chat conversations now show visitor labels with their visitor number and country instead of generic or website-based names. This makes it easier for support teams to identify visitors consistently across chat headers, side panels, and member lists.
Original PR description
This PR improves several things linked to visitors in the discuss app: - Change window header to "Visitor #, country" - Change operator's name to Online Chat name if defined - Rename "Public user" to "Visitor #", add country instead of website - Change name of the thread to "Visitor #, country" (left panel + header) - Remove "Website" from visitor's name (small and big threads) part of task-3332872 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
Live chat channel cards are clearer and more useful, showing connected operators, recent ratings, and quick actions like configuration. Active channels are easier to spot, helping teams manage live chat availability and performance at a glance.
Original PR description
This PR improves livechat channel views: - Remove image field (always the same and does not bring value) - Replace the count of operators by the many2many_avatars widget with connected users - Join button as secondary button, Leave button as primary - Add options from channel kanban: Ratings + configure - Compute ratings based on last 2 weeks on channel's card - Highlight active channels (at least one operator) part of task-3332872 enterprise: https://github.com/odoo/enterprise/pull/42852
Self-order access is now controlled at the point-of-sale configuration level instead of being tied to individual tables. This makes it easier for restaurants to support table selection in the ordering interface or allow orders without requiring a specific table token first.
Original PR description
Previously, access_token were linked to tables. These tables were linked to a floor_plan, which could be linked to several pos_configs. The only way to access the self-order was to obtain a valid table access_token. This behaviour was not correct because sometimes we would allow table selection directly in the interface or commands without a table. Now, access_token is managed by pos_config. When a user has this token, they can place commands and select the table they want if the option is enabled.
The Helpdesk Live Chat area has been updated to better reflect which operators are available in each channel. This makes the live chat channel overview more accurate and easier for teams to manage.
Original PR description
community: https://github.com/odoo/odoo/pull/125769
The POS partner editor for Mexico now updates fields more reliably when users edit customer details. This helps ensure options such as states correctly match the selected country, reducing data-entry errors and improving the checkout setup experience.
Original PR description
At the moment, the partner editor in pos does not use the owl reactivity system, using instead an onchange function on each input and manually keeping track of state. This approach is overcomplicated and leads to bugs. The necessity of this task first appeared because of one such bug, namely: the `state` input options not changing in order to reflect the selected `country`. Instead of finding a patch for this problem, we decided in this PR to replace the old logic, making use of `useState` and `t-model`. Task: 3323874
The Hong Kong payroll HSBC report has been simplified by removing unused employee banking fields and replacing the automatic current date with a dedicated payment date. This helps payroll teams generate clearer and more accurate HSBC payment files.
Original PR description
Impacted Version: - 16.4 and above This commit improve below features: - Remove unused hsbc fields - Remove employee hsbc identifier field - Add payment date field instead of using current time
Resolved issues and error corrections
This fix prevents an unexpected system error when an invitation or password reset email is sent while the outgoing mail server is misconfigured or unavailable. Users should now receive a more controlled failure instead of encountering a traceback, improving reliability for account setup workflows.
Original PR description
When there is no valid outgoing mail server and user tries to send email by 'send an invitation email' or 'send password reset instructions' button, it shows the error.
see this traceback : https://tinyurl.com/2fdn2m5z
steps to reproduce :
1. Go to users in settings and select a user.
2. Click on 'send an invitation email' or 'send password reset instructions'
button
3. If there will be invalid outgoing mail server i.e. SMTP Server: localhost
4. error will occur.
Applying this commit will resolve this issue.
sentry-3961333326
I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-prFixes an issue where dynamic product carousel blocks on the website could behave unexpectedly when visitors used previous or next navigation. This helps keep product showcases working smoothly and avoids disruption to the shopping experience.
Original PR description
The issue occurred after the merge of this PR[1]. In that, we removed the dependency on underscore.js and introduced new functions to the qweb engine: `range` and `uniqueId`. The variable named `uniqueId` was clashing with the qweb function `uniqueId()` that's why variable were getting compiled as a function instead of the actual value, which led to unexpected behaviour. This commit renames the uniqueId variable to avoid conflicts with the qweb function `uniqueId()`. [1] https://github.com/odoo/odoo/pull/123018 task-3357115
Prevents users from deleting the anonymous final consumer record required for Chilean Point of Sale localization. This helps avoid configuration problems that could stop PoS operations from working correctly, while still allowing cleanup during module uninstallation.
Original PR description
The Consumidor Final Anónimo cannot be deleted in order for the PoS localization to work properly so, with this commit, we do not allow the user to delete it (except at the uninstallation of the module)