تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
1 الرد
5002 أدوات العرض

Hi,

I have uploaded a language (name:Test1) in ERP& my language's captions were just for CRM module, not all modules.(forgotten to check 'overwrite' option)

I chose 'Test1' lang for Admin user, my page refreshed and after that I have no GUI in screen!!

I have no access to OpenERP now. I cant change the lang setting for Admin user, cause Other users have not Administrator privilege!.

How Can I reset Admin's lang to en-US lang?! How can I do it!!

 

Thanks,Parelli

الصورة الرمزية
إهمال
أفضل إجابة
  1. Open up psql (or pg_admin3 or similair) and connect to your database
  2. Lookup the id and partner_id for user administrator in res_users table
  3. Use partner_id to find the partner attached to administrator user in res_partner table
  4. Run query: "update res_partner set lang = 'en_US' where id = $your_partner_id_here;"

 

Should do the trick.

الصورة الرمزية
إهمال
الكاتب

Thank you so much.

الكاتب

i've removed the translated 'lang' from ir_translations and from res_lang . and changed the (res_patner) user lang to en US, but still my admin page does not loading.!!! Please advice.

Have you tried updating the database with the "-u all" flag on the command line? That will reinitialise the modules and perhaps restore the translations. Furthermore, check the log files for any inconstancy. It is really difficult to debug for anyone if you don't have error log.

الكاتب

I used the 'refresh' button in phAdmin3 GUI. I guessed it too, and for making sure about the changes i've changed the name of one user and stop-start erp.. The user's name was changed!! but still my admin lang didnt updated!!

المنشورات ذات الصلة الردود أدوات العرض النشاط
0
ديسمبر 24
1452
2
فبراير 24
2990
4
نوفمبر 23
3433
1
أغسطس 22
3717
1
مارس 21
21317