Skip to Content
Меню
Вам необхідно зареєструватися, щоб взаємодіяти зі спільнотою.
Це запитання позначене
1 Відповісти
4864 Переглядів

Hi Community,

I need to show breadcrumbs While Navigating From Js Page to Another Js Page.

It's working Fine from Client to Window action and Window to Window Action but From Client to Client Not Working Properly,

Need to Show Breadcrumb like following image  from Client to Client Action Image Link

Аватар
Відмінити
Автор Найкраща відповідь

Hi Everyone,

It's done by using following code.

var ControlPanelMixin = require('web.ControlPanelMixin');
var AnalyticsChart = Widget.extend(ControlPanelMixin, {
init: function (parent, action, options) {
this._super.apply(this, arguments);
this.action_manager = parent;
var options = action.params || {};
this.params = options;
action.display_name = _t('Analytics Report');
},

start: function(){
var self = this;
var status = {
breadcrumbs: self.action_manager.get_breadcrumbs(),
cp_content: {$buttons: self.$buttons},
};
self.update_control_panel(status);
},
});

Thanks.

Аватар
Відмінити
Related Posts Відповіді Переглядів Дія
0
серп. 24
789
2
лип. 24
15704
2
вер. 23
8550
1
квіт. 20
10292
1
квіт. 20
4835