-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[WIP] Adding filter menu to differentiate between Odoo CMS and OCA we… #1
base: 9.0
Are you sure you want to change the base?
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
<odoo>
without <data>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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 |
@@ -42,7 +41,28 @@ | |||
|
|||
</template> | |||
|
|||
</data> | |||
</openerp> | |||
<template id="submenu" name="Website CMS Submenu"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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