[IMP] web: FavoriteMenu: move 'Save Current Search'
Move it above the separator. Part of task 2234547 Co-authored-by: Mohammed Shekha <msh@odoo.com> Co-authored-by: Aaron Bohy <aab@odoo.com>
This commit is contained in:
committed by
Aaron Bohy
co-authored by
Mohammed Shekha
Aaron Bohy
parent
47a1ae580f
commit
93c01a231a
@@ -146,6 +146,7 @@ odoo.define('web.CustomFavoriteItem', function (require) {
|
||||
|
||||
CustomFavoriteItem.props = {};
|
||||
CustomFavoriteItem.template = 'web.CustomFavoriteItem';
|
||||
CustomFavoriteItem.groupNumber = 3; // have 'Save Current Search' in its own group
|
||||
|
||||
FavoriteMenu.registry.add('favorite-generator-menu', CustomFavoriteItem, 0);
|
||||
|
||||
|
||||
@@ -39,6 +39,7 @@ odoo.define('web.FavoriteMenu', function (require) {
|
||||
if (Component.shouldBeDisplayed(this.env)) {
|
||||
menus.push({
|
||||
key: Component.name,
|
||||
groupNumber: Component.groupNumber,
|
||||
Component,
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user