Contacts: Configuration: Localization

Purpose

The purpose of this documentation is to explain the Localization menu options in the Contacts app of Odoo 16. This includes Countries, Federal States, and Country Groups.

Process

To get started, navigate to the Contacts app.


Countries

In each contact's address section there is a field for country. Countries are defined under under Configuration > Localization > Countries.  

To edit a country, click a country from the list to open the record. On this page, click Edit to open the editable form. You can also add a new country to clicking Create to open the same form. Here you'll see the following fields.

Image: Here you can upload an image to represent the country, such as their flag.

Country Name: Enter the full country name.

Currency: Select the currency for this country.

Country Code: Enter the short code for this country.

Country Calling Code: Enter the calling code for this country.

Vat Label: Enter the VAT label for this country.

Zip Required: Enable to make Zip a required field.

State Required: Enable to make State a required field.

Advanced Address Formatting

  • Input View: If this country should use a different view, select that here. Otherwise leave it empty to use the default view.

  • Layout in Reports: Here you can modify the order in which the address details are displayed for this country.

  • Customer Name Position: Indicate whether a customer name should show before or affter the address in reports.

  • States: Here you can enter individual states for this country. To do so, click Add a Line (at the bottom of the form) and complete the following fields.

    • State Name: Enter the long name for the state.

    • State Code: Enter the short code for the state.


When you're done, click  to save.


Apply a Country to a Contact

Next, go to Contacts and select a contact record from the list.


Once there, click the field for Country in the address block. You will see the list of available countries  and can choose the applicable country from the list. 


Once you've chosen a country, the State field selections will be narrowed to only those in that country.


If you've made changes, be sure to click  to save

Fed. States

In each contact's address section there is a field for state. States are defined under Configuration > Localization > fed. states.  

To edit a state, click into the record from the list and edit the details on the same screen. Click Save when you're done.

You can also add a new state by clicking NEW to open a blank line. Here you'll see the following fields:

State Name: Enter the full name for the state.

State Code: Enter the state code for the state.

Country: Select the appropriate country for this state.


When you're done, click Save.


Apply a State to a Contact

Go to CONTACTS and select a contact record from the list.

Once there, click the State field and then choose the applicable state from the list. 


Once you've chosen a state, the country field will populate.


If you've made any changes, be sure to click  to save

Country Groups

Country Groups are useful throughout Odoo, and it makes sense to organize them in the Contacts app because that's where countries and states are defined. A Country Group, as the name states, is a group of countries that certain rules will apply to, such as Pricelists. Country Groups are defined under Configuration > Localization > country group.  

On this page you'll see a list of existing groups. To edit a group, select it from the list to open the record in a new window. Once there, click Edit to view the form in edit mode. To add a new group, click NEW to open this same form. Here you'll see the following fields:

Group Name: Enter a name for your country group.

Countries: Select all countries to include in the country group. You can also start typing in the field and select from the drop-down results.

Pricelist Name: To apply a Pricelist to this country, click Add a Line and select it here. For more information, see Apply a Pricelist to a Contact.


When you're done, click  to save.