Sélectionner une révision Git
account_template.xml
account_template.xml 50,39 Kio
<?xml version="1.0" encoding="utf-8" ?>
<odoo>
<data>
<template id="report_account_document">
<t t-call="acc_account.external_layout_spe">
<t t-set="o" t-value="o.with_context(lang=o.producer_id.lang)" />
<!-- Rapport Facture Surplus-->
<t t-if="o.is_account_buyer">
<div class="page">
<div class="row bloc-header">
<div class="col-4 grey-div ">
<img
t-if="o.producer_id.image_1920"
t-att-src="image_data_uri(o.producer_id.image_1920)"
style="max-height: 80px;"
alt="Logo"
/>
</div>
<div class="col-8 text-right">
<p class="font-weight-bold">
<span>Facture <t t-esc="o.name" /></span><br />
<span>En date du: <span
t-field="o.date"
t-options="{'format': 'dd/MM/yyyy'}"
/>
</span><br />
<t
t-if="o.producer_id.vat"
>TVA Intracommunautaire: <span
t-field="o.producer_id.vat"
/></t>
</p>
</div>
</div>
<div class="row mt32 mb32">
<div class="col-3 ">
</div>
<div class="col-9">
<div class="text-right">
<p>
<span
class="font-weight-bold"
t-field="o.producer_id.name"
/><br />
<span t-field="o.producer_id.street" /><br />
<t t-if="o.producer_id.street2"><span
t-field="o.producer_id.street2"
/><br /></t>
<span t-field="o.producer_id.zip" /> - <span
t-field="o.producer_id.city"
/><br />
</p>
</div>
</div>
</div>
<div class="row mt32 mb32">
<div class="col-12">
<p
>Objet: Facture de production d'énergie renouvelable - Surplus <span
t-field="o.acc_operation_id.name"
/></p>
<table
class="table table-sm "
name="account_line_table"
>
<thead>