Skip to Content
Menu
This question has been flagged
3 Replies
9118 Views

Hello,

I would like disable a used language in odoo. I have many users who have this language in their preferences. So when i try to disable it , it show me this message :

Cannot unactivate a language that is currently used by users.

Any solution please?

Avatar
Discard
Best Answer

If you think you set all users to English, but still can't deactivate the other languages -> check the archived users.

Avatar
Discard
Best Answer

First set the language in all users on English. Then you can make the other language inactive. 

Avatar
Discard
Author

Thank you Erwin. Do you know how to set the language in all users on English using one command or one action ?

The easiest is to export the users and change language in export file and import again.

Author

Thank you. I will try it

Best Answer

res.lang model modify/extend the write function when you 'active' property in write list do run a search on res.partners table who has it as default lang, then return false with error message. or message the admin.

Avatar
Discard
Author

Than you @F. P i will try it