Odoo Aide

0

0
3 Answers
1
Avatar

Niyas Raphy

--Niyas Raphy--
15104
| 6 6 9
Calicut, Inde
--Niyas Raphy--

Odoo Techno Functionalist

Feel free to connect :  niyasraphyk@gmail.com

Twitter:https://twitter.com/niyasraphy
LinkedIn: https://www.linkedin.com/in/niyasraphy/
FB:https://www.facebook.com/niyasraphy123

Happy to help :)

Niyas Raphy
08/04/2019 10:00

Hi,

What you can do is that you can set default value for the specified field. Suppose if your customers are more from US, in the country field just set it as the default value, so that you don't need to choose it all the time.


See this video and see how to set default value for a field from user interface in developer mode: How To Set Default Value For A Field in Odoo 


Rather than looking to delete countries you can try the above method or just keep those countries as inactive by setting active as False if possible.


Thanks

0
Tony S.
09/04/2019 14:31

Thank you both for your response.   I was able to set the default country on the contact forms. 

Could you tell me specifically where I can see a list of countries so I could set them as inactive?

0
vu van tien
08/04/2019 22:06
country_id = field.char(default='name country')in the table "res_country_state"
Poser une question
Writer
Keep Informed
1 Abonné(e)s
About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

Register
Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now