Commit 8bccf309 by Arturo Jasso Origel

corrección de error en list_ids se cambio el valor vacio

parent 77be0a84
......@@ -13,7 +13,7 @@
<t t-foreach="dict_all.keys()" t-as="value">
<t t-set="all_ids" t-value="dict_all[value]"/>
<div class="col-lg-3 col-md-4 col-sm-12">
<a class="sh_title_click_all custom" href="#" t-att-data-res_ids="all_ids">
<a class="sh_title_click_all custom" href="#" t-att-data-res_ids="all_ids or []">
<div class="card card_1 custom-card" href="#">
<div class="sh-card-body dash1 badge-info" style="background-color: #445ee9;">
<div class="media">
......@@ -35,7 +35,7 @@
</t>
<t t-if="data_dict">
<t t-foreach="data_dict.keys()" t-as="value">
<t t-set=" " t-value="data_dict[value][0][0]" />
<t t-set="list_ids" t-value="data_dict[value][0][0]" />
<t t-set="error" t-value="data_dict[value][0][1]" />
<div class="col-lg-3 col-md-4 col-sm-12">
<a class="sh_tile_click custom" href="#" t-att-data-res_ids="list_ids or []">
......@@ -46,7 +46,9 @@
<i class="fa fa-clock-o fs-20 text-white align-self-center mr-3"></i>
<div style="display: inline-block;color: white;">
<h3 class="mt-0" style="color:white;">
<t t-esc="len(list_ids)" />
</h3>
<p>
<span t-esc="value" style="color:white;"/>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment