[MIG] FIX XML Formatting using pycharm

pull/268/head
Sandip Mangukiya 2017-06-01 13:12:04 +05:30 committed by Murtuza Saleh
parent 93a864d1d8
commit 4070cd5531
6 changed files with 1089 additions and 1018 deletions

View File

@ -1,14 +1,14 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<!-- QWeb Reports -->
<report id="bank_statement_detail" model="bank.acc.rec.statement"
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'" />
<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'" />
<!-- QWeb Reports -->
<report id="bank_statement_detail" model="bank.acc.rec.statement"
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'"/>
<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'"/>
</odoo>

View File

@ -1,21 +1,22 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<!-- Groups - Bank Stmt Preparer , Bank Stmt Verifier -->
<record id="group_bank_stmt_preparer" model="res.groups">
<field name="name">Bank Statement Preparer</field>
</record>
<!-- Groups - Bank Stmt Preparer , Bank Stmt Verifier -->
<record id="group_bank_stmt_preparer" model="res.groups">
<field name="name">Bank Statement Preparer</field>
</record>
<record id="group_bank_stmt_verifier" model="res.groups">
<field name="name">Bank Statement Verifier</field>
</record>
<record id="group_bank_stmt_verifier" model="res.groups">
<field name="name">Bank Statement Verifier</field>
</record>
<!-- 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>
</record>
<!-- 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>
</record>
</odoo>

View File

@ -1,246 +1,281 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<!-- Bank Account Reconciliation Statement -->
<record id="view_bank_acc_rec_statement_tree" model="ir.ui.view">
<field name="name">bank.acc.rec.statement.tree</field>
<field name="model">bank.acc.rec.statement</field>
<field name="type">tree</field>
<field name="priority">2</field>
<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" />
</tree>
</field>
</record>
<!-- Bank Account Reconciliation Statement -->
<record id="view_bank_acc_rec_statement_tree" model="ir.ui.view">
<field name="name">bank.acc.rec.statement.tree</field>
<field name="model">bank.acc.rec.statement</field>
<field name="type">tree</field>
<field name="priority">2</field>
<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"/>
</tree>
</field>
</record>
<record id="view_bank_acc_rec_statement_form" model="ir.ui.view">
<field name="name">bank.acc.rec.statement.form</field>
<field name="model">bank.acc.rec.statement</field>
<field name="type">form</field>
<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_review" type="object" states="draft"
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" />
<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" />
</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" />
</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" />
</form>
<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" />
</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">
<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" />
</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" />
</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" />
<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" />
</group>
<newline />
<separator string="Totals - Cleared and Uncleared"
colspan="2" />
<group name="totals" col="4" colspan="4">
<record id="view_bank_acc_rec_statement_form" model="ir.ui.view">
<field name="name">bank.acc.rec.statement.form</field>
<field name="model">bank.acc.rec.statement</field>
<field name="type">form</field>
<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_review" type="object" states="draft"
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"/>
<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"/>
</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"/>
</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"/>
</form>
<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"/>
</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">
<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"/>
</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"/>
</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"/>
<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"/>
</group>
<newline/>
<separator string="Totals - Cleared and Uncleared"
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" />
</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" />
</group>
</group>
<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_cur"
attrs="{'invisible':[('cleared_balance_cur','=', 0.0)]}" />
<field name="difference" />
<field name="difference_cur"
attrs="{'invisible':[('cleared_balance_cur','=', 0.0)]}" />
</group>
<group name="balance2" col="2" colspan="2">
<field name="uncleared_balance" />
<field name="uncleared_balance_cur"
attrs="{'invisible':[('uncleared_balance_cur','=', 0.0)]}" />
</group>
</group>
</page>
<page string="Other Information">
<separator string="Tracking Information" colspan="4" />
<group colspan="2" col="2">
<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" />
</group>
</page>
<page string="Notes">
<field name="notes" nolabel="1"
placeholder="Enter notes about reconciliation" />
</page>
</notebook>
</sheet>
</form>
</field>
</record>
<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"/>
</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"/>
</group>
</group>
<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_cur"
attrs="{'invisible':[('cleared_balance_cur','=', 0.0)]}"/>
<field name="difference"/>
<field name="difference_cur"
attrs="{'invisible':[('cleared_balance_cur','=', 0.0)]}"/>
</group>
<group name="balance2" col="2" colspan="2">
<field name="uncleared_balance"/>
<field name="uncleared_balance_cur"
attrs="{'invisible':[('uncleared_balance_cur','=', 0.0)]}"/>
</group>
</group>
</page>
<page string="Other Information">
<separator string="Tracking Information"
colspan="4"/>
<group colspan="2" col="2">
<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"/>
</group>
</page>
<page string="Notes">
<field name="notes" nolabel="1"
placeholder="Enter notes about reconciliation"/>
</page>
</notebook>
</sheet>
</form>
</field>
</record>
<record id="view_bank_acc_rec_statement_filter" model="ir.ui.view">
<field name="name">bank.acc.rec.statement.select</field>
<field name="model">bank.acc.rec.statement</field>
<field name="type">search</field>
<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" />
<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" />
<field name="verified_by_user_id" select="1">
<filter domain="[('verified_by_user_id','=',uid)]" help="Verified by me"
icon="terp-personal" />
</field>
<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'}" />
</group>
</search>
</field>
</record>
<record id="view_bank_acc_rec_statement_filter" model="ir.ui.view">
<field name="name">bank.acc.rec.statement.select</field>
<field name="model">bank.acc.rec.statement</field>
<field name="type">search</field>
<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"/>
<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"/>
<field name="verified_by_user_id" select="1">
<filter domain="[('verified_by_user_id','=',uid)]"
help="Verified by me"
icon="terp-personal"/>
</field>
<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'}"/>
</group>
</search>
</field>
</record>
<record id="action_bank_acc_rec_statement" model="ir.actions.act_window">
<field name="name">Bank Statements</field>
<field name="type">ir.actions.act_window</field>
<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" />
</record>
<record id="action_bank_acc_rec_statement" model="ir.actions.act_window">
<field name="name">Bank Statements</field>
<field name="type">ir.actions.act_window</field>
<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"/>
</record>
<!-- <record id="account.menu_bank_statement_tree" model="ir.ui.menu"> -->
<!-- <field name="groups_id" eval="[(4,ref('base.group_system'))]"/> -->
<!-- </record> -->
<!-- <record id="account.menu_bank_statement_tree" model="ir.ui.menu"> -->
<!-- <field name="groups_id" eval="[(4,ref('base.group_system'))]"/> -->
<!-- </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" />
<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"/>
<act_window id="act_account_move_line_to_add" name="Journal Items"
res_model="account.move.line" src_model="bank.acc.rec.statement" />
<act_window id="act_account_move_line_to_add" name="Journal Items"
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" />
<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"/>
<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" />
<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"/>
</odoo>

