Browse Source

[FIX] emc_taxshelter_report: share report and subscription report

pull/68/head
Rémy Taymans 4 years ago
parent
commit
eb3c2603ed
  1. 264
      easy_my_coop_taxshelter_report/reports/tax_shelter_shares_report.xml
  2. 223
      easy_my_coop_taxshelter_report/reports/tax_shelter_subscription_report.xml

264
easy_my_coop_taxshelter_report/reports/tax_shelter_shares_report.xml

@ -1,147 +1,133 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<data>
<template id="tax_shelter_report_shares_document">
<t t-call="web.external_layout">
<div class="page">
<template id="tax_shelter_report_shares_document">
<t t-call="web.external_layout">
<t t-set="address">
<address t-field="o.partner_id" t-options='{"widget": "contact", "fields": ["address", "name"], "no_marker": True}' />
<div t-if="o.partner_id.cooperator_register_number">
Numéro de coopérateur : <span t-field="o.partner_id.cooperator_register_number"/>
</div>
</t>
<div class="page mt32" style="font-size: 10px !important;">
<div class="row">
<div class="col-sm-5 col-sm-offset-7 easymy-coop-address" style="margin-top:100px;">
<strong><span t-field="o.partner_id.name" /><br/></strong>
<span> numéro de coopérateur </span>
<span t-field="o.partner_id.cooperator_register_number"></span><br/><br/>
<span t-field="o.partner_id.street" /><br/>
<span>
<span t-field="o.partner_id.zip"/>
<span t-field="o.partner_id.city"/>
</span><br/>
<span t-field="o.partner_id.country_id.name" /><br/>
</div>
</div>
<h2 style="font-size: 3em;">
<span>Déclaration Tax Shelter</span><br/>
<small>Attestation concernant une des quatre années suivant l’acquisition de parts</small>
</h2>
<h2>
<div>
<span>Déclaration Tax Shelter - Attestation concernant une des quatre années suivant l’acquisition de parts</span>
</div>
<div/>
</h2>
<p>
Cher membre,
</p>
<div class="row">
<div class="col-sm-12 pull-left">
<div>
Cher membre,
</div>
<div>
A la date du <span t-field="o.partner_id.effective_date"/>, vous êtes devenu coopérateur de <span t-field="o.company_id.name"/>.<br/>
<br/>
Cette lettre confirme qu’en date du <span t-field="o.declaration_id.date_to"/>, vous êtes toujours en possession de parts de <span t-field="o.company_id.name"/>
pour un montant total de <span t-field="o.partner_id.total_value" t-field-options='{"widget": "monetary", "display_currency": "res_company.currency_id"}'/> euros et que la condition prévue à l’article 145(26), $3, alinéa 2, CIR92 est remplie.
</div>
<div>
<table class="table border-easymy-coop">
<thead class="invoice_tbody easymy-coop-normal">
<tr>
<th>Type</th>
<th>Capital before</th>
<th>Capital after</th>
<th>Tax shelter eligible</th>
<th>Date</th>
<th>Amount</th>
<th>Amount ligible</th>
</tr>
</thead>
<tbody class="invoice_tbody easymy-coop-normal">
<tr t-foreach="o.previously_subscribed_lines" t-as="l">
<td><span t-field="l.type"/></td>
<td><span t-field="l.capital_before_sub"/></td>
<td><span t-field="l.capital_after_sub"/></td>
<td><span t-field="l.tax_shelter"/></td>
<td><span t-field="l.transaction_date"/></td>
<td><span t-field="l.amount_subscribed"/></td>
<td><span t-field="l.amount_subscribed_eligible"/></td>
</tr>
<tr t-foreach="o.subscribed_lines" t-as="l">
<td><span t-field="l.type"/></td>
<td><span t-field="l.capital_before_sub"/></td>
<td><span t-field="l.capital_after_sub"/></td>
<td><span t-field="l.tax_shelter"/></td>
<td><span t-field="l.transaction_date"/></td>
<td><span t-field="l.amount_subscribed"/></td>
<td><span t-field="l.amount_subscribed_eligible"/></td>
</tr>
<tr t-foreach="o.resold_lines" t-as="l">
<td><span t-field="l.type"/></td>
<td></td>
<td></td>
<td></td>
<td><span t-field="l.transaction_date"/></td>
<td><span t-field="l.amount_resold"/></td>
<td></td>
</tr>
<tr t-foreach="o.transfered_lines" t-as="l">
<td><span t-field="l.type"/></td>
<td></td>
<td></td>
<td></td>
<td><span t-field="l.transaction_date"/></td>
<td><span t-field="l.amount_transfered"/></td>
<td></td>
</tr>
</tbody>
</table>
<div>
L' Article 145/26, CIR 92 sur les revenus <span t-field="o.declaration_id.fiscal_year"/>, connu aussi comme normative Tax Shelter, donnent droit à une réduction d’impôt à hauteur de &#160;<span t-field="o.declaration_id.tax_shelter_percentage"/> du montant de la valeur des parts souscrites depuis <span t-field="o.declaration_id.month_from"/> (et avant <span t-field="o.declaration_id.month_to"/> pour la déclaration des revenus &#160;<span t-field="o.declaration_id.fiscal_year"/>).<br/>
<br/>
Cette lettre vaut donc comme certificat que <span t-field="o.company_id.name"/> remplit en effet tous les critères permettant un tel avantage fiscal. Dans les grandes lignes : <br/>
<br/>
être une micro-entreprise qui répond à au moins deux des trois critères suivants : <br/><br/>
- le total du bilan est inférieur ou égal à 350.000 euros ; <br/>
- le chiffre d’affaires, hors taxe sur la valeur ajoutée, est inférieur ou égal à 700.000 euros ; <br/>
- la moyenne des travailleurs occupés pendant l’année est inférieure ou égale à 10. <br/>
<br/>
être une entreprise n’ayant encore jamais distribué de dividende et qui n'est pas issue d’une fusion ou scission de sociétés.<br/><br/>
Le maintien de la réduction d’impôt n’est possible que si l'investisseur conserve les parts de la coopérative pendant 4 ans au minimum, sauf si la sortie est imposée par des conditions extérieures (telles que la faillite, par exemple). En cas de sortie volontaire avant la période de 4 ans, l’avantage fiscal devra être remboursé au prorata du nombre de mois entre la sortie et les 4 ans. La coopérative s’engage à fournir pour chacune des quatre années suivant l’année d’acquisition une attestation certifiant que ces parts sont toujours en possession du souscripteur.<br/><br/>
L’apport de capitaux par le chef d’entreprise lui-même ou par des administrateurs existants de la société ne permet pas de bénéficier du tax shelter.<br/>
<br/>
Pour bénéficier de la réduction d’impôts, vous pouvez joindre cette lettre à votre déclaration fiscale pour les revenus <span t-field="o.declaration_id.fiscal_year"/>.<br/>
<br/>
<![CDATA[
Pour toute information complémentaire, consultez le texte de <a href="http://ccff02.minfin.fgov.be/KMWeb/document.do?method=view&id=e5996d67-4f3e-4465-b21e-7e59d968a55d">l’Arrêté Royale en ligne</a>.<br/>
]]>
<br/>
Cordialement,
</div>
</div>
<div class="col-sm-6 pull-left">
<div>
Pour le Conseil d'administration de <span t-field="o.company_id.name"/>.
</div>
<div>
<strong><span t-field="o.company_id.board_representative"/></strong>
</div>
<div>
<img t-if="o.company_id.signature_scan"
t-attf-class="mt16 w-50"
t-attf-style="{{ 'min-width: 100px; max-width: 250px' if report_type == 'pdf' else '' }}"
t-att-src="'data:image/png;base64,%s' % o.company_id.signature_scan.decode()"/>
</div>
</div>
</div>
</div>
</div>
</t>
</template>
<p>
A la date du <span t-field="o.partner_id.effective_date"/>, vous êtes devenu coopérateur de <span t-field="o.company_id.name"/>.
</p>
<template id="tax_shelter_shares_report">
<t t-call="web.html_container">
<t t-set="data_report_margin_top" t-value="10"/>
<t t-set="data_report_header_spacing" t-value="5"/>
<t t-set="data_report_dpi" t-value="110"/>
<p>
Cette lettre confirme qu’en date du <span t-field="o.declaration_id.date_to"/>, vous êtes toujours en possession de parts de <span t-field="o.company_id.name"/>
pour un montant total de <span t-field="o.partner_id.total_value" t-field-options='{"widget": "monetary", "display_currency": "res_company.currency_id"}'/> euros et que la condition prévue à l’article 145(26), $3, alinéa 2, CIR92 est remplie.
</p>
<t t-foreach="docs" t-as="o">
<t t-call="easy_my_coop_taxshelter_report.tax_shelter_report_shares_document" t-lang="o.partner_id.lang"/>
</t>
</t>
</template>
</data>
<table class="table table-sm o_main_table" name="taxshelter_line_table">
<thead>
<tr>
<th>Type</th>
<th>Capital before</th>
<th>Capital after</th>
<th>Tax shelter eligible</th>
<th>Date</th>
<th>Amount</th>
<th>Amount ligible</th>
</tr>
</thead>
<tbody class="invoice_tbody">
<tr t-foreach="o.previously_subscribed_lines" t-as="l">
<td><span t-field="l.type"/></td>
<td><span t-field="l.capital_before_sub"/></td>
<td><span t-field="l.capital_after_sub"/></td>
<td><span t-if="l.tax_shelter">Oui</span><span t-else="">Non</span></td>
<td><span t-field="l.transaction_date"/></td>
<td><span t-field="l.amount_subscribed"/></td>
<td><span t-field="l.amount_subscribed_eligible"/></td>
</tr>
<tr t-foreach="o.subscribed_lines" t-as="l">
<td><span t-field="l.type"/></td>
<td><span t-field="l.capital_before_sub"/></td>
<td><span t-field="l.capital_after_sub"/></td>
<td><span t-if="l.tax_shelter">Oui</span><span t-else="">Non</span></td>
<td><span t-field="l.transaction_date"/></td>
<td><span t-field="l.amount_subscribed"/></td>
<td><span t-field="l.amount_subscribed_eligible"/></td>
</tr>
<tr t-foreach="o.resold_lines" t-as="l">
<td><span t-field="l.type"/></td>
<td></td>
<td></td>
<td></td>
<td><span t-field="l.transaction_date"/></td>
<td><span t-field="l.amount_resold"/></td>
<td></td>
</tr>
<tr t-foreach="o.transfered_lines" t-as="l">
<td><span t-field="l.type"/></td>
<td></td>
<td></td>
<td></td>
<td><span t-field="l.transaction_date"/></td>
<td><span t-field="l.amount_transfered"/></td>
<td></td>
</tr>
</tbody>
</table>
<p>
L' Article 145/26, CIR 92 sur les revenus <span t-field="o.declaration_id.fiscal_year"/>, connu aussi comme normative Tax Shelter, donnent droit à une réduction d’impôt à hauteur de &#160;<span t-field="o.declaration_id.tax_shelter_percentage"/> du montant de la valeur des parts souscrites depuis <span t-field="o.declaration_id.month_from"/> (et avant <span t-field="o.declaration_id.month_to"/> pour la déclaration des revenus &#160;<span t-field="o.declaration_id.fiscal_year"/>).
</p>
<p>
Cette lettre vaut donc comme certificat que <span t-field="o.company_id.name"/> remplit en effet tous les critères permettant un tel avantage fiscal. Dans les grandes lignes il faut être une micro-entreprise n’ayant encore jamais distribué de dividende et qui n'est pas issue d’une fusion ou scission de sociétés et qui répond à au moins deux des trois critères suivants :
<ul>
<li>le total du bilan est inférieur ou égal à 350.000 euros ;</li>
<li>le chiffre d’affaires, hors taxe sur la valeur ajoutée, est inférieur ou égal à 700.000 euros ;</li>
<li>la moyenne des travailleurs occupés pendant l’année est inférieure ou égale à 10.</li>
</ul>
</p>
<p>
Le maintien de la réduction d’impôt n’est possible que si l'investisseur conserve les parts de la coopérative pendant 4 ans au minimum, sauf si la sortie est imposée par des conditions extérieures (telles que la faillite, par exemple). En cas de sortie volontaire avant la période de 4 ans, l’avantage fiscal devra être remboursé au prorata du nombre de mois entre la sortie et les 4 ans. La coopérative s’engage à fournir pour chacune des quatre années suivant l’année d’acquisition une attestation certifiant que ces parts sont toujours en possession du souscripteur.
</p>
<p>
L’apport de capitaux par le chef d’entreprise lui-même ou par des administrateurs existants de la société ne permet pas de bénéficier du tax shelter.
</p>
<p>
Pour bénéficier de la réduction d’impôts, vous pouvez joindre cette lettre à votre déclaration fiscale pour les revenus <span t-field="o.declaration_id.fiscal_year"/>.
</p>
<p>
Pour toute information complémentaire, consultez le texte de l’Arrêté Royale.
</p>
<p>
Pour le Conseil d'administration de <span t-field="o.company_id.name"/>,<br/>
<strong t-field="o.company_id.board_representative"/><br/>
<img t-if="o.company_id.signature_scan"
t-attf-class="mt16"
t-attf-style="{{ 'min-height: 50px; max-height: 100px' if report_type == 'pdf' else '' }}"
t-att-src="'data:image/png;base64,%s' % o.company_id.signature_scan.decode()"
/>
</p>
</div>
</t>
</template>
<template id="tax_shelter_shares_report">
<t t-call="web.html_container">
<t t-foreach="docs" t-as="o">
<t t-call="easy_my_coop_taxshelter_report.tax_shelter_report_shares_document" t-lang="o.partner_id.lang"/>
</t>
</t>
</template>
</odoo>

