Skip ke Konten
Menu
Pertanyaan ini telah diberikan tanda
7 Replies
9837 Tampilan

Hello.

I would like to move a menu item to a third level deep, for example:

Option 1

---> Option 1.1

------> Option 1.1.1

Option 2

 

But I can only move the menu to a second level deep, even that Odoo allows me to move it to a third level, when I release the item, it moves to a second level.

Is this impossible to do with Odoo?

Thanks.

Avatar
Buang

@Andrés,

It is possible through the backend by going to Settings >> Website Settings > Configure website menus.

When I can find a bit of time I plan to build a frontend interface for this that handles category trees beyond the current limitations to the frontend interface out of the box.

I recommend building your category tree from the backend, as you can build unlimited subcategories.

Penulis

@Luke Thanks for your fast answer. I have tried what you've said, and I have changed just the "Parent menu" field, but it doesn't work correctly: - I can see now that "Option 1.1" has an arrow (which denotes that it has a submenu). - If I click on "Option 1.1", it doesn't open the submenu, nor goes to the "Option 1.1" page I've seen that if I edit the menu from the "Website Settings", I have an icon next to the parent menu which allows me to modify several things, but I don't know what do I have to modify. Is there some manual which explains this? Thanks.

Andrés, it works just like Luke said, you have just to add another submenu to be able to view it correctly, I don't know why, maybe it needs two or more submenus to be recognized, it's not working properly, but at least it giving a result.

Andrès, it's not working properly at all, I've tested it again, and it's working for one item, and it should have imperatively a second menu beside, otherwise it doesn't work. So it's a complete mess, that's it. I'm correcting my self, I hope we get a proper solution for this.

Jawaban Terbai
.dropdown:hover>.dropdown-menu {
    display: block;
}
Add this CSS, It's 100% work.


Avatar
Buang
Penulis Jawaban Terbai

:-(

Avatar
Buang
Jawaban Terbai

Hi Andres, Try this : https://github.com/acsone/odoo/commit/ea5dd3f842df2a6439c5f54bbef3375ac1e8ab1fe,

It's a modification of the js responsible of limiting menus level on Odoo website. Do a backup before you do this chang we never know. 


Avatar
Buang
Post Terkait Replies Tampilan Aktivitas
1
Mei 25
10373
1
Apr 24
3431
1
Feb 23
3486
0
Okt 21
3034
3
Okt 20
5450