Skip to content

Commit

Permalink
Merge 6e0ca47 into 6728cda
Browse files Browse the repository at this point in the history
  • Loading branch information
rubencr7 committed Apr 18, 2019
2 parents 6728cda + 6e0ca47 commit 1781659
Show file tree
Hide file tree
Showing 2 changed files with 46 additions and 46 deletions.
60 changes: 30 additions & 30 deletions l10n_es_aeat_mod349/report/aeat_mod349.xml
Expand Up @@ -4,46 +4,46 @@
<template id="l10n_es_aeat_mod349.report_aeat_mod349_document">
<t t-call="web.external_layout">
<div class="page">
<div class="row">
<div class="oe_structure"/>

<div class="row mb32">
<div class="col-xs-12 text-center" id="title">
<h4>Form 349. Information Return. Recapitulatory
return of intracommunity transactions.</h4>
</div>
<t t-call="l10n_es_aeat_mod349.mod349_summary"/>
<div/>
<newline/>
<div class="col-xs-12"
id="title_partner_records">
</div>

<t t-call="l10n_es_aeat_mod349.mod349_summary"/>

<div class="row mt32 mb32">
<div class="col-xs-12" id="title_partner_records">
<h4>Partner records</h4>
</div>
<div class="col-xs-12"
id="partner_record_detail_div">
<table class="table table-condensed"
id="partner_record_table">
<t t-call="l10n_es_aeat_mod349.mod349_partner_record_head"/>
<tbody>
<tr t-foreach="o.partner_record_ids" t-as="l">
<t t-call="l10n_es_aeat_mod349.mod349_partner_record"/>
</tr>
</tbody>
</table>
</div>
<newline/>
</div>

<table class="table table-sm" id="partner_record_table">
<t t-call="l10n_es_aeat_mod349.mod349_partner_record_head"/>
<tbody>
<tr t-foreach="o.partner_record_ids" t-as="l">
<t t-call="l10n_es_aeat_mod349.mod349_partner_record"/>
</tr>
</tbody>
</table>

<div class="row mt32 mb32">
<div class="col-xs-12" id="title_refund_records">
<h4>Refund records</h4>
</div>
<div class="col-xs-12" id="div_refund_records">
<table class="table table-condensed"
id="partner_refund_table">
<t t-call="l10n_es_aeat_mod349.mod349_partner_refund_head"/>
<tbody>
<tr t-foreach="o.partner_refund_ids" t-as="l">
<t t-call="l10n_es_aeat_mod349.mod349_refund_record"/>
</tr>
</tbody>
</table>
</div>
</div>

<table class="table table-sm" id="partner_refund_table">
<t t-call="l10n_es_aeat_mod349.mod349_partner_refund_head"/>
<tbody>
<tr t-foreach="o.partner_refund_ids" t-as="l">
<t t-call="l10n_es_aeat_mod349.mod349_refund_record"/>
</tr>
</tbody>
</table>
</div>
</t>
</template>
Expand Down
32 changes: 16 additions & 16 deletions l10n_es_aeat_mod349/report/common_templates.xml
Expand Up @@ -3,7 +3,7 @@

<template id="l10n_es_aeat_mod349.mod349_summary">
<div class="col-xs-12 text-left" id="mod349_summary_div">
<table class="detail_table" id="mod349_summary_table">
<table class="detail_table table table-sm" id="mod349_summary_table">
<tbody class="invoice_tbody">
<tr>
<td class="text-left td_detail_table">
Expand Down Expand Up @@ -133,10 +133,10 @@
<template id="l10n_es_aeat_mod349.mod349_partner_record_head">
<thead>
<tr>
<td id="detail_partner_vat">VAT</td>
<td id="detail_partner_name">Company Name</td>
<td id="detail_operation_key">Operation key</td>
<td id="detail_operation_amount">Operation Amount</td>
<th id="detail_partner_vat">VAT</th>
<th id="detail_partner_name">Company Name</th>
<th id="detail_operation_key">Operation key</th>
<th id="detail_operation_amount">Operation Amount</th>
</tr>
</thead>
</template>
Expand All @@ -151,7 +151,7 @@
<td id="data_operation_key">
<span t-field="l.operation_key"/>
</td>
<td id="data_operation_amount">
<td class="text-right" id="data_operation_amount">
<span t-field="l.total_operation_amount"/>
</td>
</template>
Expand All @@ -160,13 +160,13 @@
<template id="l10n_es_aeat_mod349.mod349_partner_refund_head">
<thead>
<tr>
<td id="detail_partner_vat">VAT</td>
<td id="detail_partner_name">Company Name</td>
<td id="detail_operation_key">Operation key</td>
<td id="detail_rectifying_year">Rectifying Year</td>
<td id="detail_rectifying_period">Rectifying Period Type</td>
<td id="detail_rectified_amount">New (Rectified) Amount</td>
<td id="detail_origin_amount">Previously Reported Amount</td>
<th id="detail_partner_vat">VAT</th>
<th id="detail_partner_name">Company Name</th>
<th id="detail_operation_key">Operation key</th>
<th id="detail_rectifying_year">Rectifying Year</th>
<th id="detail_rectifying_period">Rectifying Period Type</th>
<th id="detail_rectified_amount">New (Rectified) Amount</th>
<th id="detail_origin_amount">Previously Reported Amount</th>
</tr>
</thead>
</template>
Expand All @@ -187,12 +187,12 @@
<td id="data_rectifying_period_type">
<span t-field="l.period_type"/>
</td>
<td id="data_operation_amount">
<td class="text-right" id="data_operation_amount">
<span t-field="l.total_operation_amount"/>
</td>
<td id="data_operation_amount">
<td class="text-right" id="data_operation_amount">
<span t-field="l.total_origin_amount"/>
</td>
</template>

</odoo>
</odoo>

0 comments on commit 1781659

Please sign in to comment.