Odoo Help

Welcome!

This community 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.

0

Translation url is not working on top menu in odoo (openerp) website ?

By
manuthalasseril
on 7/30/15, 5:23 AM 490 views

I created some top menus on my custom module and it was working well. Following was my code for creating menu.

 <record id="cloud_menu" model="website.menu">
        <field name="name">Cloud</field>
        <field name="url">/#cloud</field>
        <field name="parent_id" ref="website.main_menu" />
        <field name="sequence" type="int">2</field>
</record>

<record id="software_menu" model="website.menu">
        <field name="name">Software</field>
        <field name="url">/#software</field>
        <field name="parent_id" ref="website.main_menu" />
        <field name="sequence" type="int">3</field>
</record>

....

But the problem was, when I selected an Arabic (or any language other than English) and choose any of my created top menu (only menus created from my module), then it loads the English website.

http://10.0.0.90:8069/#cloud 

When I entered it manually then it was working

http://10.0.0.90:8069/ar_SY/#cloud 

So how can we achieve the translation url in top menu on my custom module.

Thanks in advance

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)

Stats

Asked: 7/30/15, 5:23 AM
Seen: 490 times
Last updated: 7/30/15, 5:48 AM