Daily updates from Odoo
Thursday, September 21, 2023
5 changes · master
Enhancements to existing features
The disallowed expenses report now opens with last year's data by default and better separates vehicle-related expenses when fleet management is installed. It also warns users when vehicle expenses are posted on accounts that are missing the required disallowed expense category, helping teams spot configuration issues more easily.
Original PR description
There are three parts to this commit: 1. Date filter We set it to 'last_year' by default. 2. New warning A warning is added to the report if the following conditions are satisfied: - Posted move lines on an expense account within the report dates. - A vehicle is set on those lines. - No disallowed expense category has been defined on the account. This warning contains an action redirecting the user to a list view of these accounts. 3. 'vehicle_split' filter The filter will now be activated by default when `account_disallowed_expenses` and `fleet` are installed. This helps the user better understand the report. Indeed, there could be posted move lines on accounts with a disallowed expense category with AND without a vehicle. And those lines would otherwise be aggregated and no rate would be displayed. task-3508394
This update adjusts how view information is prepared so it no longer depends on temporary context settings. This should make screen loading more predictable across accounting, documents, helpdesk, payroll, field service, localization, web studio, and related areas without changing day-to-day workflows.
Original PR description
Companion of https://github.com/odoo/odoo/pull/135145 following community task task-3414108 task-3414068
Logged-in customers now see their own saved payment methods across subscription portal payment flows. Guests continue to see the payment methods tied to the customer record, making portal payments more consistent and easier to understand.
Original PR description
Before this commit, each module had its own logic regarding payment flows in the portal. With this commit, we enforce that if the user is logged in, they see their tokens, while logged out users see the tokens of the customer (the contextual partner). task-2836870
The Sign sending wizard now uses a dedicated signer selection component, making the interface more stable and easier to maintain when the wider web interface changes. Document refusal is also enabled more consistently, reducing hidden setup steps for users who need recipients to decline signing when appropriate.
Original PR description
In sign, we were using a one2many to render all the signers and roles in the wizard. However, this approach was prone to breaking every time the list renderer was changed in web. We also had issues with autofocus and styles breaking. This commit introduces a one2many field specific for sign that removes the list rendered dependency, therefore giving more control to what we can do and preventing the layout from breaking. task-3457176
Manufacturing teams can now see work order dependencies directly in the planning view, making production sequencing clearer. Quality teams also get quicker access to quality alerts from lot and serial number records, helping them investigate issues faster.
Original PR description
task 3395161 community: odoo/odoo#129933