Tuesday, July 18, 2023
7 changes · master
New functionality added to Odoo
Knowledge users can now use a new print option to print articles or save them as PDFs through their browser. This gives teams an easier way to share or archive articles, while keeping better article formatting for printed output.
Original PR description
This commit simply adds a shortcut to the browser "print" feature that will allow end users to export their article to PDF (or print it). We are not using "wkhtmltopdf" as it does not support emojis. (And the investigation on that issue showed that adding the support for that would be very complicated). Note that exporting with the browser is not as good as we do not control everything, for example the browser will add the URL of the page to the printed document. It is however possible to customize the export to some extent, if the end user knows the various options. Task-2892055
Enhancements to existing features
The POS due settlement flow now runs after order validation, so it also applies when customers pay online. This helps ensure settlement actions are consistently completed for all relevant POS orders, regardless of payment method.
Original PR description
Execute the code after afterOrderValidation instead of _finalizeValidation method to have the code be executed even for POS orders that have online payments. task-id: 3276404 related: https://github.com/odoo/odoo/pull/123237
Resolved issues and error corrections
The Belgian Partner VAT Listing now calculates which partners must appear before applying any user-defined grouping. This prevents incorrect reported amounts when businesses customize the report, and it should also make the report run more efficiently.
Original PR description
The Partner VAT Listing uses a custom engine, meaning that it is possible for the user to customize its line in order to do the grouping differently, and for example have a group by account on top of…
Odoo can now regularly send available stock quantities to Amazon for seller-fulfilled products when synchronization is enabled. This helps reduce overselling, order cancellations, and delivery delays that can harm seller reputation.
Original PR description
Currently, the stock on Amazon for FBM is not updated when it changes on odoo side. This can lead to overselling, so the user either will have to cancel a lot of orders or he risks having big delay to deliver. It can then have a bad impact on the reputation. From now on, Odoo will regularly send the current available quantity of each offers for account that activated the synchronization feature. This only works for FBM products, as Amazon will not update the quantity for FBA even when we try. task-2864098 See also: - https://github.com/odoo/documentation/pull/4773 - https://github.com/odoo/upgrade/pull/4810
Users can once again preview files directly from the Documents Kanban view, making it easier to review documents without switching views. The preview experience is also smoother, with chatter moved out of the preview area and thumbnail clicks allowing quick switching between previews.
Original PR description
This commit reverts some of the changes from the PR #29807 - The previous changes aimed to show the file preview only in the List view. However, this commit restores the file preview for the Kanban view. - The chatter is removed from the file preview and added with the buttons as in Kanban view. - Now we can switch preview by clicking on the thumbnail without closing the other preview. Task-3358187
Helpdesk ticket forms now show how long each ticket has spent in every stage. This gives teams clearer visibility into ticket progress and helps identify bottlenecks in the support workflow.
Original PR description
Add the `MailTrackingDurationMixin` to helpdesk to compute time spent in each stage and change statusbar widget from `statusbar` to `statusbar_duration` to see time spent in the form view See https://github.com/odoo/odoo/pull/108554 Task-3032773
Updates helpdesk forum and slide-related pages so they stay aligned with the redesigned forum experience. This helps keep customer support and learning content visually consistent and functional after the broader forum redesign.
Original PR description
Necessary changes after redesign. See odoo/odoo#123709
The Partner VAT Listing uses a custom engine, meaning that it is possible for the user to customize its line in order to do the grouping differently, and for example have a group by account on top of the default group by partner. However, due to legal requirements, this report already "injected" a groupby in the SQL ran for its computation, so that we did not report partners not reaching the "turnover" untaxed value of 250 EUR (or another of the special criteria about credit notes). This completely broke custom grouping, as the turnover got computed on the new groups (so, not only "group by partner_id", but "group by account_id,partner_id", for example). The numbers reported in this case were hence completely wrong. With this commit, we rewrite the queries ran by the report so that the partners meeting the appearance criteria (like the turnover) are computed beforehand and the custom groupby can work as usual. Thanks to that, this refactoring also improves the overall performance of the report in the meantime.