forked from Agofer/fix_views_14
Compare commits
3 Commits
a81054ba29
...
48c14e142d
| Author | SHA1 | Date | |
|---|---|---|---|
| 48c14e142d | |||
| 51936cde2c | |||
| 067d66a991 |
@ -300,6 +300,11 @@
|
|||||||
<tbody class="invoice_tbody">
|
<tbody class="invoice_tbody">
|
||||||
<t t-set="barras" />
|
<t t-set="barras" />
|
||||||
<t t-set="current_subtotal" t-value="0"/>
|
<t t-set="current_subtotal" t-value="0"/>
|
||||||
|
<!-- Informational message about non-conforming products -->
|
||||||
|
<t t-set="no_conforming" t-value="False"/>
|
||||||
|
<t t-if="o.picking_id and o.picking_id.display_name and (o.picking_id.display_name[3:5] == '04' or o.picking_id.display_name[3:5] == '1B' or o.picking_id.display_name[3:5] == '15')" class="card-header p-1" >
|
||||||
|
<t t-set="no_conforming" t-value="True" />
|
||||||
|
</t>
|
||||||
<t t-set="lines" t-value="o.invoice_line_ids.sorted(key=lambda l: (-l.sequence, l.date, l.move_name, -l.id), reverse=True)"/>
|
<t t-set="lines" t-value="o.invoice_line_ids.sorted(key=lambda l: (-l.sequence, l.date, l.move_name, -l.id), reverse=True)"/>
|
||||||
|
|
||||||
<t t-foreach="lines" t-as="line">
|
<t t-foreach="lines" t-as="line">
|
||||||
@ -325,6 +330,9 @@
|
|||||||
<i class="fa fa-tag"></i>
|
<i class="fa fa-tag"></i>
|
||||||
<t t-set="barras" t-value="True" />
|
<t t-set="barras" t-value="True" />
|
||||||
</t>
|
</t>
|
||||||
|
<t t-if="no_conforming">
|
||||||
|
<i class="fa fa-exclamation"></i>
|
||||||
|
</t>
|
||||||
</td>
|
</td>
|
||||||
<td class="text-right">
|
<td class="text-right">
|
||||||
<span t-field="line.quantity"/>
|
<span t-field="line.quantity"/>
|
||||||
@ -416,6 +424,19 @@
|
|||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
<!-- Informational message about non-conforming products -->
|
||||||
|
<div class="card">
|
||||||
|
<div t-if="no_conforming">
|
||||||
|
<h4 class="card-title">
|
||||||
|
<i class="fa fa-exclamation"></i>
|
||||||
|
Estimado cliente, es importante que tenga en cuenta que el producto que está
|
||||||
|
adquiriendo ha sido catalogado por nuestra área de calidad como no conforme,
|
||||||
|
ya que presenta uno o más defectos según la norma de fabricación correspondiente.
|
||||||
|
Por lo anterior, Agofer no recibirá ningún tipo de queja o reclamación asociada
|
||||||
|
al mismo ni entregará certificado de calidad.
|
||||||
|
</h4>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div t-attf-class="#{'col-4' if report_type != 'html' else 'col-sm-7 col-md-6'}">
|
<div t-attf-class="#{'col-4' if report_type != 'html' else 'col-sm-7 col-md-6'}">
|
||||||
<table class="table table-sm">
|
<table class="table table-sm">
|
||||||
@ -707,4 +728,4 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</t>
|
</t>
|
||||||
</t>
|
</t>
|
||||||
Loading…
Reference in New Issue
Block a user