Wednesday, January 29, 2025
2 changes · master
Enhancements to existing features
Map markers in stock operations can now show summary details for multiple records that share the same location. This helps users quickly understand grouped deliveries or transfers without opening each record individually.
Original PR description
This commit adds support for showing the summary of multiple records in the marker popup in map view, in case multiple records shared the same location via a setting a new attribute called `full_popup`. Previously, the summary was only shown if the marker corresponded to a single record. If multiple records shared the same marker, only the "Navigate" (or "Open") button(s) were shown along with the address if not hidden.
Salary package offers now better check whether a signature template is ready before an offer is sent by email. Users are guided to upload the required PDF when needed, reducing failed or incomplete pre-offer signature requests.
Original PR description
A new related field for `sign_template_id` is needed to control the warning message's visibility and enable or disable the `send_by_email` button. The `Upload a PDF` hyperlink triggers an action for the `sign.template` model with a context that contains `'upload_pdf': True`, ensuring that when a redirection occurs via the hyperlink, a check is performed when the component is mounted, and `requestFile('sign_send_request')` is triggered accordingly.
task-4427308