Thursday, March 2, 2023
11 changes · master
Enhancements to existing features
Point of Sale X and Z reports now include additional daily sales reporting details directly in the main Point of Sale module. This gives businesses clearer end-of-day and shift reporting without needing a separate reporting add-on.
Original PR description
Description of the issue/feature this PR addresses: A module (pos_daily_sales_reports) has been added to in 16.0 and forward ported to master. In master we merge this module with the module point_of_sale. Forward-port PR: odoo/odoo#113228 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Tax display behavior is now driven by accounting rounding rules, while website sales keeps its own separate tax display setting. This makes invoice, purchase, sales, repair, and website displays more consistent and reduces duplicate configuration.
Original PR description
Before this commit, the accounting module had a setting on the selection of taxes used by the sales, purchase, website_sale, ... modules. In addition, the website_sale module had the same setting related to the accounting one. This PR isolates the tax selection parameter in the website_sale module, and instead of using the tax selection, the accounting module will use rounding method (round per line, round globally). Selecting one of the two will change the display of all account_move or other view using the tax selection setting. Display changes: In round per line, a column tax excluded will always be displayed while a column tax included will be in optional hide. On the other hand, in the round globally, only the tax excluded columns will be available. task-id: 2954332 -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Users can now switch between available views directly from the command palette. This makes it faster to move between list, form, kanban, and other views without relying only on the view switcher controls.
Original PR description
This commit adds the possibility to navigate between the different views of the view switcher from the palette command. 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
Invoice extraction and customer portal documents now align their tax column display with the accounting rounding method. This makes totals clearer by consistently showing tax-excluded amounts and only showing tax-included amounts when relevant.
Original PR description
This PR is related to https://github.com/odoo/odoo/pull/99209 Before this commit, the accounting module had a setting on the selection of taxes used by many modules. In addition, the website_sale module had the same setting related to the accounting one. The community PR isolates the tax selection parameter in the website_sale module, and instead of using the tax selection, the accounting module will use rounding method (round per line, round globally). Selecting one of the two will change the display of all account_move or other view using the tax selection setting. Display changes: In round per line, a column tax excluded will always be displayed while a column tax included will be in optional hide. On the other hand, in the round globally, only the tax excluded columns will be available. task-id: 2954332
After signing a document, users now see up to three important documents that still need their signature, with quick options to sign them or ignore them. Signing actions now take users directly into signing mode, reducing extra navigation and helping documents get completed faster.
Original PR description
The sign thank you dialog now lists up to 3 most important documents that the user has to sign and gives the option to ignore them. The dialog is now slightly better worded. The Sign Next Document button lands the user directly into signing mode. task-3072737
Resolved issues and error corrections
This update fixes several web editor behaviors so formatting is preserved when content is emptied, cursor navigation works correctly around hidden spacing characters, and pressing Enter after headings creates the expected paragraph. It helps users edit website content more predictably without losing styling or jumping to the wrong place.
Original PR description
- Make sure not to remove inline styles when emptying an element. - The insertHTML test file was named too specifically while we want it to test the recently renamed `insert` command, which doesn't only insert HTML. - If a block ends with a zero-width space, the mechanism that skips these characters when using the arrow keys should not skip all the way to the next block. task-3102841 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Code cleanup and technical improvements
This change moves the main attachment capability out of a broadly used messaging component and applies it only to business records that actually need it. This should reduce unnecessary overhead across the system while preserving attachment behavior in areas such as accounting, expenses, time off, employees, and recruitment.
Original PR description
Dashboard data is now read correctly instead of treating it like a file size. This prevents errors when demo users open dashboard configuration options, making dashboard access more reliable.
Original PR description
Description of the issue/feature this PR addresses: Earlier, receiving data was size of the file which is not what we want. And we are trying to decode that as they are in binary form. Which can not working properly. Current behavior before PR: Now we get the sheetdata in spreadsheet_data field Desired behavior after PR is merged: Won't receive error when login using demo user and click on dashboard -> configuration -> dashboard -> any of the option -> click again any of option Task - 3162824 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
The Point of Sale closing process has been corrected so sessions with draft orders do not crash unexpectedly. This helps cashiers and managers close POS sessions more reliably and reduces disruption at end of day.
Original PR description
In odoo/odoo#112219 we removed the usage of useListener for cross-component communication, one such use was to close the pos from the closing popup. The closeSession method was moved from the closing popup to the store but the corresponding error handling method wasnt. It appears that the closeSession method doesn't need to be on the store at all, only the closePos method. This commit moves the closeSession method back to the closing popup, so that it has access to the handleClosingError method again.
This fix ensures spreadsheet dashboard data is read correctly instead of treating the received binary content as a file size. Users should no longer hit an error when opening dashboard configuration options with the demo user.
Original PR description
Description of the issue/feature this PR addresses: Earlier, receiving data was size of the file which is not what we want. And we are trying to decode that as they are in binary form. Which can not working properly. Current behavior before PR: Now we get the sheetdata in spreadsheet_data field Desired behavior after PR is merged: Won't receive error when login using demo user and click on dashboard -> configuration -> dashboard -> any of the option -> click again any of option Task - 3162824
Main attachment is quite costly and as it is implemented in mail.thread and is therefore present in most model. In order to improve performance, we remove it here from mail.thread and add it through a new mixin,only on model that effectively use that features. See sub commits for more details. Task-2648976
This change narrows a costly attachment capability so it is only enabled on records that actually use it. This should improve overall system performance while preserving attachment previews and related behavior where needed.
Original PR description
Main attachment is quite costly and as it is implemented in mail.thread and is therefore present in most model. In order to improve performance, we remove it here from mail.thread and add it through a new mixin,only on model that effectively use that features. See sub commits for more details. Task-2648976