Odoo Help

0

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

By
manuthalasseril
on 7/30/15, 5:23 AM 758 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

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

Question tools

1 follower(s)

Stats

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