223
easy_my_coop_taxshelter_report/reports/tax_shelter_subscription_report.xml

@ -1,127 +1,110 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<data>
<template id="tax_shelter_report_subscription_document">
<t t-call="web.external_layout">
<div class="page mt32">
<div class="row">
<div class="col-sm-5 col-sm-offset-7 easymy-coop-address" style="margin-top:100px;">
<strong><span t-field="o.partner_id.name" /><br/></strong>
<span> numéro de coopérateur </span>
<span t-field="o.partner_id.cooperator_register_number"></span><br/><br/>
<span t-field="o.partner_id.street" /><br/>
<span>
<span t-field="o.partner_id.zip"/>
<span t-field="o.partner_id.city"/>
</span><br/>
<span t-field="o.partner_id.country_id.name" /><br/>
</div>
</div>
<template id="tax_shelter_report_subscription_document">
<t t-call="web.external_layout">
<t t-set="address">
<address t-field="o.partner_id" t-options='{"widget": "contact", "fields": ["address", "name"], "no_marker": True}' />
<div t-if="o.partner_id.cooperator_register_number">
Numéro de coopérateur : <span t-field="o.partner_id.cooperator_register_number"/>
</div>
</t>
<div class="page mt32" style="font-size: 10px !important;">
<h2>
<div>
<span>Déclaration Tax Shelter</span>
</div>
<div/>
</h2>
<h2 style="font-size: 3em;">
<span>Déclaration Tax Shelter</span>
</h2>
<div class="row">
<div class="col-sm-12 pull-left">
<div>
Cher membre,
</div>
<div>
Durant l'année <span t-field="o.declaration_id.fiscal_year"/> vous avez souscrit des parts de la <span t-field="o.company_id.name"/>. pour un montant total de
<span t-field="o.total_amount_subscribed" t-field-options='{"widget": "monetary", "display_currency": "res_company.currency_id"}'/> euros.<br/>
Le montant éligible pour le Tax shelter est de <span t-field="o.total_amount_eligible" t-field-options='{"widget": "monetary", "display_currency": "res_company.currency_id"}'/> euros.<br/>
</div>
<div>
<table class="table border-easymy-coop">
<thead class="invoice_tbody easymy-coop-normal">
<tr>
<th>Type</th>
<th>Capital before</th>
<th>Capital after</th>
<th>Tax shelter eligible</th>
<th>Date</th>
<th>Amount</th>
<th>Amount ligible</th>
</tr>
</thead>
<tbody class="invoice_tbody easymy-coop-normal">
<tr t-foreach="o.previously_subscribed_lines" t-as="l">
<td><span t-field="l.type"/></td>
<td><span t-field="l.capital_before_sub"/></td>
<td><span t-field="l.capital_after_sub"/></td>
<td><span t-field="l.tax_shelter"/></td>
<td><span t-field="l.transaction_date"/></td>
<td><span t-field="l.amount_subscribed"/></td>
<td><span t-field="l.amount_subscribed_eligible"/></td>
</tr>
<tr t-foreach="o.subscribed_lines" t-as="l">
<td><span t-field="l.type"/></td>
<td><span t-field="l.capital_before_sub"/></td>
<td><span t-field="l.capital_after_sub"/></td>
<td><span t-field="l.tax_shelter"/></td>
<td><span t-field="l.transaction_date"/></td>
<td><span t-field="l.amount_subscribed"/></td>
<td><span t-field="l.amount_subscribed_eligible"/></td>
</tr>
</tbody>
</table>
<div>
L' Article 145/26, CIR 92 sur les revenus <span t-field="o.declaration_id.fiscal_year"/>, connu aussi comme normative Tax Shelter, donnent droit à une réduction d’impôt à hauteur de &#160; <span t-field="o.declaration_id.tax_shelter_percentage"/> du montant de la valeur des parts souscrites depuis <span t-field="o.declaration_id.month_from"/> (et avant <span t-field="o.declaration_id.month_to"/> pour la déclaration des revenus &#160;<span t-field="o.declaration_id.name"/>).<br/>
<br/>
Cette lettre vaut donc comme certificat que <span t-field="o.company_id.name"/> remplit en effet tous les critères permettant un tel avantage fiscal. Dans les grandes lignes : <br/>
<br/>
être une micro-entreprise qui répond à au moins deux des trois critères suivants : <br/><br/>
- le total du bilan est inférieur ou égal à 350.000 euros ; <br/>
- le chiffre d’affaires, hors taxe sur la valeur ajoutée, est inférieur ou égal à 700.000 euros ; <br/>
- la moyenne des travailleurs occupés pendant l’année est inférieure ou égale à 10. <br/>
<br/>
être une entreprise n’ayant encore jamais distribué de dividende et qui n'est pas issue d’une fusion ou scission de sociétés.<br/><br/>
Le maintien de la réduction d’impôt n’est possible que si l'investisseur conserve les parts de la coopérative pendant 4 ans au minimum, sauf si la sortie est imposée par des conditions extérieures (telles que la faillite, par exemple). En cas de sortie volontaire avant la période de 4 ans, l’avantage fiscal devra être remboursé au prorata du nombre de mois entre la sortie et les 4 ans. La coopérative s’engage à fournir pour chacune des quatre années suivant l’année d’acquisition une attestation certifiant que ces parts sont toujours en possession du souscripteur.<br/><br/>
L’apport de capitaux par le chef d’entreprise lui-même ou par des administrateurs existants de la société ne permet pas de bénéficier du tax shelter.<br/>
<br/>
Pour bénéficier de la réduction d’impôts, vous pouvez joindre cette lettre à votre déclaration fiscale pour les revenus <span t-field="o.declaration_id.fiscal_year"/>.<br/>
<br/>
<![CDATA[
Pour toute information complémentaire, consultez le texte de <a href="http://ccff02.minfin.fgov.be/KMWeb/document.do?method=view&id=e5996d67-4f3e-4465-b21e-7e59d968a55d">l’Arrêté Royale en ligne</a>.<br/>
]]>
<br/>
Cordialement,
</div>
</div>
<div class="col-sm-10 pull-left">
<div>
Pour le Conseil d'administration de <span t-field="o.company_id.name"/>.
</div>
<div>
<strong><span t-field="o.company_id.board_representative"/></strong>
</div>
<div>
<img t-if="o.company_id.signature_scan"
t-attf-class="mt16 w-50"
t-attf-style="{{ 'min-width: 100px; max-width: 250px' if report_type == 'pdf' else '' }}"
t-att-src="'data:image/png;base64,%s' % o.company_id.signature_scan.decode()"/>
</div>
</div>
</div>
</div>
</div>
</t>
</template>
<p>
Cher membre,
</p>
<template id="tax_shelter_subscription_report">
<t t-call="web.html_container">
<t t-set="data_report_margin_top" t-value="10"/>
<t t-set="data_report_header_spacing" t-value="5"/>
<t t-set="data_report_dpi" t-value="110"/>
<p>
Durant l'année <span t-field="o.declaration_id.fiscal_year"/> vous avez souscrit des parts de la <span t-field="o.company_id.name"/>. pour un montant total de
<span t-field="o.total_amount_subscribed" t-field-options='{"widget": "monetary", "display_currency": "res_company.currency_id"}'/> euros.<br/>
Le montant éligible pour le Tax shelter est de <span t-field="o.total_amount_eligible" t-field-options='{"widget": "monetary", "display_currency": "res_company.currency_id"}'/> euros.<br/>
</p>
<t t-foreach="docs" t-as="o">
<t t-call="easy_my_coop_taxshelter_report.tax_shelter_report_subscription_document" t-lang="o.partner_id.lang"/>
</t>
</t>
</template>
</data>
<table class="table table-sm o_main_table" name="taxshelter_line_table">
<thead>
<tr>
<th>Type</th>
<th>Capital before</th>
<th>Capital after</th>
<th>Tax shelter eligible</th>
<th>Date</th>
<th>Amount</th>
<th>Amount ligible</th>
</tr>
</thead>
<tbody class="invoice_tbody">
<tr t-foreach="o.previously_subscribed_lines" t-as="l">
<td><span t-field="l.type"/></td>
<td><span t-field="l.capital_before_sub"/></td>
<td><span t-field="l.capital_after_sub"/></td>
<td><span t-if="l.tax_shelter">Oui</span><span t-else="">Non</span></td>
<td><span t-field="l.transaction_date"/></td>
<td><span t-field="l.amount_subscribed"/></td>
<td><span t-field="l.amount_subscribed_eligible"/></td>
</tr>
<tr t-foreach="o.subscribed_lines" t-as="l">
<td><span t-field="l.type"/></td>
<td><span t-field="l.capital_before_sub"/></td>
<td><span t-field="l.capital_after_sub"/></td>
<td><span t-if="l.tax_shelter">Oui</span><span t-else="">Non</span></td>
<td><span t-field="l.transaction_date"/></td>
<td><span t-field="l.amount_subscribed"/></td>
<td><span t-field="l.amount_subscribed_eligible"/></td>
</tr>
</tbody>
</table>
<p>
L' Article 145/26, CIR 92 sur les revenus <span t-field="o.declaration_id.fiscal_year"/>, connu aussi comme normative Tax Shelter, donnent droit à une réduction d’impôt à hauteur de &#160;<span t-field="o.declaration_id.tax_shelter_percentage"/> du montant de la valeur des parts souscrites depuis <span t-field="o.declaration_id.month_from"/> (et avant <span t-field="o.declaration_id.month_to"/> pour la déclaration des revenus &#160;<span t-field="o.declaration_id.fiscal_year"/>).
</p>
<p>
Cette lettre vaut donc comme certificat que <span t-field="o.company_id.name"/> remplit en effet tous les critères permettant un tel avantage fiscal. Dans les grandes lignes il faut être une micro-entreprise n’ayant encore jamais distribué de dividende et qui n'est pas issue d’une fusion ou scission de sociétés et qui répond à au moins deux des trois critères suivants :
<ul>
<li>le total du bilan est inférieur ou égal à 350.000 euros ;</li>
<li>le chiffre d’affaires, hors taxe sur la valeur ajoutée, est inférieur ou égal à 700.000 euros ;</li>
<li>la moyenne des travailleurs occupés pendant l’année est inférieure ou égale à 10.</li>
</ul>
</p>
<p>
Le maintien de la réduction d’impôt n’est possible que si l'investisseur conserve les parts de la coopérative pendant 4 ans au minimum, sauf si la sortie est imposée par des conditions extérieures (telles que la faillite, par exemple). En cas de sortie volontaire avant la période de 4 ans, l’avantage fiscal devra être remboursé au prorata du nombre de mois entre la sortie et les 4 ans. La coopérative s’engage à fournir pour chacune des quatre années suivant l’année d’acquisition une attestation certifiant que ces parts sont toujours en possession du souscripteur.
</p>
<p>
L’apport de capitaux par le chef d’entreprise lui-même ou par des administrateurs existants de la société ne permet pas de bénéficier du tax shelter.
</p>
<p>
Pour bénéficier de la réduction d’impôts, vous pouvez joindre cette lettre à votre déclaration fiscale pour les revenus <span t-field="o.declaration_id.fiscal_year"/>.
</p>
<p>
Pour toute information complémentaire, consultez le texte de l’Arrêté Royale.
</p>
<p>
Pour le Conseil d'administration de <span t-field="o.company_id.name"/>,<br/>
<strong t-field="o.company_id.board_representative"/><br/>
<img t-if="o.company_id.signature_scan"
t-attf-class="mt16"
t-attf-style="{{ 'min-height: 50px; max-height: 100px' if report_type == 'pdf' else '' }}"
t-att-src="'data:image/png;base64,%s' % o.company_id.signature_scan.decode()"
/>
</p>
</div>
</t>
</template>
<template id="tax_shelter_subscription_report">
<t t-call="web.html_container">
<t t-foreach="docs" t-as="o">
<t t-call="easy_my_coop_taxshelter_report.tax_shelter_report_subscription_document" t-lang="o.partner_id.lang"/>
</t>
</t>
</template>
</odoo>
Loading…
Cancel
Save