Daily updates from Odoo
Thursday, April 10, 2025
5 changes · master
Enhancements to existing features
The public Knowledge website now loads article changes and the sidebar dynamically, reducing page reloads, flicker, and slow navigation. Visitors can also search articles by title or content, making information easier to find across the current knowledge site.
Original PR description
Purpose: ------- The current public view of knowledge has several flaws: - clicking on an article in the sidebar redirects to that article, which results in a complete page reload and a flicker. -…
Purpose: ------- The current public view of knowledge has several flaws: - clicking on an article in the sidebar redirects to that article, which results in a complete page reload and a flicker. - the sidebar's html is generated in backend and inserted in the dom, which makes it non reactive and slow to load. - searching for an article also generates a list of articles in backend which is inserted in the dom, and only matches article titles. To alleviate these issues, this commit introduces: - a minimalist `Article` class used as the article record in the public view. Changing article now fetches the article's data through a rpc instead of reload the public view template with the new article, avoiding the flicker and making it faster. - a component `knowledge_public_sidebar` that loads the data of the articles and render the sidebar in frontend. - a articleSearchDialog similar to the backend's command palette, which allows to find articles of the current subsite based on their title or their content. Some simplifications and feature changes have been done: - the unfolded article ids are not stored in the local storage anymore: main purpose was to keep the articles unfolded when clicking on an article in the sidebar, since the page was reloaded. But now since the sidebar isn't reloaded on article change, it's not necessary anymore. - the sidebar can be toggled in dekstop mode too. - the "load more" feature has been removed, as it was introduced for preventing the view from crashing. The new component approach prevents these crashes from happening. Task-4439155
The Chilean and Mexican e-invoicing checkout modules were updated to stay compatible with the redesigned online checkout flow. This helps customers continue entering required tax and invoicing details smoothly during website purchases.
Original PR description
See also: - https://github.com/odoo/odoo/pull/189650
The planning send wizard has been visually refreshed to make sending schedules clearer and easier for users. This improves the day-to-day experience for teams communicating planning information without changing the underlying workflow.
Original PR description
task-4701101
Copied shifts now respect an employee's actual working schedule instead of relying on broad half-day availability. Shifts outside a scheduled working time are copied as open, while flexible resources remain assigned because they are always considered available.
SEPA direct debit mandates created through online payments are now tracked more clearly and protected from accidental manual validation. Customer mandate PDFs now include the key payment validation details, making records more complete and easier to audit.
Original PR description
Prior to this commit:
- Users could validate SEPA mandates that were initiated by online payments manually without tracking.
- SEPA mandates sent as email attachments to customers had missing information (email, signature, etc.).
- Information regarding SEPA validation such as bank account, date, label, and amount was lost.
Post this commit:
- Implemented tracking for SEPA mandates created from online payments
- Added a warning popup for users attempting to manually validate a mandate
initiated from online payment.
- Added Transctions button to show all completed transactions linked to mandate.
- Modified the PDF report for mandates created from online payments, including:
- Updated introduction text to clarify the mandate's creation.
- Replaced the signature section with bank statement information, including bank account, date, label, and amount.
task-4076317