Friday, April 18, 2025
18 changes · master
Enhancements to existing features
A manufacturing work order test was updated to use the current batch size field after an older field was removed. This helps keep automated checks aligned with the product and reduces the risk of future manufacturing changes being blocked by outdated tests.
Original PR description
In this commit: ================= - changed the field in a test case from counter to maximum_batch_size as it removed from the model. task- 4274773
The restaurant preparation display setup now stays aligned with the main restaurant point-of-sale setup process. This helps avoid setup issues when loading demo data and keeps the feature compatible with the broader system.
Original PR description
This commit updates the `_load_restaurant_demo_data` method to accept a required parameter, ensuring compatibility with its parent method. Task: 4572251 Related: odoo/odoo#197861
Maintenance screens now include clearer URL paths for the main actions, making pages easier to identify, bookmark, and share. This improves navigation consistency for users working with maintenance requests and worksheets without changing core workflows.
Original PR description
Added path in URL for the main actions of Maintenance.
WhatsApp live chat now aligns with new call tracking information added in the related core update. This keeps automated security checks compatible with the new call statistics data so live chat call reporting can work reliably.
Original PR description
The community coutnerpart of this PR adds call statistics to live chat. A new field was added to keep track of calls so tests that assets bus notifications have to be adapted. task-4614125 community: https://github.com/odoo/odoo/pull/203684
The Helpdesk onboarding tour text was updated to better explain the internal note step. This avoids suggesting that selecting a channel notifies people in that channel, reducing confusion for new users.
Original PR description
This commit adapts a step asking to click on `log note` button to send an internal note. We no longer mention the user can select a channel because that feature does not ping the users inside the channel selected, it is just to have a button to redirect the user to that channel. task-4662201
Manufacturing work order users now receive immediate confirmation after completing Scrap, Quality Alert, and Move to Work Center actions. This helps reduce uncertainty on the shop floor and supports a smoother, more confident workflow.
Original PR description
Added feedback notifications for Scrap, Quality Alert, and Move to Work Center actions. Users now receive immediate confirmation upon completing these actions, ensuring clear feedback and a smoother workflow. task-4403621
Demo records for rental and subscription products now use clearer, more polished images. This makes sample databases look more realistic and helps sales teams better understand how these apps can be presented to customers.
Original PR description
task-4717155 part-of-task-4252024 community: - https://github.com/odoo/odoo/pull/206246
Resolved issues and error corrections
This change fixes an automated test related to disallowed fleet expenses after a Runbot failure. It helps keep the accounting and fleet expense checks reliable without changing day-to-day user functionality.
Original PR description
Runbot error build 163135
Miscellaneous changes
`_test_send_invoice_and_credit_note` and `_test_send_invoiced_stock_moves` try to create sale orders, but don't check that the group is set on the user. https://runbot.odoo.com/odoo/error/163637 Forward-Port-Of: odoo/enterprise#83691
Original PR description
`_test_send_invoice_and_credit_note` and `_test_send_invoiced_stock_moves` try to create sale orders, but don't check that the group is set on the user. https://runbot.odoo.com/odoo/error/163637 Forward-Port-Of: odoo/enterprise#83691
Date fields in Sign documents now show a placeholder that follows the company's configured language and regional date format. This prevents confusion for users preparing signature requests across different locations.
Original PR description
Before this commit, When adding a date sign item, the date format in the placeholder might mismatch the company's location date format since it is a static value. After this commit, the placeholder value is dynamic, it is computed initially from the company lang date_format. task-id: 4607440
A small naming issue was fixed in the Indian GST reporting workflow so the system can correctly recognize the field update behavior for tax units. This improves reliability and maintainability without changing the user-facing reporting process.
Original PR description
This **PR** rectifies the incorrect name on onchange method of tax_unit_id. This will help to improve the visibility of this method.
Followup to #83427 as I missed a second issue in the test: `action_validate` can only be performed by a time off officer. So set that on the current user. Also `self.Requests.env.user` is the same as `self.env.user` so don't bother with the unnecessary indirection. https://runbot.odoo.com/odoo/error/164047 Forward-Port-Of: odoo/enterprise#83579
Original PR description
Followup to #83427 as I missed a second issue in the test: `action_validate` can only be performed by a time off officer. So set that on the current user. Also `self.Requests.env.user` is the same as `self.env.user` so don't bother with the unnecessary indirection. https://runbot.odoo.com/odoo/error/164047 Forward-Port-Of: odoo/enterprise#83579
These tests create sale orders, but `self.env.user` does not necessarily have the right to create one by default. https://runbot.odoo.com/odoo/error/163635 Forward-Port-Of: odoo/enterprise#83672
Original PR description
These tests create sale orders, but `self.env.user` does not necessarily have the right to create one by default. https://runbot.odoo.com/odoo/error/163635 Forward-Port-Of: odoo/enterprise#83672
`TestPayslipValidation.setUpClass` tries to create an `hr.leave.type` but that requires hr admin access. So add that. Issue likely became visible from the removal of demo data, though it only popped up on April 1st instead of March 27th or whenever the demo data change was merged. https://runbot.odoo.com/odoo/error/162257 Forward-Port-Of: odoo/enterprise#83665
Original PR description
`TestPayslipValidation.setUpClass` tries to create an `hr.leave.type` but that requires hr admin access. So add that. Issue likely became visible from the removal of demo data, though it only popped up on April 1st instead of March 27th or whenever the demo data change was merged. https://runbot.odoo.com/odoo/error/162257 Forward-Port-Of: odoo/enterprise#83665
to reproduce: ============= - with employee having attendace houre based contract - set in attendace settigns that overtime should be approved by manager - create attendace for this employee with overtime pending for approval - create payslip for this employee -> the overtime is included in the payslip even if it is not approved Problem: ======== unapproved overtimes are not filtred while computing payslip lines Solution: ========= - add a filter to exclude unapproved overtimes
Original PR description
to reproduce: ============= - with employee having attendace houre based contract - set in attendace settigns that overtime should be approved by manager - create attendace for this employee with overtime pending for approval - create payslip for this employee -> the overtime is included in the payslip even if it is not approved Problem: ======== unapproved overtimes are not filtred while computing payslip lines Solution: ========= - add a filter to exclude unapproved overtimes in payslip line computation opw-4610454 Forward-Port-Of: odoo/enterprise#83449
The percentage sign is missing on the tax line in the invoice report opw-4661577 Forward-Port-Of: odoo/enterprise#83596 Forward-Port-Of: odoo/enterprise#83497
Original PR description
The percentage sign is missing on the tax line in the invoice report opw-4661577 Forward-Port-Of: odoo/enterprise#83596 Forward-Port-Of: odoo/enterprise#83497
In [1] we added a compute on wa_account_id in stead of a default to allow for a smarter default. We forgot to mark the field readonly in the process. This prevents the import of existing templates, or of templates from different accounts. task-4734669 Correction for: task-4369979 [1]: 7a593a4aa5040998dc12468dec12dca62f573030 Forward-Port-Of: odoo/enterprise#83562
Original PR description
In [1] we added a compute on wa_account_id in stead of a default to allow for a smarter default. We forgot to mark the field readonly in the process. This prevents the import of existing templates, or of templates from different accounts. task-4734669 Correction for: task-4369979 [1]: 7a593a4aa5040998dc12468dec12dca62f573030 Forward-Port-Of: odoo/enterprise#83562
Revert odoo/enterprise#81587 because errors are triggered on dry-run. Also see discussion here: ref: https://github.com/odoo/enterprise/pull/82900#issuecomment-2800848343 Forward-Port-Of: odoo/enterprise#83422 Forward-Port-Of: odoo/enterprise#83391
Original PR description
Revert odoo/enterprise#81587 because errors are triggered on dry-run. Also see discussion here: ref: https://github.com/odoo/enterprise/pull/82900#issuecomment-2800848343 Forward-Port-Of: odoo/enterprise#83422 Forward-Port-Of: odoo/enterprise#83391