Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
2 Trả lời
3361 Lượt xem

When creating a new contact from the contact app, I always make spelling mistakes while encoding the city and I have to look up for the right zip code and state which can take a lot of time and increases my chances of making errors.

Ảnh đại diện
Huỷ bỏ
Tác giả Câu trả lời hay nhất

Hello, 


In order to do this, you need to go in the contacts’application > configuration > country. Then, select the country you want and thick the box “Enforce cities”. 


After that, you can import the cities, zip code and state on the model res.city by clicking on the smartbutton “cities”.

Now, when the country “France” is selected while creating a contact, if you type the zip or the city, your dropdown list will get shorter and when selecting the right city, the zip and state will be filled in automatically. 


If your client always creates contacts coming from the same country (for example “France”), you can set the “France” as country by default and it will reduce even more the risks of error of creating cities with no country selected.

~credits to NIVA~

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

Hello, 

Please note that for this checkbox and smartbutton to be displayed, you will need to have the module "base_address_extended" installed in your database :)

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
6
thg 3 25
5065
4
thg 2 24
6420
1
thg 2 23
2124
3
thg 3 25
8779
0
thg 4 24
1299