In the e-commerce address form the country found by geoip is set as selected. Which is convenient for the user.
Using the form builder for website on the other hand, when creating a form with a country field. The first option (Afghanistan) is selected as default. Yes i can 'hardcode' another country as a default by selecting it in the wysiwyg editor. But i would like to base it on geoip.
Any idea where i have to start looking for this ?
The default for many2one seems to be set here:
But where exactly can i set the record.selected by geopi when the select name is 'country_id' ?
Thanks