Skip to content
Permalink
Browse files

[FIX] website: avoid failure if addon is missing in db

This patch completes what was being fixed incompletely in #42473.

@Tecnativa TT21386 TT21202

closes #43205

Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
  • Loading branch information
Yajo committed Jan 13, 2020
1 parent 2d12bc0 commit 95348a5e1dc4e69ce0edaf89de1124fe55ce4ec8
Showing with 1 addition and 1 deletion.
  1. +1 −1 addons/website/static/src/xml/website.backend.xml
@@ -39,7 +39,7 @@
<t t-foreach="apps" t-as="app">
<t t-set="app_data" t-value="widget.dashboards_data.apps_data[app]"/>
<t t-set="app_dashboard" t-value="apps[app]"/>
<t t-if="vignette_nbr &lt; vignette_max &amp;&amp; widget.hidden_apps.indexOf(app_data['id']) == -1 &amp;&amp; app_data &amp;&amp; app_data['state'] == 'uninstalled'">
<t t-if="vignette_nbr &lt; vignette_max &amp;&amp; app_data &amp;&amp; widget.hidden_apps.indexOf(app_data['id']) == -1 &amp;&amp; app_data['state'] == 'uninstalled'">
<t t-set="vignette_nbr" t-value="vignette_nbr + 1"/>
<a href="#" class="o_box_item o_dashboard_action_form"
name="Apps"

0 comments on commit 95348a5

Please sign in to comment.
You can’t perform that action at this time.