Skip to content
Extraits de code Groupes Projets
Valider 9ad8a203 rédigé par Benjamin - Le Filament's avatar Benjamin - Le Filament
Parcourir les fichiers

[update] remove bordereau refund

parent 73161396
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
...@@ -28,7 +28,6 @@ ...@@ -28,7 +28,6 @@
# Templates # Templates
"templates/report_scop_bordereau.xml", "templates/report_scop_bordereau.xml",
"templates/report_scop_bordereau_payments.xml", "templates/report_scop_bordereau_payments.xml",
"templates/report_scop_bordereau_refund.xml",
"templates/report_union_sociale.xml", "templates/report_union_sociale.xml",
# Views # Views
"views/account_banking_mandate.xml", "views/account_banking_mandate.xml",
......
<?xml version="1.0" encoding="utf-8" ?>
<odoo>
<data>
<template id="report_bordereau_document_refund">
<t t-call="web.external_layout">
<t t-set="o" t-value="o.with_context(lang='fr')" />
<div class="page" style="font-size: 15px;">
<div class="row">
<div class="col-6 offset-6 oe_mt64 oe_mb64">
<span
t-field="o.partner_id.name"
style="text-transform: uppercase; font-weight: 600;"
/><br />
<span t-field="o.partner_id.street" /><br />
<t t-if="o.partner_id.street2"><span
t-field="o.partner_id.street2"
/><br /></t>
<t t-if="o.partner_id.street3"><span
t-field="o.partner_id.street3"
/><br /></t>
<span t-field="o.partner_id.zip" /> <span
t-field="o.partner_id.city"
style="text-transform: uppercase;"
/>
<t t-if="o.partner_id.cedex"> <span
t-field="o.partner_id.cedex"
/></t>
</div>
</div>
<div class="row">
<div class="col-12 text-center">
<h2 style="color: #E5074D;">
Avoir sur Appel de cotisation <span
t-esc="str(o.year)"
/>
</h2>
</div>
</div>
<div class="row">
<div class="col-12 oe_mb16">
<p>
Paris, le <span t-field="o.date_regul" />
</p>
<p>
N° adhérent : <t
t-esc="str(o.partner_id.member_number_int)"
/><br />
Union régionale : <span
t-field="o.partner_ur_id.name"
/><br />
N° Bordereau : <span t-field="o.name" /><t
t-if="o.is_regul"
>-<span t-field="o.version" /></t>
</p>
</div>
</div>
<div class="row">
<div class="col-6" style="border: 1px solid #aaa;">
<div />
<h5
class="mt8"
style="font-weight: 600;"
>Cotisations annuelles</h5>
<p>
<t
t-set="amount_line"
t-value="o.get_contribution_type_refund()"
/>
<table class="table table-sm" style="border: none;">
<tr
t-foreach="amount_line"
t-as="line"
style="border-bottom: 1px solid #ccc;"
>
<td
style="border: none; background: inherit; color: inherit;"
><t
t-esc="line.get('type_contribution_id')[1]"
/></td>
<td
class="text-right"
style="border: none; background: inherit; color: inherit;"
><t
t-esc="line.get('amount_total_signed')"
t-options="{'widget': 'monetary', 'display_currency': o.company_id.currency_id}"
/></td>
</tr>
</table>
</p>
<p>
<table class="table table-sm" style="border: none;">
<tr style="border: none">
<td
style="border: none; background: inherit; color: inherit;"
>
<strong>Total avoir cotisation annuelle <t
t-esc="str(o.year)"
/></strong>
</td>
<td
class="text-right"
style="border: none; background: inherit; color: inherit;"
>
<strong /><span
t-esc="sum(list(map(lambda l: l.get('amount_total_signed'), amount_line)))"
t-options="{'widget': 'monetary', 'display_currency': o.company_id.currency_id}"
/>
</td>
</tr>
</table>
</p>
</div>
<div class="col-6" style="margin-top: 220px;">
<div style="border: 1px solid #aaa; padding: 15px;">
CG Scop <br />
30, rue des Epinettes <br />
75017 PARIS
</div>
</div>
</div>
</div>
</t>
</template>
<template id="report_bordereau_refund">
<t t-call="web.html_container">
<t t-set="docs" t-value="docs.with_context(lang='fr')" />
<t t-foreach="docs" t-as="o">
<t
t-call="cgscop_cotisation_cg.report_bordereau_document_refund"
t-lang="fr"
/>
</t>
</t>
</template>
<!-- QWeb Reports -->
<record id="cgscop_bordereau_report_refund" model="ir.actions.report">
<field name="name">CG Scop - Avoir de Cotisation CG</field>
<field name="model">scop.bordereau</field>
<field name="report_type">qweb-pdf</field>
<field
name="report_name"
>cgscop_cotisation_cg.report_bordereau_refund</field>
<field
name="report_file"
>cgscop_cotisation_cg.report_bordereau_refund</field>
</record>
</data>
</odoo>
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Veuillez vous inscrire ou vous pour commenter