|
@@ -187,14 +187,19 @@
|
|
text-align: center;
|
|
text-align: center;
|
|
}
|
|
}
|
|
.art-col2{
|
|
.art-col2{
|
|
|
|
+ padding-left: 0.8cm;
|
|
|
|
+ width:1cm;
|
|
|
|
+ text-align: center;
|
|
|
|
+ }
|
|
|
|
+ .art-col3{
|
|
padding-left: 0.3cm;
|
|
padding-left: 0.3cm;
|
|
width:9cm;
|
|
width:9cm;
|
|
}
|
|
}
|
|
- .art-col3{
|
|
|
|
|
|
+ .art-col4{
|
|
width:2.8cm;
|
|
width:2.8cm;
|
|
text-align: right;
|
|
text-align: right;
|
|
}
|
|
}
|
|
- .art-col4{
|
|
|
|
|
|
+ .art-col5{
|
|
width:2.7cm;
|
|
width:2.7cm;
|
|
text-align: right;
|
|
text-align: right;
|
|
}
|
|
}
|
|
@@ -287,21 +292,25 @@
|
|
<table class="table table-condensed table-bordered">
|
|
<table class="table table-condensed table-bordered">
|
|
<thead>
|
|
<thead>
|
|
<tr>
|
|
<tr>
|
|
- <th class="art-col1">Cantidad</th>
|
|
|
|
- <th class="art-col2">Descripción</th>
|
|
|
|
- <th class="art-col3">Prec. Unitario</th>
|
|
|
|
- <th class="art-col4">Sub Total</th>
|
|
|
|
|
|
+ <th class="art-col1">Código</th>
|
|
|
|
+ <th class="art-col2">Cantidad</th>
|
|
|
|
+ <th class="art-col3">Descripción</th>
|
|
|
|
+ <th class="art-col4">Prec. Unitario</th>
|
|
|
|
+ <th class="art-col5">Sub Total</th>
|
|
</tr>
|
|
</tr>
|
|
</thead>
|
|
</thead>
|
|
<tbody class="sale_tbody">
|
|
<tbody class="sale_tbody">
|
|
<tr t-foreach="o.order_line" t-as="l">
|
|
<tr t-foreach="o.order_line" t-as="l">
|
|
<td class="art-col1">
|
|
<td class="art-col1">
|
|
- <span t-esc="'%.0f'%l.product_uom_qty"/>
|
|
|
|
|
|
+ <span t-field="l.product_id.default_code"/>
|
|
</td>
|
|
</td>
|
|
<td class="art-col2">
|
|
<td class="art-col2">
|
|
- <span t-field="l.product_id.name"/>
|
|
|
|
|
|
+ <span t-esc="'%.0f'%l.product_uom_qty"/>
|
|
</td>
|
|
</td>
|
|
<td class="art-col3">
|
|
<td class="art-col3">
|
|
|
|
+ <span t-field="l.product_id.name"/>
|
|
|
|
+ </td>
|
|
|
|
+ <td class="art-col4">
|
|
<t t-if="o.currency_id.id == 166">
|
|
<t t-if="o.currency_id.id == 166">
|
|
<span t-esc="'{0:,.0f}'.format(l.price_unit)"/>
|
|
<span t-esc="'{0:,.0f}'.format(l.price_unit)"/>
|
|
</t>
|
|
</t>
|
|
@@ -310,7 +319,7 @@
|
|
</t>
|
|
</t>
|
|
</td>
|
|
</td>
|
|
|
|
|
|
- <td class="art-col4">
|
|
|
|
|
|
+ <td class="art-col5">
|
|
<t t-if="o.currency_id.id == 166">
|
|
<t t-if="o.currency_id.id == 166">
|
|
<span t-esc="'{0:,.0f}'.format(l.price_unit*l.product_uom_qty)"/>
|
|
<span t-esc="'{0:,.0f}'.format(l.price_unit*l.product_uom_qty)"/>
|
|
</t>
|
|
</t>
|