mirror of
https://gitlab.com/hibou-io/hibou-odoo/suite.git
synced 2025-01-20 12:37:31 +02:00
IMP hibou_professional Fix error when attaching subscription, and testing 'help' url.
This commit is contained in:
@@ -30,7 +30,10 @@ var HibouProfessionalSystrayWidget = Widget.extend({
|
||||
},
|
||||
|
||||
get_subjects: function(type) {
|
||||
return this.message_subjects[type] || [];
|
||||
if (this.message_subjects && this.message_subjects[type]) {
|
||||
return this.message_subjects[type]
|
||||
}
|
||||
return [];
|
||||
},
|
||||
|
||||
update_message_type: function(el) {
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
</a>
|
||||
<div class="dropdown-menu dropdown-menu-right o_mail_systray_dropdown" role="menu">
|
||||
<div class="o_mail_systray_dropdown_items">
|
||||
<a href="https://hibou12.jared-dev.hibou.me/help?utm_source=db&utm_medium=help" target="_blank">
|
||||
<a href="https://odoo-hibou-test12.hibou-test-odoo.us-w-p1.hibou.me/help?utm_source=db&utm_medium=help" target="_blank">
|
||||
<!-- <a href="https://hibou.io/help?utm_source=db&utm_medium=help" target="_blank">-->
|
||||
<div class="o_mail_preview">
|
||||
<div class="o_preview_info">
|
||||
|
||||
Reference in New Issue
Block a user