IMP hibou_professional Fix error when attaching subscription, and testing 'help' url.

This commit is contained in:
Jared Kipe
2020-03-16 12:58:21 -07:00
parent 539f13989a
commit 3a792fc82d
2 changed files with 5 additions and 2 deletions

View File

@@ -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) {

View File

@@ -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&amp;utm_medium=help" target="_blank">
<a href="https://odoo-hibou-test12.hibou-test-odoo.us-w-p1.hibou.me/help?utm_source=db&amp;utm_medium=help" target="_blank">
<!-- <a href="https://hibou.io/help?utm_source=db&amp;utm_medium=help" target="_blank">-->
<div class="o_mail_preview">
<div class="o_preview_info">