Wednesday, March 5, 2025
3 changes · saas-17.4
Resolved issues and error corrections
When products are added directly to an intercompany delivery, the related sale order line is now created correctly. This keeps sales orders and delivery operations aligned across companies, reducing missing billing or fulfillment details.
Original PR description
Steps to Reproduce: - Create two companies: A and B. - In Company A, create a sale order for Company B with product P1. - Confirm the sale order and navigate to the associated picking. - Add a new…
Steps to Reproduce: - Create two companies: A and B. - In Company A, create a sale order for Company B with product P1. - Confirm the sale order and navigate to the associated picking. - Add a new product P2 and confirm the picking. Issue: No sale order line is created for the newly added move in the picking. Technical Reason: Before v17.2, intercompany transfers used the "Partner/Customers" location (type: "customer") as the destination. The logic for creating a sale order line checked move.location_dest_id.usage != 'customer', which correctly allowed the sale order line to be created. In v17.2, intercompany transfers now use "Virtual Locations/Inter-company transit" (type: "transit") as the destination. Since 'transit' != 'customer', the condition incorrectly bypasses sale order line creation. Fix: Modify the condition to check if the destination location is either 'customer' or 'transit'. This ensures that sale order lines are correctly generated for intercompany transfers. Task-4455830
This fixes an issue where HR Referral dashboard menu items could disappear after a user completed onboarding, leveled up, or refreshed the page. The dashboard now keeps navigation visible, reducing confusion and avoiding interruptions for employees using referrals.
Original PR description
- hr_payroll > Dashboard - After completing all the steps of onboarding when the user is refreshing all the menuitems get hidden or whenever user does a level up and refresh/ press F5 then also all the menuitme gets hidden. Before this commit, after completing all the onboarding steps or whenever user does a level up after that refreshing the page (F5). so, all menu items to disappear. This occurs because the `hr_referral_welcome` client action is missing the required path. Now, the static path has been added to the `hr_referral_welcome` client action. in that way, when reloading ,after completing all the onboarding steps or level up, all menu items is not disappear Task-4391729
Reloading a Sign document page no longer sends users back to the document list. The page now keeps the details it needs in the URL so users can refresh, switch display modes, or enable debug mode without losing their place.
Original PR description
- Sign > Documents > Click on any of the Kanban record
- Reload the view (either reload the browser, or activate
the debug, or change to dark mode on the user menu).
Before this commit, on reloading the sign document page user was redirected back to kanban view. This occurs because, the client action 'sign.Document' requires attributes which are found in the context - { id, token, create_uid, state, request_item_states} that was lost when reloading.
Now, { id, token, create_uid, state, request_item_states} is put in the query string of the URL, in that way, when reloading, the client action 'sign.Document' will have the needed attributes. Note that, this is also the behavior of the base_import 'ImportAction' action [1].
task-4391729
[1] : https://github.com/odoo/odoo/pull/182744/commits/a6801ce4aa65cd023e2a762ab5c42755a4599c95