Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
7 Risposte
9748 Visualizzazioni

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
Abbandona

@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.

Autore

@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.

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


Avatar
Abbandona
Autore Risposta migliore

:-(

Avatar
Abbandona
Risposta migliore

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
Abbandona
Post correlati Risposte Visualizzazioni Attività
1
mag 25
10263
1
apr 24
2597
1
feb 23
2646
0
ott 21
3002
3
ott 20
5383