[MIG] FIX XML Formatting using pycharm
parent
93a864d1d8
commit
4070cd5531
|
@ -5,10 +5,10 @@
|
|||
string="Bank Statement-Detail" report_type="qweb-pdf"
|
||||
name="account_banking_reconciliation.report_bank_statement_detail"
|
||||
file="account_banking_reconciliation.report_bank_statement_detail"
|
||||
attachment="'Detail Statement-'+(object.name)+'.pdf'" />
|
||||
attachment="'Detail Statement-'+(object.name)+'.pdf'"/>
|
||||
<report id="bank_statement_summary" model="bank.acc.rec.statement"
|
||||
string="Bank Statement-Summary" report_type="qweb-pdf"
|
||||
name="account_banking_reconciliation.report_bank_statement_summary"
|
||||
file="account_banking_reconciliation.report_bank_statement_summary"
|
||||
attachment="'Summary Statement-'+(object.name)+'.pdf'" />
|
||||
attachment="'Summary Statement-'+(object.name)+'.pdf'"/>
|
||||
</odoo>
|
||||
|
|
|
@ -12,9 +12,10 @@
|
|||
<!-- Security Rule for Bank Rec Stmts -->
|
||||
<record id="npg_bank_account_reconciliation_comp_rule" model="ir.rule">
|
||||
<field name="name">Bank Statements</field>
|
||||
<field ref="model_bank_acc_rec_statement" name="model_id" />
|
||||
<field eval="True" name="global" />
|
||||
<field name="domain_force">['|',('company_id','=',False),('company_id','child_of',[user.company_id.id])]
|
||||
<field ref="model_bank_acc_rec_statement" name="model_id"/>
|
||||
<field eval="True" name="global"/>
|
||||
<field name="domain_force">
|
||||
['|',('company_id','=',False),('company_id','child_of',[user.company_id.id])]
|
||||
</field>
|
||||
</record>
|
||||
|
||||
|
|
|
@ -10,11 +10,11 @@
|
|||
<field name="arch" type="xml">
|
||||
<tree string="Bank Account Reconciliation Statements"
|
||||
colors="grey:state=='cancel';blue:state in ('to_be_reviewed')">
|
||||
<field name="name" />
|
||||
<field name="ending_date" />
|
||||
<field name="account_id" />
|
||||
<field name="verified_by_user_id" />
|
||||
<field name="state" />
|
||||
<field name="name"/>
|
||||
<field name="ending_date"/>
|
||||
<field name="account_id"/>
|
||||
<field name="verified_by_user_id"/>
|
||||
<field name="state"/>
|
||||
</tree>
|
||||
</field>
|
||||
</record>
|
||||
|
@ -26,155 +26,181 @@
|
|||
<field name="arch" type="xml">
|
||||
<form string="Bank Account Reconciliation Statement" version="7.0">
|
||||
<header>
|
||||
<button name="action_cancel" type="object" states="draft,to_be_reviewed"
|
||||
string="Cancel" icon="fa-ban" />
|
||||
<button name="action_cancel" type="object"
|
||||
states="draft,to_be_reviewed"
|
||||
string="Cancel" icon="fa-ban"/>
|
||||
<button name="action_review" type="object" states="draft"
|
||||
string="Ready for Review" icon="fa-forward" />
|
||||
<button name="action_process" type="object" states="to_be_reviewed"
|
||||
string="Process" />
|
||||
string="Ready for Review" icon="fa-forward"/>
|
||||
<button name="action_process" type="object"
|
||||
states="to_be_reviewed"
|
||||
string="Process"/>
|
||||
<button name="action_cancel_draft" states="cancel,done"
|
||||
string="Set to Draft" type="object" />
|
||||
string="Set to Draft" type="object"/>
|
||||
<button name='refresh_record' string='Refresh'
|
||||
confirm="Current edits in statement will be lost. Do you want to refresh?"
|
||||
states="draft" type='object' />
|
||||
<field name="state" widget="statusbar" nolabel="1" />
|
||||
states="draft" type='object'/>
|
||||
<field name="state" widget="statusbar" nolabel="1"/>
|
||||
</header>
|
||||
<sheet>
|
||||
<group col="4" colspan="4">
|
||||
<field name="account_id" placeholder="Enter Account Name" />
|
||||
<field name="name" placeholder="Enter Name" />
|
||||
<field name="ending_date" placeholder="Enter ending date" />
|
||||
<field name="starting_balance" placeholder="Enter Starting Balance" />
|
||||
<field name="ending_balance" placeholder="Enter Ending Balance" />
|
||||
<field name="last_ending_date" placeholder="Last Statement Date"
|
||||
readonly="1" />
|
||||
<field name="suppress_ending_date_filter" />
|
||||
<field name="company_id" groups="base.group_multi_company"
|
||||
placeholder="Enter Company Name" />
|
||||
<field name="account_id"
|
||||
placeholder="Enter Account Name"/>
|
||||
<field name="name" placeholder="Enter Name"/>
|
||||
<field name="ending_date"
|
||||
placeholder="Enter ending date"/>
|
||||
<field name="starting_balance"
|
||||
placeholder="Enter Starting Balance"/>
|
||||
<field name="ending_balance"
|
||||
placeholder="Enter Ending Balance"/>
|
||||
<field name="last_ending_date"
|
||||
placeholder="Last Statement Date"
|
||||
readonly="1"/>
|
||||
<field name="suppress_ending_date_filter"/>
|
||||
<field name="company_id"
|
||||
groups="base.group_multi_company"
|
||||
placeholder="Enter Company Name"/>
|
||||
</group>
|
||||
<notebook colspan="5">
|
||||
<page string="Journal Items">
|
||||
<label for='account_label' string='Deposits, Credits, and Interest' />
|
||||
<field colspan="4" mode="tree" name="debit_move_line_ids"
|
||||
nolabel="1" widget="one2many_list" height="300">
|
||||
<form string="Deposits, Credits, and Interest" version="7.0">
|
||||
<field name="cleared_bank_account" />
|
||||
<field name="date" readonly="1" />
|
||||
<field name="name" readonly="1" />
|
||||
<field name="ref" readonly="1" />
|
||||
<field name="partner_id" readonly="1" />
|
||||
<field name="amount" readonly="1" />
|
||||
<field name="amountcur" readonly="1" />
|
||||
<field name="currency_id" readonly="1" />
|
||||
<field name="research_required" readonly="1" />
|
||||
<label for='account_label'
|
||||
string='Deposits, Credits, and Interest'/>
|
||||
<field colspan="4" mode="tree"
|
||||
name="debit_move_line_ids"
|
||||
nolabel="1" widget="one2many_list"
|
||||
height="300">
|
||||
<form string="Deposits, Credits, and Interest"
|
||||
version="7.0">
|
||||
<field name="cleared_bank_account"/>
|
||||
<field name="date" readonly="1"/>
|
||||
<field name="name" readonly="1"/>
|
||||
<field name="ref" readonly="1"/>
|
||||
<field name="partner_id" readonly="1"/>
|
||||
<field name="amount" readonly="1"/>
|
||||
<field name="amountcur" readonly="1"/>
|
||||
<field name="currency_id" readonly="1"/>
|
||||
<field name="research_required"
|
||||
readonly="1"/>
|
||||
</form>
|
||||
<tree string="Deposits, Credits, and Interest" editable="top"
|
||||
<tree string="Deposits, Credits, and Interest"
|
||||
editable="top"
|
||||
mute_additem="draft,to_be_reviewed,done, cancel">
|
||||
<field name="cleared_bank_account" />
|
||||
<field name="date" readonly="1" />
|
||||
<field name="name" readonly="1" />
|
||||
<field name="ref" readonly="1" />
|
||||
<field name="partner_id" readonly="1" />
|
||||
<field name="amount" readonly="1" />
|
||||
<field name="amountcur" readonly="1" />
|
||||
<field name="currency_id" readonly="1" />
|
||||
<field name="research_required" />
|
||||
<field name="move_line_id" readonly="1" />
|
||||
<field name="cleared_bank_account"/>
|
||||
<field name="date" readonly="1"/>
|
||||
<field name="name" readonly="1"/>
|
||||
<field name="ref" readonly="1"/>
|
||||
<field name="partner_id" readonly="1"/>
|
||||
<field name="amount" readonly="1"/>
|
||||
<field name="amountcur" readonly="1"/>
|
||||
<field name="currency_id" readonly="1"/>
|
||||
<field name="research_required"/>
|
||||
<field name="move_line_id" readonly="1"/>
|
||||
</tree>
|
||||
</field>
|
||||
<label for='account_label2'
|
||||
string='Checks, Withdrawals, Debits, and Service Charges' />
|
||||
<field colspan="4" mode="tree" name="credit_move_line_ids"
|
||||
nolabel="1" widget="one2many_list" height="300">
|
||||
string='Checks, Withdrawals, Debits, and Service Charges'/>
|
||||
<field colspan="4" mode="tree"
|
||||
name="credit_move_line_ids"
|
||||
nolabel="1" widget="one2many_list"
|
||||
height="300">
|
||||
<form string="Checks, Withdrawals, Debits, and Service Charges"
|
||||
version="7.0">
|
||||
<field name="cleared_bank_account" />
|
||||
<field name="date" readonly="1" />
|
||||
<field name="name" readonly="1" />
|
||||
<field name="ref" readonly="1" />
|
||||
<field name="partner_id" readonly="1" />
|
||||
<field name="amount" readonly="1" />
|
||||
<field name="amountcur" readonly="1" />
|
||||
<field name="currency_id" readonly="1" />
|
||||
<field name="research_required" readonly="1" />
|
||||
<field name="cleared_bank_account"/>
|
||||
<field name="date" readonly="1"/>
|
||||
<field name="name" readonly="1"/>
|
||||
<field name="ref" readonly="1"/>
|
||||
<field name="partner_id" readonly="1"/>
|
||||
<field name="amount" readonly="1"/>
|
||||
<field name="amountcur" readonly="1"/>
|
||||
<field name="currency_id" readonly="1"/>
|
||||
<field name="research_required"
|
||||
readonly="1"/>
|
||||
</form>
|
||||
<tree string="Checks, Withdrawals, Debits, and Service Charges"
|
||||
editable="top" mute_additem="draft,to_be_reviewed,done, cancel">
|
||||
<field name="cleared_bank_account" />
|
||||
<field name="date" readonly="1" />
|
||||
<field name="name" readonly="1" />
|
||||
<field name="ref" readonly="1" />
|
||||
<field name="partner_id" readonly="1" />
|
||||
<field name="amount" readonly="1" />
|
||||
<field name="amountcur" readonly="1" />
|
||||
<field name="currency_id" readonly="1" />
|
||||
<field name="research_required" />
|
||||
<field name="move_line_id" readonly="1" />
|
||||
editable="top"
|
||||
mute_additem="draft,to_be_reviewed,done, cancel">
|
||||
<field name="cleared_bank_account"/>
|
||||
<field name="date" readonly="1"/>
|
||||
<field name="name" readonly="1"/>
|
||||
<field name="ref" readonly="1"/>
|
||||
<field name="partner_id" readonly="1"/>
|
||||
<field name="amount" readonly="1"/>
|
||||
<field name="amountcur" readonly="1"/>
|
||||
<field name="currency_id" readonly="1"/>
|
||||
<field name="research_required"/>
|
||||
<field name="move_line_id" readonly="1"/>
|
||||
</tree>
|
||||
</field>
|
||||
<group col="2" colspan="1"
|
||||
groups="account_banking_reconciliation.group_bank_stmt_verifier">
|
||||
<button name="action_select_all"
|
||||
confirm="Current edits in statement will be lost. Do you want to select all?"
|
||||
type="object" states="draft,to_be_reviewed" string="Select All"
|
||||
icon="gtk-go-forward" />
|
||||
type="object"
|
||||
states="draft,to_be_reviewed"
|
||||
string="Select All"
|
||||
icon="gtk-go-forward"/>
|
||||
<button name="action_unselect_all"
|
||||
confirm="Current edits in statement will be lost. Do you want to unselect all?"
|
||||
type="object" states="draft,to_be_reviewed" string="Unselect All"
|
||||
icon="gtk-cancel" />
|
||||
type="object"
|
||||
states="draft,to_be_reviewed"
|
||||
string="Unselect All"
|
||||
icon="gtk-cancel"/>
|
||||
</group>
|
||||
<newline />
|
||||
<newline/>
|
||||
<separator string="Totals - Cleared and Uncleared"
|
||||
colspan="2" />
|
||||
colspan="2"/>
|
||||
<group name="totals" col="4" colspan="4">
|
||||
|
||||
<group name="total1" col="2" colspan="2">
|
||||
<field name="sum_of_debits" />
|
||||
<field name="sum_of_debits_cur" />
|
||||
<field name="sum_of_debits_lines" />
|
||||
<field name="sum_of_credits" />
|
||||
<field name="sum_of_credits_cur" />
|
||||
<field name="sum_of_credits_lines" />
|
||||
<field name="sum_of_debits"/>
|
||||
<field name="sum_of_debits_cur"/>
|
||||
<field name="sum_of_debits_lines"/>
|
||||
<field name="sum_of_credits"/>
|
||||
<field name="sum_of_credits_cur"/>
|
||||
<field name="sum_of_credits_lines"/>
|
||||
</group>
|
||||
<group name="total2" col="2" colspan="2">
|
||||
<field name="sum_of_udebits" />
|
||||
<field name="sum_of_udebits_cur" />
|
||||
<field name="sum_of_udebits_lines" />
|
||||
<field name="sum_of_ucredits" />
|
||||
<field name="sum_of_ucredits_cur" />
|
||||
<field name="sum_of_ucredits_lines" />
|
||||
<field name="sum_of_udebits"/>
|
||||
<field name="sum_of_udebits_cur"/>
|
||||
<field name="sum_of_udebits_lines"/>
|
||||
<field name="sum_of_ucredits"/>
|
||||
<field name="sum_of_ucredits_cur"/>
|
||||
<field name="sum_of_ucredits_lines"/>
|
||||
</group>
|
||||
</group>
|
||||
<newline />
|
||||
<separator string="Balances - Cleared and Uncleared" />
|
||||
<newline/>
|
||||
<separator
|
||||
string="Balances - Cleared and Uncleared"/>
|
||||
<group name="balances" col="4" colspan="4">
|
||||
<group name="balance1" col="2" colspan="2">
|
||||
<field name="cleared_balance" />
|
||||
<field name="cleared_balance"/>
|
||||
<field name="cleared_balance_cur"
|
||||
attrs="{'invisible':[('cleared_balance_cur','=', 0.0)]}" />
|
||||
<field name="difference" />
|
||||
attrs="{'invisible':[('cleared_balance_cur','=', 0.0)]}"/>
|
||||
<field name="difference"/>
|
||||
<field name="difference_cur"
|
||||
attrs="{'invisible':[('cleared_balance_cur','=', 0.0)]}" />
|
||||
attrs="{'invisible':[('cleared_balance_cur','=', 0.0)]}"/>
|
||||
</group>
|
||||
<group name="balance2" col="2" colspan="2">
|
||||
<field name="uncleared_balance" />
|
||||
<field name="uncleared_balance"/>
|
||||
<field name="uncleared_balance_cur"
|
||||
attrs="{'invisible':[('uncleared_balance_cur','=', 0.0)]}" />
|
||||
attrs="{'invisible':[('uncleared_balance_cur','=', 0.0)]}"/>
|
||||
</group>
|
||||
</group>
|
||||
</page>
|
||||
<page string="Other Information">
|
||||
<separator string="Tracking Information" colspan="4" />
|
||||
<separator string="Tracking Information"
|
||||
colspan="4"/>
|
||||
<group colspan="2" col="2">
|
||||
<field name="verified_by_user_id" placeholder="Enter user whoever varified" />
|
||||
<field name="verified_by_user_id"
|
||||
placeholder="Enter user whoever varified"/>
|
||||
</group>
|
||||
<group colspan="2" col="2">
|
||||
<field name="verified_date" placeholder="Enter date of varification" />
|
||||
<field name="verified_date"
|
||||
placeholder="Enter date of varification"/>
|
||||
</group>
|
||||
</page>
|
||||
<page string="Notes">
|
||||
<field name="notes" nolabel="1"
|
||||
placeholder="Enter notes about reconciliation" />
|
||||
placeholder="Enter notes about reconciliation"/>
|
||||
</page>
|
||||
</notebook>
|
||||
</sheet>
|
||||
|
@ -189,27 +215,32 @@
|
|||
<field name="arch" type="xml">
|
||||
<search string="Search Bank Account Reconciliation Statements">
|
||||
<filter icon="terp-document-new" string="Draft"
|
||||
domain="[('state','=','draft')]" help="Statements that haven't yet been confirmed" />
|
||||
domain="[('state','=','draft')]"
|
||||
help="Statements that haven't yet been confirmed"/>
|
||||
<filter icon="terp-dolar" string="To be Reviewed"
|
||||
domain="[('state','=','to_be_reviewed')]" help="Statements that are ready for review" />
|
||||
<filter icon="terp-check" string="Done" domain="[('state','=','done')]"
|
||||
help="Statements that have been processed" />
|
||||
<separator orientation="vertical" />
|
||||
<field name="name" select="1" />
|
||||
<field name="ending_date" select="1" string="Ending Date" />
|
||||
<field name="account_id" select="1" />
|
||||
domain="[('state','=','to_be_reviewed')]"
|
||||
help="Statements that are ready for review"/>
|
||||
<filter icon="terp-check" string="Done"
|
||||
domain="[('state','=','done')]"
|
||||
help="Statements that have been processed"/>
|
||||
<separator orientation="vertical"/>
|
||||
<field name="name" select="1"/>
|
||||
<field name="ending_date" select="1" string="Ending Date"/>
|
||||
<field name="account_id" select="1"/>
|
||||
<field name="verified_by_user_id" select="1">
|
||||
<filter domain="[('verified_by_user_id','=',uid)]" help="Verified by me"
|
||||
icon="terp-personal" />
|
||||
<filter domain="[('verified_by_user_id','=',uid)]"
|
||||
help="Verified by me"
|
||||
icon="terp-personal"/>
|
||||
</field>
|
||||
<newline />
|
||||
<newline/>
|
||||
<group expand="0" string="Group By..." colspan="11" col="11"
|
||||
groups="base.group_extended">
|
||||
<filter string="Account" icon="terp-personal" domain="[]"
|
||||
context="{'group_by':'account_id'}" />
|
||||
<separator orientation="vertical" />
|
||||
<filter string="State" icon="terp-stock_effects-object-colorize"
|
||||
domain="[]" context="{'group_by':'state'}" />
|
||||
context="{'group_by':'account_id'}"/>
|
||||
<separator orientation="vertical"/>
|
||||
<filter string="State"
|
||||
icon="terp-stock_effects-object-colorize"
|
||||
domain="[]" context="{'group_by':'state'}"/>
|
||||
</group>
|
||||
</search>
|
||||
</field>
|
||||
|
@ -221,7 +252,7 @@
|
|||
<field name="res_model">bank.acc.rec.statement</field>
|
||||
<field name="view_type">form</field>
|
||||
<field name="view_mode">tree,form</field>
|
||||
<field name="search_view_id" ref="view_bank_acc_rec_statement_filter" />
|
||||
<field name="search_view_id" ref="view_bank_acc_rec_statement_filter"/>
|
||||
</record>
|
||||
|
||||
<!-- <record id="account.menu_bank_statement_tree" model="ir.ui.menu"> -->
|
||||
|
@ -229,18 +260,22 @@
|
|||
<!-- </record> -->
|
||||
|
||||
<menuitem icon="STOCK_JUSTIFY_FILL" action="action_bank_acc_rec_statement"
|
||||
id="npg_bank_acc_rec_statement_menu" parent="account.menu_finance_configuration"
|
||||
sequence="5" />
|
||||
id="npg_bank_acc_rec_statement_menu"
|
||||
parent="account.menu_finance_configuration"
|
||||
sequence="5"/>
|
||||
|
||||
<act_window id="act_account_move_line_to_add" name="Journal Items"
|
||||
res_model="account.move.line" src_model="bank.acc.rec.statement" />
|
||||
res_model="account.move.line"
|
||||
src_model="bank.acc.rec.statement"/>
|
||||
|
||||
<act_window id="act_supplier_payment_to_add" name="Supplier Payment"
|
||||
domain="[('journal_id.type', 'in', ['bank', 'cash']), ('type','=','receipt')]"
|
||||
context="{'type':'payment'}" res_model="account.voucher" src_model="bank.acc.rec.statement" />
|
||||
context="{'type':'payment'}" res_model="account.voucher"
|
||||
src_model="bank.acc.rec.statement"/>
|
||||
|
||||
<act_window id="act_customer_payment_to_add" name="Customer Payment"
|
||||
domain="[('journal_id.type', 'in', ['bank', 'cash']), ('type','=','receipt')]"
|
||||
context="{'type':'receipt'}" res_model="account.voucher" src_model="bank.acc.rec.statement" />
|
||||
context="{'type':'receipt'}" res_model="account.voucher"
|
||||
src_model="bank.acc.rec.statement"/>
|
||||
|
||||
</odoo>
|
||||
|
|
|
@ -6,16 +6,18 @@
|
|||
model="ir.ui.view">
|
||||
<field name="name">account.move.line.bank.acc.rec.statement.id</field>
|
||||
<field name="model">account.move.line</field>
|
||||
<field name="inherit_id" ref="account.view_account_move_line_filter" />
|
||||
<field name="inherit_id" ref="account.view_account_move_line_filter"/>
|
||||
<field name="type">search</field>
|
||||
<field name="arch" type="xml">
|
||||
<field name="move_id" position="after">
|
||||
<field name="bank_acc_rec_statement_id" />
|
||||
<field name="bank_acc_rec_statement_id"/>
|
||||
</field>
|
||||
<field name="move_id" position="before">
|
||||
<filter icon="terp-document-new" string="Uncleared Bank Account"
|
||||
domain="[('cleared_bank_account','=',False)]" help="Journal Entries not cleared" />
|
||||
<separator orientation="vertical" />
|
||||
<filter icon="terp-document-new"
|
||||
string="Uncleared Bank Account"
|
||||
domain="[('cleared_bank_account','=',False)]"
|
||||
help="Journal Entries not cleared"/>
|
||||
<separator orientation="vertical"/>
|
||||
</field>
|
||||
</field>
|
||||
</record>
|
||||
|
@ -25,14 +27,14 @@
|
|||
<field name="name">account.move.line.bank.acc.rec.statement.id.form
|
||||
</field>
|
||||
<field name="model">account.move.line</field>
|
||||
<field name="inherit_id" ref="account.view_move_line_form" />
|
||||
<field name="inherit_id" ref="account.view_move_line_form"/>
|
||||
<field name="type">form</field>
|
||||
<field name="arch" type="xml">
|
||||
<field name="statement_id" position="after">
|
||||
<field name="bank_acc_rec_statement_id" />
|
||||
<field name="bank_acc_rec_statement_id"/>
|
||||
</field>
|
||||
<field name="blocked" position="after">
|
||||
<field name="cleared_bank_account" />
|
||||
<field name="cleared_bank_account"/>
|
||||
</field>
|
||||
</field>
|
||||
</record>
|
||||
|
|
|
@ -2,18 +2,20 @@
|
|||
<odoo>
|
||||
<template id="report_bank_statement_detail_doc">
|
||||
<t t-call="report.external_layout">
|
||||
<t t-set="o" t-value="o.with_context({'lang':o.company_id.partner_id.lang})" />
|
||||
<t t-set="o"
|
||||
t-value="o.with_context({'lang':o.company_id.partner_id.lang})"/>
|
||||
<div class="page">
|
||||
<h2 style='text-align:center;'>
|
||||
Reconciliation Detail
|
||||
</h2>
|
||||
<h5 style='text-align:center;'>
|
||||
<span>Period Ending</span>
|
||||
<span t-field="o.ending_date" />
|
||||
<span t-field="o.ending_date"/>
|
||||
</h5>
|
||||
|
||||
<div class="row">
|
||||
<table class="table table-condensed" t-if="not o.account_id.currency_id">
|
||||
<table class="table table-condensed"
|
||||
t-if="not o.account_id.currency_id">
|
||||
<thead>
|
||||
<tr>
|
||||
<th></th>
|
||||
|
@ -23,15 +25,16 @@
|
|||
<th class="text-right">Reference</th>
|
||||
<th class="text-right">Cleared</th>
|
||||
<th class="text-right">
|
||||
<span t-field="o.company_id.currency_id.symbol" />
|
||||
<span t-field="o.company_id.currency_id.symbol"/>
|
||||
</th>
|
||||
<th class="text-right">
|
||||
<span t-field="o.account_id.currency_id.symbol" />
|
||||
<span t-field="o.account_id.currency_id.symbol"/>
|
||||
</th>
|
||||
</tr>
|
||||
</thead>
|
||||
</table>
|
||||
<table class="table table-condensed" t-if="o.account_id.currency_id">
|
||||
<table class="table table-condensed"
|
||||
t-if="o.account_id.currency_id">
|
||||
<thead>
|
||||
<tr>
|
||||
<th></th>
|
||||
|
@ -41,12 +44,13 @@
|
|||
<th class="text-right">Reference</th>
|
||||
<th class="text-right">Cleared</th>
|
||||
<th class="text-right">
|
||||
<span t-field="o.company_id.currency_id.symbol" />
|
||||
<span t-field="o.company_id.currency_id.symbol"/>
|
||||
</th>
|
||||
</tr>
|
||||
</thead>
|
||||
</table>
|
||||
<table class="table table-condensed" t-if="not o.account_id.currency_id">
|
||||
<table class="table table-condensed"
|
||||
t-if="not o.account_id.currency_id">
|
||||
<tbody class="invoice_tbody">
|
||||
<tr>
|
||||
<td>
|
||||
|
@ -56,7 +60,7 @@
|
|||
</td>
|
||||
<td></td>
|
||||
<td class="text-right">
|
||||
<span t-field="o.starting_balance" />
|
||||
<span t-field="o.starting_balance"/>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
@ -72,7 +76,7 @@
|
|||
<td>
|
||||
<b>
|
||||
<span>Deposits & Credits-</span>
|
||||
<span t-field="o.sum_of_debits_lines" />
|
||||
<span t-field="o.sum_of_debits_lines"/>
|
||||
items
|
||||
</b>
|
||||
</td>
|
||||
|
@ -81,7 +85,8 @@
|
|||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<table class="table table-condensed" t-if="o.account_id.currency_id">
|
||||
<table class="table table-condensed"
|
||||
t-if="o.account_id.currency_id">
|
||||
<tbody class="invoice_tbody">
|
||||
<tr>
|
||||
<td>
|
||||
|
@ -91,7 +96,7 @@
|
|||
</td>
|
||||
<td></td>
|
||||
<td class="text-right">
|
||||
<span t-field="o.starting_balance" />
|
||||
<span t-field="o.starting_balance"/>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
@ -107,7 +112,7 @@
|
|||
<td>
|
||||
<b>
|
||||
<span>Deposits & Credits-</span>
|
||||
<span t-field="o.sum_of_debits_lines" />
|
||||
<span t-field="o.sum_of_debits_lines"/>
|
||||
items
|
||||
</b>
|
||||
</td>
|
||||
|
@ -116,60 +121,62 @@
|
|||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<table class="table table-condensed" t-if="not o.account_id.currency_id">
|
||||
<table class="table table-condensed"
|
||||
t-if="not o.account_id.currency_id">
|
||||
<tbody class="invoice_tbody">
|
||||
<tr t-foreach="o.debit_move_line_ids" t-as="debit"
|
||||
t-if="debit.cleared_bank_account">
|
||||
<td></td>
|
||||
<td>
|
||||
<span t-field="debit.date" />
|
||||
<span t-field="debit.date"/>
|
||||
</td>
|
||||
<td>
|
||||
<span t-field="debit.name" />
|
||||
<span t-field="debit.name"/>
|
||||
</td>
|
||||
<td>
|
||||
<span t-field="debit.partner_id.name" />
|
||||
<span t-field="debit.partner_id.name"/>
|
||||
</td>
|
||||
<td>
|
||||
<span t-field="debit.ref" />
|
||||
<span t-field="debit.ref"/>
|
||||
</td>
|
||||
<td class="text-right">
|
||||
<span t-esc="debit.cleared_bank_account and 'X' or ''" />
|
||||
<span t-esc="debit.cleared_bank_account and 'X' or ''"/>
|
||||
</td>
|
||||
<td class="text-right">
|
||||
<span t-field="debit.amount"
|
||||
t-options='{"widget": "monetary", "display_currency": o.account_id.currency_id}' />
|
||||
t-options='{"widget": "monetary", "display_currency": o.account_id.currency_id}'/>
|
||||
</td>
|
||||
<td class="text-right">
|
||||
<span t-field="debit.amountcur"
|
||||
t-options='{"widget": "monetary", "display_currency": o.account_id.currency_id}' />
|
||||
t-options='{"widget": "monetary", "display_currency": o.account_id.currency_id}'/>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<table class="table table-condensed" t-if="o.account_id.currency_id">
|
||||
<table class="table table-condensed"
|
||||
t-if="o.account_id.currency_id">
|
||||
<tbody class="invoice_tbody">
|
||||
<tr t-foreach="o.debit_move_line_ids" t-as="debit"
|
||||
t-if="debit.cleared_bank_account">
|
||||
<td></td>
|
||||
<td>
|
||||
<span t-field="debit.date" />
|
||||
<span t-field="debit.date"/>
|
||||
</td>
|
||||
<td>
|
||||
<span t-field="debit.name" />
|
||||
<span t-field="debit.name"/>
|
||||
</td>
|
||||
<td>
|
||||
<span t-field="debit.partner_id.name" />
|
||||
<span t-field="debit.partner_id.name"/>
|
||||
</td>
|
||||
<td>
|
||||
<span t-field="debit.ref" />
|
||||
<span t-field="debit.ref"/>
|
||||
</td>
|
||||
<td class="text-right">
|
||||
<span t-esc="debit.cleared_bank_account and 'X' or ''" />
|
||||
<span t-esc="debit.cleared_bank_account and 'X' or ''"/>
|
||||
</td>
|
||||
<td class="text-right">
|
||||
<span t-field="debit.amount"
|
||||
t-options='{"widget": "monetary", "display_currency": o.account_id.currency_id}' />
|
||||
t-options='{"widget": "monetary", "display_currency": o.account_id.currency_id}'/>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
|
@ -180,17 +187,21 @@
|
|||
<tr>
|
||||
<td>
|
||||
<b>
|
||||
<span>Total Deposits & Credits</span>
|
||||
<span>Total Deposits &
|
||||
Credits
|
||||
</span>
|
||||
</b>
|
||||
</td>
|
||||
<td></td>
|
||||
<td class="text-right">
|
||||
<span t-if="o.sum_of_debits" t-field="o.sum_of_debits"
|
||||
t-options='{"widget": "monetary", "display_currency": o.account_id.currency_id}' />
|
||||
<span t-if="o.sum_of_debits"
|
||||
t-field="o.sum_of_debits"
|
||||
t-options='{"widget": "monetary", "display_currency": o.account_id.currency_id}'/>
|
||||
</td>
|
||||
<td class="text-right">
|
||||
<span t-if="o.sum_of_debits_cur" t-field="o.sum_of_debits_cur"
|
||||
t-options='{"widget": "monetary", "display_currency": o.account_id.currency_id}' />
|
||||
<span t-if="o.sum_of_debits_cur"
|
||||
t-field="o.sum_of_debits_cur"
|
||||
t-options='{"widget": "monetary", "display_currency": o.account_id.currency_id}'/>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
|
@ -201,7 +212,7 @@
|
|||
<td>
|
||||
<b>
|
||||
<span>Checks & Payments-</span>
|
||||
<span t-field="o.sum_of_credits_lines" />
|
||||
<span t-field="o.sum_of_credits_lines"/>
|
||||
items
|
||||
</b>
|
||||
</td>
|
||||
|
@ -217,13 +228,16 @@
|
|||
<tr>
|
||||
<td>
|
||||
<b>
|
||||
<span>Total Deposits & Credits</span>
|
||||
<span>Total Deposits &
|
||||
Credits
|
||||
</span>
|
||||
</b>
|
||||
</td>
|
||||
<td></td>
|
||||
<td class="text-right">
|
||||
<span t-if="o.sum_of_debits" t-field="o.sum_of_debits"
|
||||
t-options='{"widget": "monetary", "display_currency": o.account_id.currency_id}' />
|
||||
<span t-if="o.sum_of_debits"
|
||||
t-field="o.sum_of_debits"
|
||||
t-options='{"widget": "monetary", "display_currency": o.account_id.currency_id}'/>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
|
@ -234,7 +248,7 @@
|
|||
<td>
|
||||
<b>
|
||||
<span>Checks & Payments-</span>
|
||||
<span t-field="o.sum_of_credits_lines" />
|
||||
<span t-field="o.sum_of_credits_lines"/>
|
||||
items
|
||||
</b>
|
||||
</td>
|
||||
|
@ -244,60 +258,64 @@
|
|||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<table class="table table-condensed" t-if="not o.account_id.currency_id">
|
||||
<table class="table table-condensed"
|
||||
t-if="not o.account_id.currency_id">
|
||||
<tbody class="invoice_tbody">
|
||||
<tr t-foreach="o.credit_move_line_ids" t-as="credit"
|
||||
<tr t-foreach="o.credit_move_line_ids"
|
||||
t-as="credit"
|
||||
t-if="credit.cleared_bank_account">
|
||||
<td></td>
|
||||
<td>
|
||||
<span t-field="credit.date" />
|
||||
<span t-field="credit.date"/>
|
||||
</td>
|
||||
<td>
|
||||
<span t-field="credit.name" />
|
||||
<span t-field="credit.name"/>
|
||||
</td>
|
||||
<td>
|
||||
<span t-field="credit.partner_id.name" />
|
||||
<span t-field="credit.partner_id.name"/>
|
||||
</td>
|
||||
<td>
|
||||
<span t-field="credit.ref" />
|
||||
<span t-field="credit.ref"/>
|
||||
</td>
|
||||
<td class="text-right">
|
||||
<span t-esc="credit.cleared_bank_account and 'X' or ''" />
|
||||
<span t-esc="credit.cleared_bank_account and 'X' or ''"/>
|
||||
</td>
|
||||
<td class="text-right">
|
||||
<span t-field="credit.amount"
|
||||
t-options='{"widget": "monetary", "display_currency": o.account_id.currency_id}' />
|
||||
t-options='{"widget": "monetary", "display_currency": o.account_id.currency_id}'/>
|
||||
</td>
|
||||
<td class="text-right">
|
||||
<span t-field="credit.amountcur"
|
||||
t-options='{"widget": "monetary", "display_currency": o.account_id.currency_id}' />
|
||||
t-options='{"widget": "monetary", "display_currency": o.account_id.currency_id}'/>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<table class="table table-condensed" t-if="o.account_id.currency_id">
|
||||
<table class="table table-condensed"
|
||||
t-if="o.account_id.currency_id">
|
||||
<tbody class="invoice_tbody">
|
||||
<tr t-foreach="o.credit_move_line_ids" t-as="credit"
|
||||
<tr t-foreach="o.credit_move_line_ids"
|
||||
t-as="credit"
|
||||
t-if="credit.cleared_bank_account">
|
||||
<td></td>
|
||||
<td>
|
||||
<span t-field="credit.date" />
|
||||
<span t-field="credit.date"/>
|
||||
</td>
|
||||
<td>
|
||||
<span t-field="credit.name" />
|
||||
<span t-field="credit.name"/>
|
||||
</td>
|
||||
<td>
|
||||
<span t-field="credit.partner_id.name" />
|
||||
<span t-field="credit.partner_id.name"/>
|
||||
</td>
|
||||
<td>
|
||||
<span t-field="credit.ref" />
|
||||
<span t-field="credit.ref"/>
|
||||
</td>
|
||||
<td class="text-right">
|
||||
<span t-esc="credit.cleared_bank_account and 'X' or ''" />
|
||||
<span t-esc="credit.cleared_bank_account and 'X' or ''"/>
|
||||
</td>
|
||||
<td class="text-right">
|
||||
<span t-field="credit.amount"
|
||||
t-options='{"widget": "monetary", "display_currency": o.account_id.currency_id}' />
|
||||
t-options='{"widget": "monetary", "display_currency": o.account_id.currency_id}'/>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
|
@ -308,17 +326,20 @@
|
|||
<tr>
|
||||
<td>
|
||||
<b>
|
||||
<span>Total Checks & Payments</span>
|
||||
<span>Total Checks & Payments
|
||||
</span>
|
||||
</b>
|
||||
</td>
|
||||
<td></td>
|
||||
<td class="text-right">
|
||||
<span t-if="o.sum_of_credits" t-field="o.sum_of_credits"
|
||||
t-options='{"widget": "monetary", "display_currency": o.account_id.currency_id}' />
|
||||
<span t-if="o.sum_of_credits"
|
||||
t-field="o.sum_of_credits"
|
||||
t-options='{"widget": "monetary", "display_currency": o.account_id.currency_id}'/>
|
||||
</td>
|
||||
<td class="text-right">
|
||||
<span t-if="o.sum_of_credits_cur" t-field="o.sum_of_credits_cur"
|
||||
t-options='{"widget": "monetary", "display_currency": o.account_id.currency_id}' />
|
||||
<span t-if="o.sum_of_credits_cur"
|
||||
t-field="o.sum_of_credits_cur"
|
||||
t-options='{"widget": "monetary", "display_currency": o.account_id.currency_id}'/>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
|
@ -328,17 +349,18 @@
|
|||
<tr>
|
||||
<td>
|
||||
<b>
|
||||
<span>Total Cleared Transactions</span>
|
||||
<span>Total Cleared Transactions
|
||||
</span>
|
||||
</b>
|
||||
</td>
|
||||
<td></td>
|
||||
<td class="text-right">
|
||||
<span t-esc="o.sum_of_debits - o.sum_of_credits"
|
||||
t-options='{"widget": "monetary", "display_currency": o.account_id.currency_id}' />
|
||||
t-options='{"widget": "monetary", "display_currency": o.account_id.currency_id}'/>
|
||||
</td>
|
||||
<td class="text-right">
|
||||
<span t-esc="o.sum_of_debits_cur - o.sum_of_credits_cur"
|
||||
t-options='{"widget": "monetary", "display_currency": o.account_id.currency_id}' />
|
||||
t-options='{"widget": "monetary", "display_currency": o.account_id.currency_id}'/>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
@ -350,11 +372,11 @@
|
|||
<td></td>
|
||||
<td class="text-right">
|
||||
<span t-field="o.cleared_balance"
|
||||
t-options='{"widget": "monetary", "display_currency": o.account_id.currency_id}' />
|
||||
t-options='{"widget": "monetary", "display_currency": o.account_id.currency_id}'/>
|
||||
</td>
|
||||
<td class="text-right">
|
||||
<span t-field="o.cleared_balance_cur"
|
||||
t-options='{"widget": "monetary", "display_currency": o.account_id.currency_id}' />
|
||||
t-options='{"widget": "monetary", "display_currency": o.account_id.currency_id}'/>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
@ -367,7 +389,7 @@
|
|||
<td></td>
|
||||
<td class="text-right">
|
||||
<span t-field="o.ending_balance"
|
||||
t-options='{"widget": "monetary", "display_currency": o.account_id.currency_id}' />
|
||||
t-options='{"widget": "monetary", "display_currency": o.account_id.currency_id}'/>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
|
@ -379,13 +401,16 @@
|
|||
<tr>
|
||||
<td>
|
||||
<b>
|
||||
<span>Total Deposits & Credits</span>
|
||||
<span>Total Deposits &
|
||||
Credits
|
||||
</span>
|
||||
</b>
|
||||
</td>
|
||||
<td></td>
|
||||
<td class="text-right">
|
||||
<span t-if="o.sum_of_credits" t-field="o.sum_of_credits"
|
||||
t-options='{"widget": "monetary", "display_currency": o.account_id.currency_id}' />
|
||||
<span t-if="o.sum_of_credits"
|
||||
t-field="o.sum_of_credits"
|
||||
t-options='{"widget": "monetary", "display_currency": o.account_id.currency_id}'/>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
|
@ -395,13 +420,14 @@
|
|||
<tr>
|
||||
<td>
|
||||
<b>
|
||||
<span>Total Cleared Transactions</span>
|
||||
<span>Total Cleared Transactions
|
||||
</span>
|
||||
</b>
|
||||
</td>
|
||||
<td></td>
|
||||
<td class="text-right">
|
||||
<span t-esc="o.sum_of_debits - o.sum_of_credits"
|
||||
t-options='{"widget": "monetary", "display_currency": o.account_id.currency_id}' />
|
||||
t-options='{"widget": "monetary", "display_currency": o.account_id.currency_id}'/>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
@ -413,7 +439,7 @@
|
|||
<td></td>
|
||||
<td class="text-right">
|
||||
<span t-field="o.cleared_balance"
|
||||
t-options='{"widget": "monetary", "display_currency": o.account_id.currency_id}' />
|
||||
t-options='{"widget": "monetary", "display_currency": o.account_id.currency_id}'/>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
@ -426,7 +452,7 @@
|
|||
<td></td>
|
||||
<td class="text-right">
|
||||
<span t-field="o.ending_balance"
|
||||
t-options='{"widget": "monetary", "display_currency": o.account_id.currency_id}' />
|
||||
t-options='{"widget": "monetary", "display_currency": o.account_id.currency_id}'/>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
|
@ -441,7 +467,7 @@
|
|||
<t t-call="report.html_container">
|
||||
<t t-foreach="docs" t-as="o">
|
||||
<t t-call="account_banking_reconciliation.report_bank_statement_detail_doc"
|
||||
t-lang="o.company_id.partner_id.lang" />
|
||||
t-lang="o.company_id.partner_id.lang"/>
|
||||
</t>
|
||||
</t>
|
||||
</template>
|
||||
|
|
|
@ -2,14 +2,15 @@
|
|||
<odoo>
|
||||
<template id="report_bank_statement_summary_doc">
|
||||
<t t-call="report.external_layout">
|
||||
<t t-set="o" t-value="o.with_context({'lang':o.company_id.partner_id.lang})" />
|
||||
<t t-set="o"
|
||||
t-value="o.with_context({'lang':o.company_id.partner_id.lang})"/>
|
||||
<div class="page">
|
||||
<h2 style='text-align:center;'>
|
||||
Reconciliation Summary
|
||||
</h2>
|
||||
<h5 style='text-align:center;'>
|
||||
<span>Period Ending</span>
|
||||
<span t-field="o.ending_date" />
|
||||
<span t-field="o.ending_date"/>
|
||||
</h5>
|
||||
|
||||
<div class="row" t-if="not o.account_id.currency_id">
|
||||
|
@ -24,7 +25,7 @@
|
|||
<td></td>
|
||||
<td class="text-right">
|
||||
<span t-field="o.starting_balance"
|
||||
t-options='{"widget": "monetary", "display_currency": o.account_id.currency_id}' />
|
||||
t-options='{"widget": "monetary", "display_currency": o.account_id.currency_id}'/>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
|
@ -36,17 +37,19 @@
|
|||
<td>
|
||||
<b>
|
||||
<span>Deposits & Credits-</span>
|
||||
<span t-field="o.sum_of_debits_lines" />
|
||||
<span t-field="o.sum_of_debits_lines"/>
|
||||
items
|
||||
</b>
|
||||
</td>
|
||||
<td class="text-right">
|
||||
<span t-if="o.sum_of_debits" t-field="o.sum_of_debits"
|
||||
t-options='{"widget": "monetary", "display_currency": o.account_id.currency_id}' />
|
||||
<span t-if="o.sum_of_debits"
|
||||
t-field="o.sum_of_debits"
|
||||
t-options='{"widget": "monetary", "display_currency": o.account_id.currency_id}'/>
|
||||
</td>
|
||||
<td class="text-right">
|
||||
<span t-if="o.sum_of_debits_cur" t-field="o.sum_of_debits_cur"
|
||||
t-options='{"widget": "monetary", "display_currency": o.account_id.currency_id}' />
|
||||
<span t-if="o.sum_of_debits_cur"
|
||||
t-field="o.sum_of_debits_cur"
|
||||
t-options='{"widget": "monetary", "display_currency": o.account_id.currency_id}'/>
|
||||
</td>
|
||||
<td></td>
|
||||
</tr>
|
||||
|
@ -55,17 +58,19 @@
|
|||
<td>
|
||||
<b>
|
||||
<span>Checks & Payments-</span>
|
||||
<span t-field="o.sum_of_credits_lines" />
|
||||
<span t-field="o.sum_of_credits_lines"/>
|
||||
items
|
||||
</b>
|
||||
</td>
|
||||
<td class="text-right">
|
||||
<span t-if="o.sum_of_credits" t-field="o.sum_of_credits"
|
||||
t-options='{"widget": "monetary", "display_currency": o.account_id.currency_id}' />
|
||||
<span t-if="o.sum_of_credits"
|
||||
t-field="o.sum_of_credits"
|
||||
t-options='{"widget": "monetary", "display_currency": o.account_id.currency_id}'/>
|
||||
</td>
|
||||
<td class="text-right">
|
||||
<span t-if="o.sum_of_credits_cur" t-field="o.sum_of_credits_cur"
|
||||
t-options='{"widget": "monetary", "display_currency": o.account_id.currency_id}' />
|
||||
<span t-if="o.sum_of_credits_cur"
|
||||
t-field="o.sum_of_credits_cur"
|
||||
t-options='{"widget": "monetary", "display_currency": o.account_id.currency_id}'/>
|
||||
</td>
|
||||
<td></td>
|
||||
</tr>
|
||||
|
@ -82,11 +87,11 @@
|
|||
</td>
|
||||
<td class="text-right">
|
||||
<span t-esc="o.sum_of_debits - o.sum_of_credits"
|
||||
t-options='{"widget": "monetary", "display_currency": o.account_id.currency_id}' />
|
||||
t-options='{"widget": "monetary", "display_currency": o.account_id.currency_id}'/>
|
||||
</td>
|
||||
<td class="text-right">
|
||||
<span t-esc="o.sum_of_debits_cur - o.sum_of_credits_cur"
|
||||
t-options='{"widget": "monetary", "display_currency": o.account_id.currency_id}' />
|
||||
t-options='{"widget": "monetary", "display_currency": o.account_id.currency_id}'/>
|
||||
</td>
|
||||
<td></td>
|
||||
</tr>
|
||||
|
@ -102,16 +107,16 @@
|
|||
</td>
|
||||
<td class="text-right">
|
||||
<span t-field="o.cleared_balance"
|
||||
t-options='{"widget": "monetary", "display_currency": o.account_id.currency_id}' />
|
||||
t-options='{"widget": "monetary", "display_currency": o.account_id.currency_id}'/>
|
||||
</td>
|
||||
<td class="text-right">
|
||||
<span t-field="o.cleared_balance_cur"
|
||||
t-options='{"widget": "monetary", "display_currency": o.account_id.currency_id}' />
|
||||
t-options='{"widget": "monetary", "display_currency": o.account_id.currency_id}'/>
|
||||
</td>
|
||||
<td class="text-right">
|
||||
<b>
|
||||
<span t-field="o.cleared_balance_cur"
|
||||
t-options='{"widget": "monetary", "display_currency": o.account_id.currency_id}' />
|
||||
t-options='{"widget": "monetary", "display_currency": o.account_id.currency_id}'/>
|
||||
</b>
|
||||
</td>
|
||||
</tr>
|
||||
|
@ -128,7 +133,7 @@
|
|||
<td></td>
|
||||
<td class="text-right">
|
||||
<span t-field="o.ending_balance"
|
||||
t-options='{"widget": "monetary", "display_currency": o.account_id.currency_id}' />
|
||||
t-options='{"widget": "monetary", "display_currency": o.account_id.currency_id}'/>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
|
@ -147,7 +152,7 @@
|
|||
<td></td>
|
||||
<td class="text-right">
|
||||
<span t-field="o.starting_balance"
|
||||
t-options='{"widget": "monetary", "display_currency": o.account_id.currency_id}' />
|
||||
t-options='{"widget": "monetary", "display_currency": o.account_id.currency_id}'/>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
|
@ -163,7 +168,7 @@
|
|||
<td></td>
|
||||
<td class="text-right">
|
||||
<span t-field="o.ending_balance"
|
||||
t-options='{"widget": "monetary", "display_currency": o.account_id.currency_id}' />
|
||||
t-options='{"widget": "monetary", "display_currency": o.account_id.currency_id}'/>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
|
@ -189,14 +194,15 @@
|
|||
<td>
|
||||
<b>
|
||||
<span>Deposits & Credits-</span>
|
||||
<span t-field="o.sum_of_debits_lines" />
|
||||
<span t-field="o.sum_of_debits_lines"/>
|
||||
items
|
||||
</b>
|
||||
</td>
|
||||
<td></td>
|
||||
<td class="text-right">
|
||||
<span t-if="o.sum_of_debits" t-field="o.sum_of_debits"
|
||||
t-options='{"widget": "monetary", "display_currency": o.account_id.currency_id}' />
|
||||
<span t-if="o.sum_of_debits"
|
||||
t-field="o.sum_of_debits"
|
||||
t-options='{"widget": "monetary", "display_currency": o.account_id.currency_id}'/>
|
||||
</td>
|
||||
<td></td>
|
||||
</tr>
|
||||
|
@ -205,14 +211,15 @@
|
|||
<td>
|
||||
<b>
|
||||
<span>Checks & Payments-</span>
|
||||
<span t-field="o.sum_of_credits_lines" />
|
||||
<span t-field="o.sum_of_credits_lines"/>
|
||||
items
|
||||
</b>
|
||||
</td>
|
||||
<td></td>
|
||||
<td class="text-right">
|
||||
<span t-if="o.sum_of_credits" t-field="o.sum_of_credits"
|
||||
t-options='{"widget": "monetary", "display_currency": o.account_id.currency_id}' />
|
||||
<span t-if="o.sum_of_credits"
|
||||
t-field="o.sum_of_credits"
|
||||
t-options='{"widget": "monetary", "display_currency": o.account_id.currency_id}'/>
|
||||
</td>
|
||||
<td></td>
|
||||
</tr>
|
||||
|
@ -230,7 +237,7 @@
|
|||
<td></td>
|
||||
<td class="text-right">
|
||||
<span t-esc="o.sum_of_debits - o.sum_of_credits"
|
||||
t-options='{"widget": "monetary", "display_currency": o.account_id.currency_id}' />
|
||||
t-options='{"widget": "monetary", "display_currency": o.account_id.currency_id}'/>
|
||||
</td>
|
||||
<td></td>
|
||||
</tr>
|
||||
|
@ -247,11 +254,11 @@
|
|||
<td></td>
|
||||
<td class="text-right">
|
||||
<span t-field="o.cleared_balance"
|
||||
t-options='{"widget": "monetary", "display_currency": o.account_id.currency_id}' />
|
||||
t-options='{"widget": "monetary", "display_currency": o.account_id.currency_id}'/>
|
||||
</td>
|
||||
<td class="text-right">
|
||||
<span t-field="o.cleared_balance"
|
||||
t-options='{"widget": "monetary", "display_currency": o.account_id.currency_id}' />
|
||||
t-options='{"widget": "monetary", "display_currency": o.account_id.currency_id}'/>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
|
@ -267,7 +274,7 @@
|
|||
<td></td>
|
||||
<td class="text-right">
|
||||
<span t-field="o.ending_balance"
|
||||
t-options='{"widget": "monetary", "display_currency": o.account_id.currency_id}' />
|
||||
t-options='{"widget": "monetary", "display_currency": o.account_id.currency_id}'/>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
|
@ -283,7 +290,7 @@
|
|||
<t t-foreach="docs" t-as="o">
|
||||
<t
|
||||
t-call="account_banking_reconciliation.report_bank_statement_summary_doc"
|
||||
t-lang="o.company_id.partner_id.lang" />
|
||||
t-lang="o.company_id.partner_id.lang"/>
|
||||
</t>
|
||||
</t>
|
||||
</template>
|
||||
|
|
Loading…
Reference in New Issue