gityopie / odoo-addons

Odoo and Google maps integration
GNU Lesser General Public License v3.0
100 stars 159 forks source link

IMP same adress format for places and adress complete #197

Closed bosd closed 2 years ago

bosd commented 2 years ago

Before: streetnumber --> odoo street_name streetname --> odoo street_number

After: Street umber and streetname goes in the right fields. just as in adress complete module.

On a standard install the places autocomplete maps the fields different then the adress autocomplete module. Took some time to find out all the overrides on the gmaps places autocomplete were not functioning. Because of the missing force_override tag.

This commit adds the force_override tag. thus it is easier to find for other users. As well it changes the behaviour so on a standard install the behaviour of gmaps autocomplete is similar to adress autocomplete.

gityopie commented 2 years ago

@bosd Awesome.. Thank you!