Skip to content
Snippets Groups Projects
Commit 0c01f2a2 authored by Audric Onockx (auon)'s avatar Audric Onockx (auon)
Browse files

[FIX] base_geolocalize : adapt geocoordinates to partner address


Steps :
Install Field Service and Contacts.
Create a FSM task > Customer : Demo.
Note that the displayed address is his Demo's current one.
Click Navigate To : it points this same address.
Go to Contacts > Demo > change the address and return to task.
Note that the displayed address is his Demo's new one. (Or else refresh)

Issue :
Click Navigate To : it points the OLD address.

Cause :
action_fsm_navigate calls partner.geo_localize
only if partner has no geocoordinates.
Yet he still have the old coordinates.

Fix :
Call when the address changes and not in action_fsm_navigate.

closes odoo/odoo#84266

Opw: 2743926
Related: odoo/enterprise#24198
Signed-off-by: default avatarYannick Tivisse (yti) <yti@odoo.com>
parent ab9fbfb4
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment