Daily updates from Odoo
Friday, April 5, 2024
7 changes · 17.0
Enhancements to existing features
The bank reconciliation report has been restored and significantly improved after user feedback, particularly from audit teams in English-speaking countries. The report now features a consistent display with other reports, improved warning messages, and new sections to help users identify differences between accounting records and bank statements.
Original PR description
In this https://github.com/odoo/enterprise/commit/76caf5f5675f97128b88fbcffedaf1e85da516d5, it was decided to remove the report. But we received a lot of feedbacks about users missing the report, especially from anglo-saxon countries, where this report is often used in Audit processes to report on the differences between the Accounting and Bank reported amounts on bank accounts. In this pr we decided to put it back and improve it. What has been improved: - The display of the report is now consistent with the different reports - Use of custom engine - New sections added - Rework of the warnings task: 3756179
This update adds a unique identifier to a dashboard element in the accounting module, enabling more precise automation and testing capabilities. This internal improvement helps the development team better interact with and test the account journal dashboard interface.
Original PR description
This pr will add an id on a div to be able to do a xpath on it. task: 3756179 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
When creating a new company with a duplicate Tax ID, the warning message now displays only the company name instead of showing company name, address, and VAT information that appeared broken across multiple lines. The warning text has also been slightly improved for clarity.
Original PR description
When creating a new company from a move, if the tax ID is repeated, a warning is displayed. The warning includes the company name, address and VAT, if those have been added. In this case, address is shown in an extra line, which looks broken. This commit removes additional partner information by updating the context, displaying only the partner name. It also slightly rewords the warning, from "are you sure to create a new one?" to "are you sure you want to create a new one?". To replicate the issue: 1. Create an invoice 2. Click on the empty field next to Customer, type a new name and click "Create and edit..." 3. Add a Tax ID that is already in use (e.g. US12345673) 4. Warning of duplicate Tax ID shows, displaying company name, address and VAT task-3829641 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This update improves the website crawler's efficiency by refining how it identifies and processes web pages, reducing redundant crawling by up to 97%. The changes include smarter URL matching, better handling of URL parameters, and removal of duplicate admin crawling, which significantly speeds up the crawling process from several minutes down to under 30 seconds.
Original PR description
Related to previous commit: a9a9d2f12740b02c025f992d62c0d4f5feeaab1d From initial PR: #158843 Improve Regexp to match double slugs /blog/blog-1/post-2 or /blog/1/2 Ignore param order:…
Related to previous commit: a9a9d2f12740b02c025f992d62c0d4f5feeaab1d From initial PR: #158843 Improve Regexp to match double slugs /blog/blog-1/post-2 or /blog/1/2 Ignore param order: `?a=<param>&b=<param>` == `?b=<param>&a=<param>` Remove trailing / from base url when querystring is present Ignore '/en' url instead of '/en_US' since the default url_code has been updated meanwhile (269aa594111a152ad4b7714856ea745bfef57155). Add a new test to check that urls are cleaned as expected Remove crawl as admin, since the demo user already have all groups and so we will check the same urls. The overlap is important for a really low value. _**after** this pr https://github.com/odoo/odoo/pull/159370_ public crawled 68 urls in 6.44s 3167 queries, 0.095s 46.57q per request demo crawled 271 urls in 21.93s 13365 queries, 0.081s 49.32q per request _**currently**_ public crawled 92 urls in 8.74s 4233 queries, 0.095s 46.01q per request demo crawled 819 urls in 68.03s 36603 queries, 0.083s 44.69q per request admin crawled 813 urls in 67.46s 36441 queries, 0.083s 44.82q per request _**before** pr https://github.com/odoo/odoo/pull/158843_ public crawled 185 urls in 12.62s 7526 queries, 0.068s 40.68q per request demo crawled 6691 urls in 443.84s 342327 queries, 0.066s 51.16q per request admin crawled 6605 urls in 417.36s 336151 queries, 0.063s 50.89q per request So, it should reduce the crawling from 872" => 27" for the v16. Forward-Port-Of: odoo/odoo#159525 Forward-Port-Of: odoo/odoo#159370
This update fixes how blog feed URLs are generated to prevent unnecessary redirects that can harm search engine optimization. Previously, blog feed URLs would redirect from a numeric format to a slug-based format, which negatively impacts SEO. The change ensures URLs are generated correctly from the start, eliminating these redirects and improving website performance in search results.
Original PR description
-Before this commit the url is like /blog/1/feed then it will become a redirect 301 url to /blog/travel-1/feed which is not good for SEO. Therefore we change to slug(blog) to ensure no redirect occur 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 Forward-Port-Of: odoo/odoo#160503 Forward-Port-Of: odoo/odoo#160438
This update improves how invoices are filtered in the accounting module by adding a new "Reversed" filter option. Previously, reversed invoices were hidden from view when using the paid/unpaid filters, making it impossible to see all invoices at once. Now users can select the new "Reversed" filter to view reversed invoices separately, ensuring they can see the complete picture of all invoice statuses.
Original PR description
…arch view
Description of the issue/feature this PR addresses:
The closed ("paid") filter in the search view does not consider the reversed state and is technically closed.
Current behavior before PR:
Currently, when you select the "paid" and "unpaid" filters on the invoices list, it does not provide a complete view of all the universe of invoices as the reversed status is not reflected within its domain.
Desired behavior after PR is merged:
I propose that the closed ("paid") filter takes into account the reversed state. Consequently, upon selecting both "paid" and "unpaid" filters, it should present a complete universe of invoices.
---
I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Forward-Port-Of: odoo/odoo#154204This update adds Turkish language localization for the Website Sales Stock module description in Odoo. Previously, the module description was displayed in English regardless of the user's language setting. After this change, Turkish-speaking users will see the module description in their native language, improving the user experience for Turkish customers and partners.
Original PR description
Description of the issue/feature this PR addresses: ir.module.module,description:base.module_website_sale_stock turkish localization Current behavior before PR: expressions are shown in English. Desired behavior after PR is merged: It has been ensured that it is in Turkish. --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr