work on sale report

This commit is contained in:
sonal arora
2020-09-15 16:19:38 +05:30
parent d7547fdb42
commit cd5806d6e3

View File

@@ -21,7 +21,7 @@
<div class="page">
<div class="oe_structure"/>
<div class="row">
<div class="col-4" style="font:15px lucida-console,sans-serif !important;">
<div class="col-5" style="font:15px lucida-console,sans-serif !important;">
<span style="background-color:#3498DB;">Customer Address</span>
<br/>
<span t-field="o.partner_id"/>
@@ -39,7 +39,7 @@
<span t-field="o.partner_id.vat"/>
<br/>
</div>
<div class="col-4">
<div class="col-5">
</div>
<div class="col-4" style="font:15px lucida-console,sans-serif !important; ">
<span style="background-color:#3498DB;">Delivery Address</span>
@@ -77,19 +77,13 @@
</div>
</div>
</div>
<div class="row">
<!-- <div class="col-4"/> -->
<div class="col-12"
style="font:15px lucida-console,sans-serif !important; background-color: #3498DB;">
<h2>
<span>
<font color="#fff">Delivery Note #</font>
<div class="col-12" style="font:15px lucida-console,sans-serif !important; background-color: #3498DB;"><h2>
<span><font color="#fff">Delivery Note #</font>
<span style="color:#FFF !important;" t-field="o.name"/>
</span>
<br/>
</span><br/>
</h2>
<div>
</div>
<div class="col-12">
<span>
<font color="#fff">
@@ -115,22 +109,23 @@
</div>
<br/>
<table class="table table-sm" style="padding-top=50px; padding-bottom=50px;" t-if="not o.move_line_ids">
<table class="table" style="padding-top=50px; padding-bottom=50px;" t-if="not o.move_line_ids">
<thead>
<tr>
<th colspan="2" style="background-color:#3498DB !important;color:#FFF !important;">No</th>
<th colspan="2" style="background-color:#3498DB !important;color:#FFF !important;">W/H</th>
<th colspan="2" style="background-color:#3498DB !important;color:#FFF !important;">Code</th>
<th colspan="3" style="background-color:#3498DB !important;color:#FFF !important;">Product</th>
<th colspan="2" style="background-color:#3498DB !important;color:#FFF !important;">Ordered Quantity
</th>
<th colspan="2" style="background-color:#3498DB !important;color:#FFF !important;">Ordered Quantity</th>
</tr>
</thead>
<tbody>
<tr t-foreach="o.move_lines" t-as="move">
<t t-set="seq_move" t-value="1"/>
<tr t-foreach="o.move_line_ids" t-as="move_line">
<td colspan="2">
<!-- <span t-field="move+1"/>-->
<t t-esc="seq_move"></t>
</td>
<t t-set="seq_move" t-value="seq_move+1"/>
<td colspan="2">
</td>
<td colspan="2">