View File

@ -1,40 +1,42 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<!--- Journal Items -->
<!--- Journal Items -->
<record id="view_account_move_line_bank_acc_rec_statement_id"
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="type">search</field>
<field name="arch" type="xml">
<field name="move_id" position="after">
<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" />
</field>
</field>
</record>
<record id="view_account_move_line_bank_acc_rec_statement_id"
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="type">search</field>
<field name="arch" type="xml">
<field name="move_id" position="after">
<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"/>
</field>
</field>
</record>
<record id="view_account_move_line_bank_acc_rec_statement_id_form"
model="ir.ui.view">
<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="type">form</field>
<field name="arch" type="xml">
<field name="statement_id" position="after">
<field name="bank_acc_rec_statement_id" />
</field>
<field name="blocked" position="after">
<field name="cleared_bank_account" />
</field>
</field>
</record>
<record id="view_account_move_line_bank_acc_rec_statement_id_form"
model="ir.ui.view">
<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="type">form</field>
<field name="arch" type="xml">
<field name="statement_id" position="after">
<field name="bank_acc_rec_statement_id"/>
</field>
<field name="blocked" position="after">
<field name="cleared_bank_account"/>
</field>
</field>
</record>
</odoo>

View File

@ -1,448 +1,474 @@
<?xml version="1.0" encoding="utf-8"?>
<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})" />
<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" />
</h5>
<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})"/>
<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"/>
</h5>
<div class="row">
<table class="table table-condensed" t-if="not o.account_id.currency_id">
<thead>
<tr>
<th></th>
<th>Date</th>
<th class="text-center">Comment</th>
<th class="text-center">Partner</th>
<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" />
</th>
<th class="text-right">
<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">
<thead>
<tr>
<th></th>
<th>Date</th>
<th class="text-center">Comment</th>
<th class="text-center">Partner</th>
<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" />
</th>
</tr>
</thead>
</table>
<table class="table table-condensed" t-if="not o.account_id.currency_id">
<tbody class="invoice_tbody">
<tr>
<td>
<b>
<span>Initial Balance:</span>
</b>
</td>
<td></td>
<td class="text-right">
<span t-field="o.starting_balance" />
</td>
</tr>
<tr>
<td>
<b>
<span>Cleared Transactions</span>
</b>
</td>
<td></td>
<td></td>
</tr>
<tr>
<td>
<b>
<span>Deposits &amp; Credits-</span>
<span t-field="o.sum_of_debits_lines" />
items
</b>
</td>
<td></td>
<td></td>
</tr>
</tbody>
</table>
<table class="table table-condensed" t-if="o.account_id.currency_id">
<tbody class="invoice_tbody">
<tr>
<td>
<b>
<span>Initial Balance:</span>
</b>
</td>
<td></td>
<td class="text-right">
<span t-field="o.starting_balance" />
</td>
</tr>
<tr>
<td>
<b>
<span>Cleared Transactions</span>
</b>
</td>
<td></td>
<td></td>
</tr>
<tr>
<td>
<b>
<span>Deposits &amp; Credits-</span>
<span t-field="o.sum_of_debits_lines" />
items
</b>
</td>
<td></td>
<td></td>
</tr>
</tbody>
</table>
<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" />
</td>
<td>
<span t-field="debit.name" />
</td>
<td>
<span t-field="debit.partner_id.name" />
</td>
<td>
<span t-field="debit.ref" />
</td>
<td class="text-right">
<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}' />
</td>
<td class="text-right">
<span t-field="debit.amountcur"
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">
<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" />
</td>
<td>
<span t-field="debit.name" />
</td>
<td>
<span t-field="debit.partner_id.name" />
</td>
<td>
<span t-field="debit.ref" />
</td>
<td class="text-right">
<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}' />
</td>
</tr>
</tbody>
</table>
<div t-if="not o.account_id.currency_id">
<table class="table table-condensed">
<tbody class="invoice_tbody">
<tr>
<td>
<b>
<span>Total Deposits &amp; 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}' />
</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}' />
</td>
</tr>
</tbody>
</table>
<table class="table table-condensed">
<tbody class="invoice_tbody">
<tr>
<td>
<b>
<span>Checks &amp; Payments-</span>
<span t-field="o.sum_of_credits_lines" />
items
</b>
</td>
<td></td>
<td></td>
</tr>
</tbody>
</table>
</div>
<div t-if="o.account_id.currency_id">
<table class="table table-condensed">
<tbody class="invoice_tbody">
<tr>
<td>
<b>
<span>Total Deposits &amp; 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}' />
</td>
</tr>
</tbody>
</table>
<table class="table table-condensed">
<tbody class="invoice_tbody">
<tr>
<td>
<b>
<span>Checks &amp; Payments-</span>
<span t-field="o.sum_of_credits_lines" />
items
</b>
</td>
<td></td>
<td></td>
</tr>
</tbody>
</table>
</div>
<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"
t-if="credit.cleared_bank_account">
<td></td>
<td>
<span t-field="credit.date" />
</td>
<td>
<span t-field="credit.name" />
</td>
<td>
<span t-field="credit.partner_id.name" />
</td>
<td>
<span t-field="credit.ref" />
</td>
<td class="text-right">
<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}' />
</td>
<td class="text-right">
<span t-field="credit.amountcur"
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">
<tbody class="invoice_tbody">
<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" />
</td>
<td>
<span t-field="credit.name" />
</td>
<td>
<span t-field="credit.partner_id.name" />
</td>
<td>
<span t-field="credit.ref" />
</td>
<td class="text-right">
<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}' />
</td>
</tr>
</tbody>
</table>
<div t-if="not o.account_id.currency_id">
<table class="table table-condensed">
<tbody class="invoice_tbody">
<tr>
<td>
<b>
<span>Total Checks &amp; 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}' />
</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}' />
</td>
</tr>
</tbody>
</table>
<table class="table table-condensed">
<tbody class="invoice_tbody">
<tr>
<td>
<b>
<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}' />
</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}' />
</td>
</tr>
<tr>
<td>
<b>
<span>Cleared Balance</span>
</b>
</td>
<td></td>
<td class="text-right">
<span t-field="o.cleared_balance"
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}' />
</td>
</tr>
<tr>
<td>
<b>
<span>Ending Balance</span>
</b>
</td>
<td></td>
<td></td>
<td class="text-right">
<span t-field="o.ending_balance"
t-options='{"widget": "monetary", "display_currency": o.account_id.currency_id}' />
</td>
</tr>
</tbody>
</table>
</div>
<div t-if="o.account_id.currency_id">
<table class="table table-condensed">
<tbody class="invoice_tbody">
<tr>
<td>
<b>
<span>Total Deposits &amp; 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}' />
</td>
</tr>
</tbody>
</table>
<table class="table table-condensed">
<tbody class="invoice_tbody">
<tr>
<td>
<b>
<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}' />
</td>
</tr>
<tr>
<td>
<b>
<span>Cleared Balance</span>
</b>
</td>
<td></td>
<td class="text-right">
<span t-field="o.cleared_balance"
t-options='{"widget": "monetary", "display_currency": o.account_id.currency_id}' />
</td>
</tr>
<tr>
<td>
<b>
<span>Ending Balance</span>
</b>
</td>
<td></td>
<td></td>
<td class="text-right">
<span t-field="o.ending_balance"
t-options='{"widget": "monetary", "display_currency": o.account_id.currency_id}' />
</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</t>
</template>
<div class="row">
<table class="table table-condensed"
t-if="not o.account_id.currency_id">
<thead>
<tr>
<th></th>
<th>Date</th>
<th class="text-center">Comment</th>
<th class="text-center">Partner</th>
<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"/>
</th>
<th class="text-right">
<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">
<thead>
<tr>
<th></th>
<th>Date</th>
<th class="text-center">Comment</th>
<th class="text-center">Partner</th>
<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"/>
</th>
</tr>
</thead>
</table>
<table class="table table-condensed"
t-if="not o.account_id.currency_id">
<tbody class="invoice_tbody">
<tr>
<td>
<b>
<span>Initial Balance:</span>
</b>
</td>
<td></td>
<td class="text-right">
<span t-field="o.starting_balance"/>
</td>
</tr>
<tr>
<td>
<b>
<span>Cleared Transactions</span>
</b>
</td>
<td></td>
<td></td>
</tr>
<tr>
<td>
<b>
<span>Deposits &amp; Credits-</span>
<span t-field="o.sum_of_debits_lines"/>
items
</b>
</td>
<td></td>
<td></td>
</tr>
</tbody>
</table>
<table class="table table-condensed"
t-if="o.account_id.currency_id">
<tbody class="invoice_tbody">
<tr>
<td>
<b>
<span>Initial Balance:</span>
</b>
</td>
<td></td>
<td class="text-right">
<span t-field="o.starting_balance"/>
</td>
</tr>
<tr>
<td>
<b>
<span>Cleared Transactions</span>
</b>
</td>
<td></td>
<td></td>
</tr>
<tr>
<td>
<b>
<span>Deposits &amp; Credits-</span>
<span t-field="o.sum_of_debits_lines"/>
items
</b>
</td>
<td></td>
<td></td>
</tr>
</tbody>
</table>
<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"/>
</td>
<td>
<span t-field="debit.name"/>
</td>
<td>
<span t-field="debit.partner_id.name"/>
</td>
<td>
<span t-field="debit.ref"/>
</td>
<td class="text-right">
<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}'/>
</td>
<td class="text-right">
<span t-field="debit.amountcur"
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">
<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"/>
</td>
<td>
<span t-field="debit.name"/>
</td>
<td>
<span t-field="debit.partner_id.name"/>
</td>
<td>
<span t-field="debit.ref"/>
</td>
<td class="text-right">
<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}'/>
</td>
</tr>
</tbody>
</table>
<div t-if="not o.account_id.currency_id">
<table class="table table-condensed">
<tbody class="invoice_tbody">
<tr>
<td>
<b>
<span>Total Deposits &amp;
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}'/>
</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}'/>
</td>
</tr>
</tbody>
</table>
<table class="table table-condensed">
<tbody class="invoice_tbody">
<tr>
<td>
<b>
<span>Checks &amp; Payments-</span>
<span t-field="o.sum_of_credits_lines"/>
items
</b>
</td>
<td></td>
<td></td>
</tr>
</tbody>
</table>
</div>
<div t-if="o.account_id.currency_id">
<table class="table table-condensed">
<tbody class="invoice_tbody">
<tr>
<td>
<b>
<span>Total Deposits &amp;
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}'/>
</td>
</tr>
</tbody>
</table>
<table class="table table-condensed">
<tbody class="invoice_tbody">
<tr>
<td>
<b>
<span>Checks &amp; Payments-</span>
<span t-field="o.sum_of_credits_lines"/>
items
</b>
</td>
<td></td>
<td></td>
</tr>
</tbody>
</table>
</div>
<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"
t-if="credit.cleared_bank_account">
<td></td>
<td>
<span t-field="credit.date"/>
</td>
<td>
<span t-field="credit.name"/>
</td>
<td>
<span t-field="credit.partner_id.name"/>
</td>
<td>
<span t-field="credit.ref"/>
</td>
<td class="text-right">
<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}'/>
</td>
<td class="text-right">
<span t-field="credit.amountcur"
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">
<tbody class="invoice_tbody">
<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"/>
</td>
<td>
<span t-field="credit.name"/>
</td>
<td>
<span t-field="credit.partner_id.name"/>
</td>
<td>
<span t-field="credit.ref"/>
</td>
<td class="text-right">
<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}'/>
</td>
</tr>
</tbody>
</table>
<div t-if="not o.account_id.currency_id">
<table class="table table-condensed">
<tbody class="invoice_tbody">
<tr>
<td>
<b>
<span>Total Checks &amp; 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}'/>
</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}'/>
</td>
</tr>
</tbody>
</table>
<table class="table table-condensed">
<tbody class="invoice_tbody">
<tr>
<td>
<b>
<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}'/>
</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}'/>
</td>
</tr>
<tr>
<td>
<b>
<span>Cleared Balance</span>
</b>
</td>
<td></td>
<td class="text-right">
<span t-field="o.cleared_balance"
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}'/>
</td>
</tr>
<tr>
<td>
<b>
<span>Ending Balance</span>
</b>
</td>
<td></td>
<td></td>
<td class="text-right">
<span t-field="o.ending_balance"
t-options='{"widget": "monetary", "display_currency": o.account_id.currency_id}'/>
</td>
</tr>
</tbody>
</table>
</div>
<div t-if="o.account_id.currency_id">
<table class="table table-condensed">
<tbody class="invoice_tbody">
<tr>
<td>
<b>
<span>Total Deposits &amp;
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}'/>
</td>
</tr>
</tbody>
</table>
<table class="table table-condensed">
<tbody class="invoice_tbody">
<tr>
<td>
<b>
<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}'/>
</td>
</tr>
<tr>
<td>
<b>
<span>Cleared Balance</span>
</b>
</td>
<td></td>
<td class="text-right">
<span t-field="o.cleared_balance"
t-options='{"widget": "monetary", "display_currency": o.account_id.currency_id}'/>
</td>
</tr>
<tr>
<td>
<b>
<span>Ending Balance</span>
</b>
</td>
<td></td>
<td></td>
<td class="text-right">
<span t-field="o.ending_balance"
t-options='{"widget": "monetary", "display_currency": o.account_id.currency_id}'/>
</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</t>
</template>
<template id="report_bank_statement_detail">
<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>
</t>
</template>
<template id="report_bank_statement_detail">
<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>
</t>
</template>
</odoo>

View File

@ -1,290 +1,297 @@
<?xml version="1.0" encoding="utf-8"?>
<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})" />
<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" />
</h5>
<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})"/>
<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"/>
</h5>
<div class="row" t-if="not o.account_id.currency_id">
<table class="table table-condensed">
<tbody class="invoice_tbody">
<tr>
<td>
<b>
<span>Initial Balance:</span>
</b>
</td>
<td></td>
<td class="text-right">
<span t-field="o.starting_balance"
t-options='{"widget": "monetary", "display_currency": o.account_id.currency_id}' />
</td>
</tr>
</tbody>
</table>
<table class="table table-condensed">
<tbody class="invoice_tbody">
<tr>
<td></td>
<td>
<b>
<span>Deposits &amp; Credits-</span>
<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}' />
</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}' />
</td>
<td></td>
</tr>
<tr>
<td></td>
<td>
<b>
<span>Checks &amp; Payments-</span>
<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}' />
</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}' />
</td>
<td></td>
</tr>
</tbody>
</table>
<table class="table table-condensed">
<tbody class="invoice_tbody">
<tr>
<td></td>
<td>
<b>
<span>Total Cleared Transactions</span>
</b>
</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}' />
</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}' />
</td>
<td></td>
</tr>
</tbody>
</table>
<table class="table table-condensed">
<tbody class="invoice_tbody">
<tr>
<td>
<b>
<span>Cleared Balance</span>
</b>
</td>
<td class="text-right">
<span t-field="o.cleared_balance"
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}' />
</td>
<td class="text-right">
<b>
<span t-field="o.cleared_balance_cur"
t-options='{"widget": "monetary", "display_currency": o.account_id.currency_id}' />
</b>
</td>
</tr>
</tbody>
</table>
<table class="table table-condensed">
<tbody class="invoice_tbody">
<tr>
<td>
<b>
<span>Ending Balance:</span>
</b>
</td>
<td></td>
<td class="text-right">
<span t-field="o.ending_balance"
t-options='{"widget": "monetary", "display_currency": o.account_id.currency_id}' />
</td>
</tr>
</tbody>
</table>
</div>
<div class="row" t-if="not o.account_id.currency_id">
<table class="table table-condensed">
<tbody class="invoice_tbody">
<tr>
<td>
<b>
<span>Initial Balance:</span>
</b>
</td>
<td></td>
<td class="text-right">
<span t-field="o.starting_balance"
t-options='{"widget": "monetary", "display_currency": o.account_id.currency_id}'/>
</td>
</tr>
</tbody>
</table>
<table class="table table-condensed">
<tbody class="invoice_tbody">
<tr>
<td></td>
<td>
<b>
<span>Deposits &amp; Credits-</span>
<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}'/>
</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}'/>
</td>
<td></td>
</tr>
<tr>
<td></td>
<td>
<b>
<span>Checks &amp; Payments-</span>
<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}'/>
</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}'/>
</td>
<td></td>
</tr>
</tbody>
</table>
<table class="table table-condensed">
<tbody class="invoice_tbody">
<tr>
<td></td>
<td>
<b>
<span>Total Cleared Transactions</span>
</b>
</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}'/>
</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}'/>
</td>
<td></td>
</tr>
</tbody>
</table>
<table class="table table-condensed">
<tbody class="invoice_tbody">
<tr>
<td>
<b>
<span>Cleared Balance</span>
</b>
</td>
<td class="text-right">
<span t-field="o.cleared_balance"
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}'/>
</td>
<td class="text-right">
<b>
<span t-field="o.cleared_balance_cur"
t-options='{"widget": "monetary", "display_currency": o.account_id.currency_id}'/>
</b>
</td>
</tr>
</tbody>
</table>
<table class="table table-condensed">
<tbody class="invoice_tbody">
<tr>
<td>
<b>
<span>Ending Balance:</span>
</b>
</td>
<td></td>
<td class="text-right">
<span t-field="o.ending_balance"
t-options='{"widget": "monetary", "display_currency": o.account_id.currency_id}'/>
</td>
</tr>
</tbody>
</table>
</div>
<div class="row" t-if="o.account_id.currency_id">
<table class="table table-condensed">
<tbody class="invoice_tbody">
<tr>
<td>
<b>
<span>Initial Balance:</span>
</b>
</td>
<td></td>
<td class="text-right">
<span t-field="o.starting_balance"
t-options='{"widget": "monetary", "display_currency": o.account_id.currency_id}' />
</td>
</tr>
</tbody>
</table>
<table class="table table-condensed">
<tbody class="invoice_tbody">
<tr>
<td>
<b>
<span>Ending Balance:</span>
</b>
</td>
<td></td>
<td class="text-right">
<span t-field="o.ending_balance"
t-options='{"widget": "monetary", "display_currency": o.account_id.currency_id}' />
</td>
</tr>
</tbody>
</table>
<table class="table table-condensed">
<tbody class="invoice_tbody">
<tr>
<td></td>
<td>
<b>
<span>Cleared Transactions</span>
</b>
</td>
<td></td>
<td></td>
</tr>
</tbody>
</table>
<table class="table table-condensed">
<tbody class="invoice_tbody">
<tr>
<td></td>
<td>
<b>
<span>Deposits &amp; Credits-</span>
<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}' />
</td>
<td></td>
</tr>
<tr>
<td></td>
<td>
<b>
<span>Checks &amp; Payments-</span>
<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}' />
</td>
<td></td>
</tr>
</tbody>
</table>
<table class="table table-condensed">
<tbody class="invoice_tbody">
<tr>
<td></td>
<td>
<b>
<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}' />
</td>
<td></td>
</tr>
</tbody>
</table>
<table class="table table-condensed">
<tbody class="invoice_tbody">
<tr>
<td>
<b>
<span>Cleared Balance</span>
</b>
</td>
<td></td>
<td class="text-right">
<span t-field="o.cleared_balance"
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}' />
</td>
</tr>
</tbody>
</table>
<table class="table table-condensed">
<tbody class="invoice_tbody">
<tr>
<td>
<b>
<span>Ending Balance:</span>
</b>
</td>
<td></td>
<td class="text-right">
<span t-field="o.ending_balance"
t-options='{"widget": "monetary", "display_currency": o.account_id.currency_id}' />
</td>
</tr>
</tbody>
</table>
</div>
<div class="row" t-if="o.account_id.currency_id">
<table class="table table-condensed">
<tbody class="invoice_tbody">
<tr>
<td>
<b>
<span>Initial Balance:</span>
</b>
</td>
<td></td>
<td class="text-right">
<span t-field="o.starting_balance"
t-options='{"widget": "monetary", "display_currency": o.account_id.currency_id}'/>
</td>
</tr>
</tbody>
</table>
<table class="table table-condensed">
<tbody class="invoice_tbody">
<tr>
<td>
<b>
<span>Ending Balance:</span>
</b>
</td>
<td></td>
<td class="text-right">
<span t-field="o.ending_balance"
t-options='{"widget": "monetary", "display_currency": o.account_id.currency_id}'/>
</td>
</tr>
</tbody>
</table>
<table class="table table-condensed">
<tbody class="invoice_tbody">
<tr>
<td></td>
<td>
<b>
<span>Cleared Transactions</span>
</b>
</td>
<td></td>
<td></td>
</tr>
</tbody>
</table>
<table class="table table-condensed">
<tbody class="invoice_tbody">
<tr>
<td></td>
<td>
<b>
<span>Deposits &amp; Credits-</span>
<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}'/>
</td>
<td></td>
</tr>
<tr>
<td></td>
<td>
<b>
<span>Checks &amp; Payments-</span>
<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}'/>
</td>
<td></td>
</tr>
</tbody>
</table>
<table class="table table-condensed">
<tbody class="invoice_tbody">
<tr>
<td></td>
<td>
<b>
<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}'/>
</td>
<td></td>
</tr>
</tbody>
</table>
<table class="table table-condensed">
<tbody class="invoice_tbody">
<tr>
<td>
<b>
<span>Cleared Balance</span>
</b>
</td>
<td></td>
<td class="text-right">
<span t-field="o.cleared_balance"
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}'/>
</td>
</tr>
</tbody>
</table>
<table class="table table-condensed">
<tbody class="invoice_tbody">
<tr>
<td>
<b>
<span>Ending Balance:</span>
</b>
</td>
<td></td>
<td class="text-right">
<span t-field="o.ending_balance"
t-options='{"widget": "monetary", "display_currency": o.account_id.currency_id}'/>
</td>
</tr>
</tbody>
</table>
</div>
</div>
</t>
</template>
</div>
</t>
</template>
<template id="report_bank_statement_summary">
<t t-call="report.html_container">
<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>
</t>
</template>
<template id="report_bank_statement_summary">
<t t-call="report.html_container">
<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>
</t>
</template>
</odoo>