mirror of
https://gitlab.com/sonalarora/tra_backend.git
synced 2025-12-17 10:19:09 +02:00
invoice report
This commit is contained in:
@@ -104,21 +104,17 @@
|
||||
<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 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 style="background-color:#3498DB !important;color:#FFF !important;">Unit Price
|
||||
</th>
|
||||
<th t-if="display_discount" class="text-right"
|
||||
<th t-if="display_discount"
|
||||
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 style="background-color:#3498DB !important;color:#FFF !important;">Taxes
|
||||
</th>
|
||||
<th class="text-right"
|
||||
style="background-color:#3498DB !important;color:#FFF !important;">Price
|
||||
<th style="background-color:#3498DB !important;color:#FFF !important;">Price
|
||||
</th>
|
||||
</tr>
|
||||
</thead>
|
||||
@@ -127,21 +123,21 @@
|
||||
<td>
|
||||
<span t-field="l.name"/>
|
||||
</td>
|
||||
<td class="text-right">
|
||||
<td>
|
||||
<span t-field="l.quantity"/>
|
||||
<span t-field="l.uom_id" groups="product.group_uom"/>
|
||||
</td>
|
||||
<td class="text-right">
|
||||
<td>
|
||||
<span t-field="l.price_unit"/>
|
||||
</td>
|
||||
<td t-if="display_discount" class="text-right"
|
||||
<td t-if="display_discount"
|
||||
groups="sale.group_discount_per_so_line">
|
||||
<span t-field="l.discount"/>
|
||||
</td>
|
||||
<td>
|
||||
<span t-esc="', '.join(map(lambda x: (x.description or x.name), l.tax_ids))"/>
|
||||
</td>
|
||||
<td class="text-right">
|
||||
<td>
|
||||
<span t-field="l.price_subtotal"
|
||||
t-field-options='{"widget": "monetary", "display_currency": "o.currency_id"}'/>
|
||||
</td>
|
||||
|
||||
@@ -30,12 +30,12 @@
|
||||
</div>
|
||||
<div class="col-4">
|
||||
<span t-if="o.type == 'out_invoice'">
|
||||
<div class="text-right"><strong>D.O.NOS</strong><br/></div>
|
||||
<div class="text-right"><strong>M.R.V NO.</strong><br/></div>
|
||||
<div><strong>D.O.NOS</strong><br/></div>
|
||||
<div><strong>M.R.V NO.</strong><br/></div>
|
||||
</span>
|
||||
<span t-if="o.type == 'out_refund'">
|
||||
<div class="text-right"><strong>Our D.O.NOS</strong><br/></div>
|
||||
<div class="text-right"><strong>Our M.R.V NO.</strong><br/></div>
|
||||
<div><strong>Our D.O.NOS</strong><br/></div>
|
||||
<div><strong>Our M.R.V NO.</strong><br/></div>
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
@@ -58,7 +58,11 @@
|
||||
<th style="background-color:#3498DB !important;color:#FFF">Code</th>
|
||||
</xpath>
|
||||
<xpath expr="//table[@class='table table-sm']/tbody/tr/td[1]" position="before">
|
||||
<td><span t-esc="i"/></td>
|
||||
<t t-set="seq_move" t-value="1"/>
|
||||
<td colspan="2">
|
||||
<t t-esc="seq_move"></t>
|
||||
</td>
|
||||
<t t-set="seq_move" t-value="seq_move+1"/>
|
||||
<td><span t-esc="l.product_id.default_code"/></td>
|
||||
</xpath>
|
||||
<xpath expr="//t[@t-call='web.external_layout']/div/p[last()]" position="after">
|
||||
|
||||
Reference in New Issue
Block a user