Se rendre au contenu
Menu
Cette question a été signalée
2462 Vues

Hi everybody,

I am setting up Odoo 16.. The rules of my company, we should setup Odoo to have company name and address in bilingual. So there should be in the end of any name field an icon "EN" to click on it and add name translation for both company name and address. 

So far, i have managed to add "translate=true" in most of HR modules and I got that "EN" link in Name fields to add translation.

Now, I tried my best to do the same thing with my company name and address located at “Setting -> User & Companies -> Companies”.. I have tried to add “translate=True” in the base model “res_company.py” and “res_partner.py” but unfortunately when I restart Odoo service it crashes.

How can I achieve my goal? Thank you…

Avatar
Ignorer

Hi,
Please modify them using Python code through a custom addon