mirror of
https://gitlab.com/sonalarora/tra_backend.git
synced 2025-12-17 10:19:09 +02:00
Format correct for sale order report
This commit is contained in:
@@ -115,7 +115,7 @@
|
||||
</div>
|
||||
<div class="col-2">
|
||||
</div>
|
||||
<div class="col-5 text-right">
|
||||
<div class="col-5">
|
||||
<strong>Shipping Address</strong><br/>
|
||||
<span t-field="o.partner_shipping_id" />
|
||||
<br/>
|
||||
@@ -141,11 +141,11 @@
|
||||
<thead>
|
||||
<tr>
|
||||
<th style="background-color:#3498DB !important;color:#FFF !important;">Description</th>
|
||||
<th class="text-right" style="background-color:#3498DB !important;color:#FFF !important;">Quantity</th>
|
||||
<th class="text-right" style="background-color:#3498DB !important;color:#FFF !important;">Unit Price</th>
|
||||
<th t-if="display_discount" class="text-right" groups="sale.group_discount_per_so_line" style="background-color:#3498DB !important;color:#FFF !important;">Disc.(%)</th>
|
||||
<th class="text-right" style="background-color:#3498DB !important;color:#FFF !important;">Taxes</th>
|
||||
<th class="text-right" style="background-color:#3498DB !important;color:#FFF !important;">Price</th>
|
||||
<th style="background-color:#3498DB !important;color:#FFF !important;">Quantity</th>
|
||||
<th style="background-color:#3498DB !important;color:#FFF !important;">Unit Price</th>
|
||||
<th t-if="display_discount" groups="sale.group_discount_per_so_line" style="background-color:#3498DB !important;color:#FFF !important;">Disc.(%)</th>
|
||||
<th style="background-color:#3498DB !important;color:#FFF !important;">Taxes</th>
|
||||
<th style="background-color:#3498DB !important;color:#FFF !important;">Price</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody class="sale_tbody">
|
||||
@@ -154,20 +154,20 @@
|
||||
<td>
|
||||
<span t-field="l.name" />
|
||||
</td>
|
||||
<td class="text-right">
|
||||
<td>
|
||||
<span t-field="l.product_uom_qty" />
|
||||
<span groups="product.group_uom" t-field="l.product_uom" />
|
||||
</td>
|
||||
<td class="text-right">
|
||||
<td>
|
||||
<span t-field="l.price_unit" />
|
||||
</td>
|
||||
<td t-if="display_discount" class="text-right" groups="sale.group_discount_per_so_line">
|
||||
<span t-field="l.discount" />
|
||||
</td>
|
||||
<td class="text-right">
|
||||
<td>
|
||||
<span t-esc="', '.join(map(lambda x: (x.description or x.name), l.tax_id))" />
|
||||
</td>
|
||||
<td class="text-right">
|
||||
<td>
|
||||
<span t-field="l.price_subtotal" t-field-options='{"widget": "monetary", "display_currency": "doc.pricelist_id.currency_id"}' />
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
Reference in New Issue
Block a user