|
@ -28,7 +28,6 @@ |
|
|
<!-- Display filters --> |
|
|
<!-- Display filters --> |
|
|
<t t-call="account_financial_report.report_open_items_filters" /> |
|
|
<t t-call="account_financial_report.report_open_items_filters" /> |
|
|
<t t-foreach="Open_Items.keys()" t-as="account_id"> |
|
|
<t t-foreach="Open_Items.keys()" t-as="account_id"> |
|
|
<div class="page_break"> |
|
|
|
|
|
<!-- Display account header --> |
|
|
<!-- Display account header --> |
|
|
<div class="act_as_table list_table" style="margin-top: 10px;" /> |
|
|
<div class="act_as_table list_table" style="margin-top: 10px;" /> |
|
|
<div class="account_title" style="width: 100%;"> |
|
|
<div class="account_title" style="width: 100%;"> |
|
@ -36,18 +35,41 @@ |
|
|
- |
|
|
- |
|
|
<span t-esc="accounts_data[account_id]['name']" /> |
|
|
<span t-esc="accounts_data[account_id]['name']" /> |
|
|
</div> |
|
|
</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 --> |
|
|
<!-- Display account partners --> |
|
|
<t t-foreach="Open_Items[account_id]" t-as="partner_id"> |
|
|
<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"> |
|
|
<div class="act_as_caption account_title"> |
|
|
<span t-esc="partners_data[partner_id]['name']" /> |
|
|
<span t-esc="partners_data[partner_id]['name']" /> |
|
|
</div> |
|
|
</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 --> |
|
|
<!-- Display partner move lines --> |
|
|
|
|
|
<t |
|
|
|
|
|
t-foreach="Open_Items[account_id][partner_id]" |
|
|
|
|
|
t-as="line" |
|
|
|
|
|
> |
|
|
<t |
|
|
<t |
|
|
t-call="account_financial_report.report_open_items_lines" |
|
|
t-call="account_financial_report.report_open_items_lines" |
|
|
/> |
|
|
/> |
|
|
<!-- Display partner footer --> |
|
|
|
|
|
|
|
|
</t> |
|
|
|
|
|
</div> |
|
|
<t |
|
|
<t |
|
|
t-call="account_financial_report.report_open_items_ending_cumul" |
|
|
t-call="account_financial_report.report_open_items_ending_cumul" |
|
|
> |
|
|
> |
|
@ -61,6 +83,7 @@ |
|
|
/> |
|
|
/> |
|
|
<t t-set="type" t-value='"partner_type"' /> |
|
|
<t t-set="type" t-value='"partner_type"' /> |
|
|
</t> |
|
|
</t> |
|
|
|
|
|
</t> |
|
|
</div> |
|
|
</div> |
|
|
</t> |
|
|
</t> |
|
|
<!-- Display account footer --> |
|
|
<!-- Display account footer --> |
|
@ -75,7 +98,6 @@ |
|
|
/> |
|
|
/> |
|
|
<t t-set="type" t-value='"account_type"' /> |
|
|
<t t-set="type" t-value='"account_type"' /> |
|
|
</t> |
|
|
</t> |
|
|
</div> |
|
|
|
|
|
</t> |
|
|
</t> |
|
|
</div> |
|
|
</div> |
|
|
</template> |
|
|
</template> |
|
@ -101,8 +123,7 @@ |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
</template> |
|
|
</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 --> |
|
|
<!-- Display table headers for lines --> |
|
|
<div class="act_as_thead"> |
|
|
<div class="act_as_thead"> |
|
|
<div class="act_as_row labels"> |
|
|
<div class="act_as_row labels"> |
|
@ -145,8 +166,8 @@ |
|
|
</t> |
|
|
</t> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
<!-- Display each lines --> |
|
|
|
|
|
<t t-foreach="Open_Items[account_id][partner_id]" t-as="line"> |
|
|
|
|
|
|
|
|
</template> |
|
|
|
|
|
<template id="account_financial_report.report_open_items_lines"> |
|
|
<!-- # lines or centralized lines --> |
|
|
<!-- # lines or centralized lines --> |
|
|
<div class="act_as_row lines"> |
|
|
<div class="act_as_row lines"> |
|
|
<!--## date--> |
|
|
<!--## date--> |
|
@ -228,8 +249,6 @@ |
|
|
</t> |
|
|
</t> |
|
|
</t> |
|
|
</t> |
|
|
</div> |
|
|
</div> |
|
|
</t> |
|
|
|
|
|
</div> |
|
|
|
|
|
</template> |
|
|
</template> |
|
|
<template id="account_financial_report.report_open_items_ending_cumul"> |
|
|
<template id="account_financial_report.report_open_items_ending_cumul"> |
|
|
<!-- Display ending balance line for account or partner --> |
|
|
<!-- Display ending balance line for account or partner --> |
|
|