Daily updates from Odoo
Friday, April 5, 2024
5 changes
2 changes
Enhancements to existing features
Customer batch payments are easier to find with new search options for reference and amount, and payment statuses are clearer thanks to badge styling. Batch payment reports now use vendor wording where appropriate and include the account holder name, improving clarity for payment review and reconciliation.
Original PR description
+ new search criteria to the customer batch payments(Reference, Amount) + Moved state column to the end on the tree view + Replaced status by badge widgets + Replaced 'customer' by 'vendor' on the batch payment report + Added a 'Account Holder Name' column to the batch payment report task: 3743909
Swiss payroll now better separates family allowance employer costs by renaming the related setup area to “CP Family” and adding a company-rate field for family allowance rates. This helps payroll teams calculate and track company-related family allowance contributions more accurately.
Original PR description
This commit makes adjustments to the handling of Family Allowances in the payroll module including: - Renaming the existing "Work addresses" to "CP Family" - Introducing a new field company rate to Family Allowance Rate. - Adding a new rule to keep the calculations related to the company rate Task-3710171
3 changes
Enhancements to existing features
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#154204