Browse Source

[FIX] Remove mention position fisca, signature and note in PDF sale order and invoice

pull/1/head
Ny Zo 2 months ago
parent
commit
780ed353db
  1. 9
      views/report_invoice_template.xml
  2. 21
      views/report_sale_template.xml

9
views/report_invoice_template.xml

@ -397,15 +397,6 @@
</tbody>
</table>
<t t-set="tax_totals" t-value="json.loads(o.tax_totals_json)"/>
<p t-if="o.invoice_payment_term_id" name="payment_term">
<span t-field="o.invoice_payment_term_id.note"/>
</p>
<div t-if="not is_html_empty(o.narration)" name="comment">
<span t-field="o.narration"/>
</div>
</div>
<div>
</div>
</t>

21
views/report_sale_template.xml

@ -124,29 +124,8 @@
</table>
<t t-set="tax_totals" t-value="json.loads(o.tax_totals_json)"/>
<div t-if="o.signature" class="mt32 ml64 mr4" name="signature">
<div class="offset-8">
<strong>Signature</strong>
</div>
<div class="offset-8">
<img t-att-src="image_data_uri(o.signature)" style="max-height: 4cm; max-width: 8cm;"/>
</div>
<div class="offset-8 text-center">
<p t-field="o.signed_by"/>
</div>
</div>
<div class="oe_structure"/>
<p t-field="o.note"/>
<p t-if="not is_html_empty(o.payment_term_id.note)">
<span t-field="o.payment_term_id.note"/>
</p>
<p id="fiscal_position_remark"
t-if="o.fiscal_position_id and not is_html_empty(o.fiscal_position_id.sudo().note)">
<strong>Fiscal Position Remark:</strong>
<span t-field="o.fiscal_position_id.sudo().note"/>
</p>
</div>
</t>
</template>

Loading…
Cancel
Save