Daily updates from Odoo
Thursday, February 22, 2024
12 changes
1 change
Enhancements to existing features
This update adjusts Odoo's tax settings to reflect a recent change in Malaysian SST tax regulations. Starting March 1, 2024, the standard SST tax rate will shift from 6% to 8%. This change ensures Odoo accurately reflects the current tax requirements for Malaysian businesses.
Original PR description
As of the first of March 2024, the SST tax will increase from 6% to 8%. To that end, the current 6% tax will be set to inactive by default, and we will add a new 8% service tax to replace it. Task id # 3748127 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr Forward-Port-Of: odoo/odoo#154966 Forward-Port-Of: odoo/odoo#154534
4 changes
Enhancements to existing features
Users creating map views in Studio now receive a clearer message when setup cannot be completed. This helps them understand the issue faster and reduces confusion or support needs during configuration.
This update restructures how IoT devices communicate through web connections, moving print-specific behavior into the printer driver. This makes it easier to support additional connected devices in the future without redesigning the communication flow.
Original PR description
The purpose of this PR is to simplify the implementation of websockets for other devices Before the only message supported by ws was "print" and the websocket_client called _action_default() method Now the message name is 'iot_action' and websocket_client call the action() instead of _action_default, send_to_controller() is now called from the printer driver task-3756857 [odoo/odoo#154543](https://github.com/odoo/odoo/pull/154543)
Field service tasks now show a clear count of products that need to be picked up for the linked sales order. This helps technicians prepare for customer visits without needing sales access or viewing pricing and margin details.
Original PR description
Currently, the user has to open the SO form view and check the deliveries to identify if they need to bring something and what. This is not the most practical. In addition, it is common for companies not to give sales access to field workers as they don't want them to see the prices and the margin they are making. In this PR we'll add a 'x products to pick up' stat button should represent the following stock move lines - associated with the SO linked to the task - and that are not done or canceled - and the destination location should be a 'customer location' type Task-3511049 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Intrastat reports now group entries by country, currency, and commodity code, making the report easier to review and less cluttered. Users can still expand grouped lines to see individual account moves, while arrival or dispatch-only views also show group and overall totals.
Original PR description
In the intrastat report, each account move is now grouped by country (using norm ISO 3166), currency (norm ISO 4217) and commodity code. Each line can be unfolded to show each individual account move with its corresponding values. When only Arrival or Dispatch is selected, the total value for each group is shown as well as a total line for the total value of Arrivals or Dispatches. This change was done because usually people and organisation to which they must report this information aren't interested in each individual move but rather to have an overall view of how much of a certain commodity was ship to a certain country. The previous report was too verbose. People still have the options to unfold all the lines if they need it. task-3605696 X-original-commit: bede57056142a167d06a652cc208203c9f430615
7 changes
Enhancements to existing features
This update ensures that when marketing activities are copied within a campaign, their associated emails are also duplicated. Previously, copying activities without their emails would cause the campaign to cancel those emails when run. Additionally, the default interval setting for new campaigns has been adjusted to zero for easier testing and execution.
Original PR description
When we copy activities, we should also copy their mailings, otherwise when we run campaign it cancels emails. task-3465452
The order tracking display system now correctly shows which orders are ready for pickup by identifying the second-to-last stage as "ready" instead of treating all non-final orders the same. This change ensures customers and staff see accurate, relevant order information, reducing confusion about order status.
Original PR description
**Before the change:** The behavior before the change was that in the preparation display, the system considered the last stage as an indicator that the order is done. Orders in others stages were not differentiated and were included in the list displayed to customers as not ready. **After the change:** After the change, the system now correctly identifies the second to last stage as the indicator that the order is ready for display. Completed orders are now filtered out based on the last stage, ensuring that only relevant orders are shown to customers. This adjustment improves clarity and accuracy in the order tracking process for both customers and staff.
Users can now edit expense line details again while viewing receipts, making it easier to make corrections without losing the receipt viewer. Critical fields like quantity and taxes remain protected to prevent accidental changes that could invalidate the expense report.
Original PR description
In #138387 we modified the expense lines tree in expense reports so that the user can click on the lines to see an attached receipt in the viewer at the side of the webpage. The tree was made to be readonly to make clicking the lines easier and to make it harder for the user to change a field by mistake. This commit reverts the lines to being editable again while leaving some fields as readonly like quantity and taxes as those can invalidate the expense. Task link: https://www.odoo.com/web#model=project.task&id=3685651 task-3685651
This update adds a new manifest key called 'maintenance_loc' that allows modules to store their actual lines of code count. This is particularly important for data modules where automatic code counting tools are inaccurate. By hardcoding this value in the module manifest, the system can now provide accurate code metrics for reporting and maintenance purposes.
Original PR description
For data modules, cloc is not accurate based on the path. It is therefore needed to compute it on a database where this module was imported. This new key allows us to save the value in the manifest so that the number of lines of code will be hardcoded into the modules. This is only used for industries for now.
This update reorganizes the menu options in the Point of Sale interface by moving 'Close session' and 'Backend' options to the bottom of the menu list. This improves the user experience by placing less frequently used administrative actions at the end, making the most common operations more accessible at the top of the menu.
Original PR description
-Move menu options to have 'Close session' and 'Backend' at the bottom of the list task id: 3759943 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
Malaysia's Service and Sales Tax (SST) rate is increasing from 6% to 8% effective March 1, 2024. This update deactivates the old 6% tax rate and introduces the new 8% rate to ensure accurate tax calculations for Malaysian businesses using Odoo.
Original PR description
As of the first of March 2024, the SST tax will increase from 6% to 8%. To that end, the current 6% tax will be set to inactive by default, and we will add a new 8% service tax to replace it. Task id # 3748127 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr Forward-Port-Of: odoo/odoo#154959 Forward-Port-Of: odoo/odoo#154534
Product documents are now sorted by name instead of ID, giving users better control over how documents appear on ecommerce pages and in quote builders. This allows businesses to organize and present product documentation in their preferred order without relying on system IDs.
Original PR description
Ordering documents attached to a produt by name, rather than ID. That allows a control on the order in the PDF quotation builder, and the eCommerce page. --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr