The first user who log in will set the default country (in MCountry.loadAllCountries(ctx)). But this default value will be shared for all tenant of the database. Which could lead to issue when tenants are from different countries and when users open the WLocationDialog form.
That could be useful to add a new field on AD_ClientInfo or to determine what is the default country when each user logs in (based on the country of the selected org or the language if org = *).
WDYT ?
Steps to reproduce locally :
make sure you have at least 2 languages defined
launch the server and log in System in English.
Then log off and login GardenWorld in another language.
Go to the Business Partner window and add a new location (the default country will be USA)
Regards,
Nicolas
Environment
None
Attachments
1
22 Jan 2014, 03:22 PM
Activity
Show:
Nicolas Micoud January 22, 2014 at 3:22 PM
Patch that changes s_default to as CCache object as discussing in today's meeting.
Hi,
The first user who log in will set the default country (in MCountry.loadAllCountries(ctx)).
But this default value will be shared for all tenant of the database.
Which could lead to issue when tenants are from different countries and when users open the WLocationDialog form.
That could be useful to add a new field on AD_ClientInfo or to determine what is the default country when each user logs in (based on the country of the selected org or the language if org = *).
WDYT ?
Steps to reproduce locally :
make sure you have at least 2 languages defined
launch the server and log in System in English.
Then log off and login GardenWorld in another language.
Go to the Business Partner window and add a new location (the default country will be USA)
Regards,
Nicolas