YetiForceCompany / YetiForceCRM

Our team created for you one of the most innovative CRM systems that supports mainly business processes and allows for customization according to your needs. Be ahead of your competition and implement YetiForce!
https://yetiforce.com
Other
1.72k stars 742 forks source link

Phone prefix set to afgan #5599

Closed MonsterITServices closed 6 years ago

MonsterITServices commented 6 years ago

Hi,

Running 4.2.514. All phone numbers are defaulted to Afganastan, is it possible to change the default to United Kingdom instead?

mariuszkrzaczkowski commented 6 years ago

Yes, this is possible, but there is no configuration panel yet. You can do this in the database, changing the sort order. This change will be visible everywhere in the field of the phone and in the country field.

UPDATE `u_yf_countries` SET `sortorderid` = '0' WHERE `name` = 'United States'; 

2017-11-30_21-43-17 2017-11-30_21-44-33

nzi200779 commented 6 years ago

Is there a way i can add the countries table as a picklist field on Opportunities Module?

vovpff commented 6 years ago

@alextovey try here too image

blu-IT commented 4 years ago

... is it possible to change the default to United Kingdom instead?

Is the method described above still the way to change default prefix or is there some config option in the meanwhile (this ticket is from 2017)?

Thanks!

js325 commented 4 years ago

I am on v5.3 and this seems to still be the only method of changing the default. It seems to work on country fields but my default phone prefix has not changed. I have set sortorderid for Australia to 0 but US still defaults as the phone number field as you can see. Is there anything else that's needed to achieve this?

yetiforce-default

blu-IT commented 4 years ago

I am on v5.3 and this seems to still be the only method of changing the default. It seems to work on country fields but my default phone prefix has not changed. I have set sortorderid for Australia to 0 but US still defaults as the phone number field as you can see. Is there anything else that's needed to achieve this?

Strange, it worked for me. Can you send a screenshot of your database table with the sortorder?

rskrzypczak commented 4 years ago

it depends on language lang

js325 commented 4 years ago

Heres a screenshot of db table yeti-db

I also created an en-AU language but still get the US default on phone numbers; yeti-lang

blu-IT commented 4 years ago

@js325

OK and which language is set in your personal profile? If en-US then try switching to en-AU and see if the behavior changes. From your screenshot I can only see that (the system wide?) setting ist still en-US.

js325 commented 4 years ago

Good pickup! That worked. It still needed to be changed under user preference. Thanks heaps.