Tuesday, January 16, 2024
2 changes · master
Resolved issues and error corrections
Field service product availability reports now show the warehouse tied to the sales order, or the user's default warehouse when no sales order warehouse is set. This helps teams see accurate stock forecasts for the relevant warehouse instead of defaulting to the first warehouse created.
Original PR description
In a FSM project, when using the `products` smart button, then `view availability` in the 3-dots menu, the warehouse displayed was always the first created one. The warehouse displayed should be related to which is defined on the SO or the current user one if missing. If user's default is also missing, we use the warehouse that have the lowest sequence (and that belong the the task's company). To reproduce behavior: - Install `industry_fsm_stock` - Create second warehouse (WH2) - Assign the new warehouse (WH2) to current user - Open a project in FSM app - On `Products` smart button, check the availability of a product. The displayed forecast report should be the base warehouse (YourCompany) task-3522292
Guests added to an appointment will now receive an email with the expected message instead of a blank body. This improves appointment communication by ensuring all invitees get the relevant details even when they are not the customer or event owner.
Original PR description
Fix the empty email body guests receive when being added to an appointment. Adding a condition in the template to handle the case when the user isn't a customer or the responsible of the event. Task-3684299