[WIP] Adding filter menu to differentiate between Odoo CMS and OCA we…#1
[WIP] Adding filter menu to differentiate between Odoo CMS and OCA we…#1PCatinean wants to merge 4 commits intosimahawk:9.0from PCatinean:9.0-website-optional-menus-pc
Conversation
|
@simahawk I think this PR is ready. Let me know if anything needs changing or fixing. |
| @@ -0,0 +1,20 @@ | |||
| <openerp> | |||
There was a problem hiding this comment.
Only a small change but seems good to me 👍
|
@PCatinean can you fix the small conflict in menu.xml. Should be just a matter of replacing |
|
|
||
| </data> | ||
| </openerp> | ||
| <template id="submenu" name="Website CMS Submenu"> |
There was a problem hiding this comment.
@PCatinean any way to make this readable? :)
Maybe we can move this logic to a website helper method?
There was a problem hiding this comment.
I copied and pasted the original navbar template from stock Odoo. I thought about using the original template but it's highly unlikely it will work.
Methods in the website helper might be a bit overkill, I set some variables at the start.
What do you think?
|
totally fine :) On Tue, Oct 11, 2016 at 9:18 PM, Paul Catinean notifications@github.com
|
Work in progress to filter different menus for both CMS's