Wednesday, September 24, 2025
10 changes · 18.0
Enhancements to existing features
This change makes the automatic wave creation rules in stock picking batches easier for developers to customize. Businesses can adapt warehouse wave planning conditions to their specific operations without changing the core process.
Original PR description
This improvement just adds some hook methods that allow to decapsulate the logic of auto waves so its doable to extend the conditions for auto-waving. cc @moduon fyi @Shide TODO: for the sake of clarity I just inserted the hook method logic but a cleaner approach would be to extract the whole logic of each hook into their own separate method --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Resolved issues and error corrections
Fleet manufacturers now show counts based only on active vehicle models, making the displayed numbers more accurate for day-to-day use. An Archived filter was also added so users can more easily find inactive vehicle models when needed.
Original PR description
- Fixed count of models in manufacturer to count only active models. - Added 'Archived' search filter for 'model' model Task - 4921998 Forward-Port-Of: odoo/odoo#228174 Forward-Port-Of: odoo/odoo#222353
Users with viewer access can now mark documents as favorites using the keyboard shortcut without hitting an access error. This makes the Documents app more consistent and avoids interruptions for users who rely on shortcuts.
Original PR description
steps to reproduce =================== - Select a document where you have viewer permission. - Try to toggle the favorite through a hotkey. - Access Error when toggling favorite. Technical =========== - To maintain compatibility with stable versions and avoid changing the return type of the existing method, created the helper method, which will call `toggle_favorited` as we need to handle it for multiple records. After this commit ================== - This commit handles the accessError for shortcut flow. As in 18.3 we already have documents_favorite widget https://github.com/odoo/enterprise/pull/82639 which will work for manually favoriting the document, but it is not handling the shortcut flow. Task-4910326
Sales order invoiced amounts now exclude invoice section and note lines, keeping totals aligned with standard accounting behavior. This prevents non-financial display lines from affecting billing amounts and makes reported invoiced values more reliable.
Original PR description
When computing the invoiced amount for a SO, ignore the invoice's lines of `display_type` equal to `line_note` and `line_section` This matches the accounting features which always ignore such lines. **Current behavior before PR** Method `_get_sale_order_invoiced_amount` includes display lines. **Desired behavior after PR is merged** Method `_get_sale_order_invoiced_amount` ignores display lines. --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr Forward-Port-Of: odoo/odoo#228146
This fix prepares Danish Nemhandel partner information during module installation instead of calculating it later during updates. It helps avoid lengthy update times and makes the installation/update process smoother for businesses using Danish e-invoicing.
Original PR description
To avoid lengthy update due to the compute of the records by the ORM, let's pre-compute the nemhandel fields on the install of the module. 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
Work order employee lists could appear empty for users without HR permissions because an employee avatar field triggered an access error. This change hides or limits that avatar field for non-HR users so the list can load normally while preserving HR access rules.
Original PR description
HR use an access right on field. However they have an issue with the avatar field that return an error while it should not. Until they provide a fix limit the avatar field when the user don't have the hr user group.
This fix ensures the Export option appears when users select documents in list view, even if list view was set as the default through Studio. It prevents confusion and restores the expected document export workflow.
Original PR description
To reproduce: ============= - Go to Documents app - With studio change default view to list - back to Documents app select some documents - on the action button you can see that the export option is not visible Problem: ======== The export action should only be visible in list view, so each time the control panel dropdown is opened we check the current view type from `currentController.state.view_type` which is not always set as clarified here: https://github.com/odoo/odoo/blob/f3761a8b5dc25d8ab711bb83c7c1402173418c01/addons/web/static/src/webclient/actions/action_service.js#L1744-L1747 Solution: ========= We now get the view type from `currentController.view.type` which is always set and contains the correct value. opw-5071617
Scheduled account report emails now skip partners that have been deleted before processing. This prevents the automatic sending job from failing and helps ensure remaining customer statements continue to be sent as expected.
Original PR description
When a partner included in a batch send is deleted before the cron "Send account reports automatically" runs, the cron fails because the partner no longer exists. Steps to reproduce: 1. Create partner A and a draft invoice linked to it 2. Go to Partner Ledger and select Customer Statement report 3. Click on Send and validate - Ensure the scheduled action is not executed immediately (e.g. by deactivating it) 4. Delete partner A 5. Run the cron "Send account reports automatically" -> Cron fails with "Record does not exist or has been deleted" This fix ensures only existing partners are kept for processing. opw-5085571
The General Ledger PDF footer now supports longer company names without cutting them off. Extra footer spacing was added so printed reports remain readable and professional for companies with longer legal names.
Original PR description
**Steps to reproduce:** 1. Install the Accounting module. 2. Set a company name longer than 24 characters. 3. Go to Accounting → Reporting → General Ledger. 4. Print the report → in the PDF footer,…
**Steps to reproduce:** 1. Install the Accounting module. 2. Set a company name longer than 24 characters. 3. Go to Accounting → Reporting → General Ledger. 4. Print the report → in the PDF footer, the company name is truncated. **Issue:** - The company name in the General Ledger report footer is cut off if it exceeds 24 characters. **Cause:** - The footer uses a static value limited to 24 characters: https://github.com/odoo/enterprise/blob/08564f3312c255f2f3ab95cef5a9bfc57727bd1f/account_reports/models/account_report.py#L5850-L5860 **Solution:** - Increased the footer text limit from 24 to 80 characters. - Adjusted page margin by changing `'data-report-margin-bottom': 15` → `'data-report-margin-bottom': 20` to ensure proper spacing for longer company names in the PDF. **After Apply Solution** <img width="1038" height="86" alt="After solution" src="https://github.com/user-attachments/assets/51ece47c-1950-4a54-8be3-f7ac2bbd8a0d" /> **Before Without Solution** <img width="1050" height="66" alt="Before Solution" src="https://github.com/user-attachments/assets/a13b9132-bf04-422a-8e32-1db5225afc33" /> opw - 5025972
The barcode Kanban view now only shows existing stock quantities instead of allowing new ones to be created. This prevents accidental inventory records and helps keep stock data accurate when users scan or enter product barcodes.
Original PR description
Steps to reproduce: - Scan or type product barcode - Navigate to Kanban View Problem: - New `stock.quants` are not supposed to be created from `stock.quant.kanban.barcode`, its only to supposed to show existing ones.