Odoo is the world's easiest all-in-one management software. It includes hundreds of business apps:
CRM | e-Commerce | Accounting | Inventory | PoS | Project management | MRP | etc.
After installing the module language-flags, I get an internal server error and my website does not display anymore.
Does anyone encountered this already an have a solution for this ?
In the mean time I have found a solution myself
add a file ir_http.py with the following content to the website_language_flags module in the models directory.
from openerp.osv import orm, osv, fields
from openerp.http import request
def get_nearest_lang(self, lang):
# Try to find a similar lang. Eg: fr_BE and fr_FR
if lang in request.website.get_languages():
short = lang.split('_')
for code, name, lang_obj in request.website.get_languages():
About This Community
This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.Register
Odoo Training Center
Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.Test it now
|Asked: 6/22/15, 3:28 PM|
|Seen: 1572 times|
|Last updated: 9/27/15, 4:43 AM|