work on sale report

This commit is contained in:
sonal arora
2020-09-15 11:43:15 +05:30
parent f0763165ec
commit 14fb3d9590

View File

@@ -13,24 +13,6 @@
<div class="col-12"> <div class="col-12">
<font color="#fff"><img t-att-src="'data:image/png;base64,%s' % to_text(company.logo)" style="max-height: 250px;"/></font> <font color="#fff"><img t-att-src="'data:image/png;base64,%s' % to_text(company.logo)" style="max-height: 250px;"/></font>
</div> </div>
<!-- <div class="col-6">
<img t-if="company.logo" t-att-src="'data:image/png;base64,%s' % to_text(company.logo)"
style="max-height: 50px;"/>
</div>
<div class="col-6 text-right" style="font:12px lucida-console,sans-serif !important;">
<span t-field="company.partner_id"/>
<br/>
<span t-field="company.partner_id.street"/>
<br/>
<span t-field="company.partner_id.street2"/>
<br/>
<span t-field="company.partner_id.city"/>
<br/>
<span t-field="company.partner_id.country_id"/>
<br/>
<span t-field="company.partner_id.vat"/>
<br/>
</div> -->
</div> </div>
</div> </div>
@@ -59,7 +41,6 @@
</div> </div>
<div class="col-4"> <div class="col-4">
</div> </div>
<div class="col-4" style="font:15px lucida-console,sans-serif !important; "> <div class="col-4" style="font:15px lucida-console,sans-serif !important; ">
<span style="background-color:#3498DB;">Delivery Address</span> <span style="background-color:#3498DB;">Delivery Address</span>
<div t-if="o.move_lines and o.move_lines[0].partner_id and o.move_lines[0].partner_id.id != o.partner_id.id"> <div t-if="o.move_lines and o.move_lines[0].partner_id and o.move_lines[0].partner_id.id != o.partner_id.id">
@@ -109,7 +90,6 @@
<br/> <br/>
</h2> </h2>
<div> <div>
<div class="col-12"> <div class="col-12">
<span> <span>
<font color="#fff"> <font color="#fff">
@@ -129,8 +109,6 @@
</div> </div>
</font> </font>
</span> </span>
</div> </div>
</div> </div>
</div> </div>
@@ -146,12 +124,12 @@
<th colspan="3" style="background-color:#3498DB !important;color:#FFF !important;">Product</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 colspan="2" style="background-color:#3498DB !important;color:#FFF !important;">Ordered Quantity
</th> </th>
</tr> </tr>
</thead> </thead>
<tbody> <tbody>
<tr t-foreach="o.move_lines" t-as="move"> <tr t-foreach="o.move_lines" t-as="move">
<td colspan="2"> <td colspan="2">
<span t-field="move+1"/>
</td> </td>
<td colspan="2"> <td colspan="2">
</td> </td>
@@ -166,8 +144,6 @@
<span t-field="move.product_qty"/> <span t-field="move.product_qty"/>
<span t-field="move.product_uom"/> <span t-field="move.product_uom"/>
</td> </td>
</tr> </tr>
<tr rowspan="2"> <tr rowspan="2">
<td colspan="6">Transport</td> <td colspan="6">Transport</td>