Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
1 Odpowiedz
5000 Widoki

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

Awatar
Odrzuć
Najlepsza odpowiedź
  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.

Awatar
Odrzuć
Autor

Thank you so much.

Autor

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.

Autor

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!!

Powiązane posty Odpowiedzi Widoki Czynność
0
gru 24
1450
2
lut 24
2986
4
lis 23
3432
1
sie 22
3716
1
mar 21
21310