diff --git a/__manifest__.py b/__manifest__.py index 573139b609e4cc01a207a7b7649b088c60e9f004..cc6fe917deae052c890026fee7e849d6b571c24f 100644 --- a/__manifest__.py +++ b/__manifest__.py @@ -28,7 +28,6 @@ # Templates "templates/report_scop_bordereau.xml", "templates/report_scop_bordereau_payments.xml", - "templates/report_scop_bordereau_refund.xml", "templates/report_union_sociale.xml", # Views "views/account_banking_mandate.xml", diff --git a/templates/report_scop_bordereau_refund.xml b/templates/report_scop_bordereau_refund.xml deleted file mode 100644 index 7c475552c031a7a61696a13fe5b8230ddbdbe28c..0000000000000000000000000000000000000000 --- a/templates/report_scop_bordereau_refund.xml +++ /dev/null @@ -1,155 +0,0 @@ -<?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>