odoo-addons icon indicating copy to clipboard operation
odoo-addons copied to clipboard

The map is not showing the marker (odoo 15.0)

Open selvamani-ramasamy opened this issue 2 years ago • 8 comments

I have installed the web_google_maps and the map view is coming up. But it is not showing any marker for the locations. I have updated the lang, lat for the contacts. But still it does not work.

Screen Shot 2022-07-09 at 4 08 32 AM .

selvamani-ramasamy avatar Jul 09 '22 11:07 selvamani-ramasamy

When I click on the contacts in the side bar, it focuses to that location, but it does not show the marker.

selvamani-ramasamy avatar Jul 09 '22 11:07 selvamani-ramasamy

@gityopie Could you please help on this?

selvamani-ramasamy avatar Jul 11 '22 05:07 selvamani-ramasamy

Update: it is working for res.partner module, but it does not work for the module which is inherited from res.partner.

selvamani-ramasamy avatar Jul 16 '22 19:07 selvamani-ramasamy

@selvamani-ramasamy did you mean new model inherit res.partner? the google_map view is not automatically created, it must define it manually

gityopie avatar Jul 18 '22 03:07 gityopie

@gityopie yes, the new module is inherited from res.partner. I have modified the view to use the new module instead of res.partner. The attached snapshot is for new module. It loads the contacts on the right side bar. When we click, then it will focus to that coordinates in the map. But it is not marking the contact information in the map.

selvamani-ramasamy avatar Jul 18 '22 04:07 selvamani-ramasamy

@selvamani-ramasamy looks like a marker issue. Have you check on the network logs?

gityopie avatar Jul 18 '22 05:07 gityopie

@gityopie I have enabled all dev logs (--dev=qweb,xml,werkzeug) and I don't see any error or warning in the log console. Am I missing something? Let me know how to check network logs specifically.

selvamani-ramasamy avatar Jul 19 '22 07:07 selvamani-ramasamy

@selvamani-ramasamy The network logs on the browser

gityopie avatar Jul 21 '22 04:07 gityopie