|
|
@ -25,7 +25,6 @@ |
|
|
|
<t t-call="account_financial_report.report_open_items_filters"/> |
|
|
|
|
|
|
|
<t t-foreach="Open_Items.keys()" t-as="account_id"> |
|
|
|
<div class="page_break"> |
|
|
|
<!-- Display account header --> |
|
|
|
<div class="act_as_table list_table" style="margin-top: 10px;" /> |
|
|
|
<div class="account_title" |
|
|
@ -34,34 +33,45 @@ |
|
|
|
- |
|
|
|
<span t-esc="accounts_data[account_id]['name']"/> |
|
|
|
</div> |
|
|
|
<t t-if="not show_partner_details"> |
|
|
|
<div class="act_as_table data_table" style="width: 100%;"> |
|
|
|
<t t-call="account_financial_report.report_open_items_lines_header"/> |
|
|
|
|
|
|
|
<!-- Display account move lines --> |
|
|
|
<t t-foreach="Open_Items[account_id]" t-as="line" > |
|
|
|
<t t-call="account_financial_report.report_open_items_lines"/> |
|
|
|
</t> |
|
|
|
</div> |
|
|
|
</t> |
|
|
|
<t t-if="show_partner_details"> |
|
|
|
<div class="page_break"> |
|
|
|
<!-- Display account partners --> |
|
|
|
<t t-foreach="Open_Items[account_id]" t-as="partner_id" > |
|
|
|
<div class="page_break"> |
|
|
|
<!-- Display partner header --> |
|
|
|
<div class="act_as_caption account_title"> |
|
|
|
<span t-esc="partners_data[partner_id]['name']"/> |
|
|
|
</div> |
|
|
|
|
|
|
|
<div class="act_as_table data_table" style="width: 100%;"> |
|
|
|
<!-- Display partner header --> |
|
|
|
<t t-call="account_financial_report.report_open_items_lines_header"/> |
|
|
|
<!-- Display partner move lines --> |
|
|
|
<t t-foreach="Open_Items[account_id][partner_id]" t-as="line" > |
|
|
|
<t t-call="account_financial_report.report_open_items_lines"/> |
|
|
|
|
|
|
|
<!-- Display partner footer --> |
|
|
|
</t> |
|
|
|
</div> |
|
|
|
<t t-call="account_financial_report.report_open_items_ending_cumul"> |
|
|
|
<t t-set="account_or_partner_id" t-value="partners_data[partner_id]"/> |
|
|
|
<t t-set="currency_id" t-value="accounts_data[account_id]['currency_name']"/> |
|
|
|
<t t-set="type" t-value='"partner_type"'/> |
|
|
|
</t> |
|
|
|
</t> |
|
|
|
</div> |
|
|
|
</t> |
|
|
|
|
|
|
|
<!-- Display account footer --> |
|
|
|
<t t-call="account_financial_report.report_open_items_ending_cumul"> |
|
|
|
<t t-set="account_or_partner_id" t-value="accounts_data[account_id]"/> |
|
|
|
<t t-set="currency_id" t-value="accounts_data[account_id]['currency_name']"/> |
|
|
|
<t t-set="type" t-value='"account_type"'/> |
|
|
|
</t> |
|
|
|
</div> |
|
|
|
</t> |
|
|
|
</div> |
|
|
|
</template> |
|
|
@ -89,8 +99,7 @@ |
|
|
|
</div> |
|
|
|
</template> |
|
|
|
|
|
|
|
<template id="account_financial_report.report_open_items_lines"> |
|
|
|
<div class="act_as_table data_table" style="width: 100%;"> |
|
|
|
<template id="account_financial_report.report_open_items_lines_header"> |
|
|
|
<!-- Display table headers for lines --> |
|
|
|
<div class="act_as_thead"> |
|
|
|
<div class="act_as_row labels"> |
|
|
@ -127,9 +136,9 @@ |
|
|
|
</t> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</template> |
|
|
|
|
|
|
|
<!-- Display each lines --> |
|
|
|
<t t-foreach="Open_Items[account_id][partner_id]" t-as="line" > |
|
|
|
<template id="account_financial_report.report_open_items_lines"> |
|
|
|
<!-- # lines or centralized lines --> |
|
|
|
<div class="act_as_row lines"> |
|
|
|
<!--## date--> |
|
|
@ -202,8 +211,6 @@ |
|
|
|
</t> |
|
|
|
</t> |
|
|
|
</div> |
|
|
|
</t> |
|
|
|
</div> |
|
|
|
</template> |
|
|
|
|
|
|
|
<template id="account_financial_report.report_open_items_ending_cumul"> |
|
|
|