Wednesday, February 14, 2024
5 changes · 17.0
Enhancements to existing features
This update speeds up the Shop Floor app by caching barcode information instead of recalculating it repeatedly. Users will experience significantly faster loading times, especially when managing large numbers of manufacturing orders—reducing load time from 140 seconds to under 3 seconds in some cases and preventing browser crashes.
Original PR description
## Description When a user opens the Shop Floor app, each MrpDisplayRecord will compute the barcode target record based on the admin ID. This can lead to slow computations and make the browser crash when there are many records. ## Analysis The barcode target record ID will always be the same as long as the admin ID doesn't change. ### Before this commit All MrpDisplayRecord are recomputing the barcode target record. ### After this commit We cache the admin ID and the barcode target record ID to avoid recomputing it if unecessary. ## Benchmarks Computing the barcode target records when opening the Shop Floor app: | Relevant MO | Before | After | |-------------|---------|--------| | 80 | 0.9 s | 0.6 s | | 400 | 23.2 s | 1.8 s | | 879 | 140 s / Browser crash | 2.8 s | ## References opw-3721896 opw-3741051 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This update improves how payment methods are displayed in Ecuador electronic documents to comply with SRI (tax authority) requirements. Payment methods now appear correctly in invoices, debit notes, and purchase liquidations while being hidden from credit notes. The change also enables multiple withholdings per document and adds support for withholdings on debit notes, providing better flexibility for tax compliance.
Original PR description
- According the SRI, the payment method is available in customer and vendor documents (invoices, debit notes and purchase liquidation), we leave it visible in view and pdf report for the documents excluding credit notes Forward-Port-Of: odoo/enterprise#56328 Forward-Port-Of: odoo/enterprise#52855
This update improves how deferred expenses are recorded in the accounting system. Previously, when deferring expenses, the full amount would appear in the expense account for most of the month, only being moved to deferred expenses on the last day. Now, deferred amounts are properly recorded on the same date as the original transaction, ensuring more accurate monthly expense reporting throughout the month.
Original PR description
When we use the mode `on_validation` for deferred entries, the first entry that puts the total amount on the deferred account is happening at the end of the month of the move. When we have a vendor bill on Feb 1, 2024, and the amount is deferred from Feb 1, 2024 to Mar 31, 2024, we will have the following moves: [Feb 29, 2024] $1000 from Expenses to Deferred Expenses [Feb 29, 2024] $500 from Deferred Expenses to Expenses [Mar 31, 2024] $500 from Deferred Expenses to Expenses That means that during the whole month of February we have the total amount on our Expenses account, except on the last day. In order to improve this, we now defer the original move on the same accounting date of the move, such that during that month at most the deferred part is on the Revenue/Expense account (on the last day). [task-3725621](https://www.odoo.com/web#id=3725621&cids=1&menu_id=4720&action=333&active_id=967&model=project.task&view_type=form) Forward-Port-Of: odoo/enterprise#56052
This update enhances job postings by adding proper XML formatting that helps Google's search engine better understand and display job listings. By adding a structured title tag to job postings, the company's recruitment listings will appear more prominently and with richer information in Google search results, making it easier for job seekers to find open positions.
Original PR description
**Desired behavior after PR is merged:** Enhancing the job posting with an XML tag for the title of the position so it can be used for the google rich search. opw-3713519
This update improves the e-way bill process for Indian electronic invoicing by checking order contents before submission rather than after. If an order contains only service items (no physical products), the system now prevents the e-way bill from being sent and displays an error immediately, providing a better user experience by catching the issue upfront.
Original PR description
In this PR: ============================================= Before if all the lines were of service the error was displayed in a banner after error in response was received, but now before sending request the lines are checked if at least one line is of product and error is raised. task-3707483 Forward-Port-Of: odoo/odoo#153522 Forward-Port-Of: odoo/odoo#153215