[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"?> <?xml version="1.0" encoding="utf-8"?>
<odoo> <odoo>
<!-- QWeb Reports --> <!-- QWeb Reports -->
<report id="bank_statement_detail" model="bank.acc.rec.statement" <report id="bank_statement_detail" model="bank.acc.rec.statement"
string="Bank Statement-Detail" report_type="qweb-pdf" string="Bank Statement-Detail" report_type="qweb-pdf"
name="account_banking_reconciliation.report_bank_statement_detail" name="account_banking_reconciliation.report_bank_statement_detail"
file="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" <report id="bank_statement_summary" model="bank.acc.rec.statement"
string="Bank Statement-Summary" report_type="qweb-pdf" string="Bank Statement-Summary" report_type="qweb-pdf"
name="account_banking_reconciliation.report_bank_statement_summary" name="account_banking_reconciliation.report_bank_statement_summary"
file="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> </odoo>

View File

@ -1,21 +1,22 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<odoo> <odoo>
<!-- Groups - Bank Stmt Preparer , Bank Stmt Verifier --> <!-- Groups - Bank Stmt Preparer , Bank Stmt Verifier -->
<record id="group_bank_stmt_preparer" model="res.groups"> <record id="group_bank_stmt_preparer" model="res.groups">
<field name="name">Bank Statement Preparer</field> <field name="name">Bank Statement Preparer</field>
</record> </record>
<record id="group_bank_stmt_verifier" model="res.groups"> <record id="group_bank_stmt_verifier" model="res.groups">
<field name="name">Bank Statement Verifier</field> <field name="name">Bank Statement Verifier</field>
</record> </record>
<!-- Security Rule for Bank Rec Stmts --> <!-- Security Rule for Bank Rec Stmts -->
<record id="npg_bank_account_reconciliation_comp_rule" model="ir.rule"> <record id="npg_bank_account_reconciliation_comp_rule" model="ir.rule">
<field name="name">Bank Statements</field> <field name="name">Bank Statements</field>
<field ref="model_bank_acc_rec_statement" name="model_id" /> <field ref="model_bank_acc_rec_statement" name="model_id"/>
<field eval="True" name="global" /> <field eval="True" name="global"/>
<field name="domain_force">['|',('company_id','=',False),('company_id','child_of',[user.company_id.id])] <field name="domain_force">
</field> ['|',('company_id','=',False),('company_id','child_of',[user.company_id.id])]
</record> </field>
</record>
</odoo> </odoo>

View File

@ -1,246 +1,281 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<odoo> <odoo>
<!-- Bank Account Reconciliation Statement --> <!-- Bank Account Reconciliation Statement -->
<record id="view_bank_acc_rec_statement_tree" model="ir.ui.view"> <record id="view_bank_acc_rec_statement_tree" model="ir.ui.view">
<field name="name">bank.acc.rec.statement.tree</field> <field name="name">bank.acc.rec.statement.tree</field>
<field name="model">bank.acc.rec.statement</field> <field name="model">bank.acc.rec.statement</field>
<field name="type">tree</field> <field name="type">tree</field>
<field name="priority">2</field> <field name="priority">2</field>
<field name="arch" type="xml"> <field name="arch" type="xml">
<tree string="Bank Account Reconciliation Statements" <tree string="Bank Account Reconciliation Statements"
colors="grey:state=='cancel';blue:state in ('to_be_reviewed')"> colors="grey:state=='cancel';blue:state in ('to_be_reviewed')">
<field name="name" /> <field name="name"/>
<field name="ending_date" /> <field name="ending_date"/>
<field name="account_id" /> <field name="account_id"/>
<field name="verified_by_user_id" /> <field name="verified_by_user_id"/>
<field name="state" /> <field name="state"/>
</tree> </tree>
</field> </field>
</record> </record>
<record id="view_bank_acc_rec_statement_form" model="ir.ui.view"> <record id="view_bank_acc_rec_statement_form" model="ir.ui.view">
<field name="name">bank.acc.rec.statement.form</field> <field name="name">bank.acc.rec.statement.form</field>
<field name="model">bank.acc.rec.statement</field> <field name="model">bank.acc.rec.statement</field>
<field name="type">form</field> <field name="type">form</field>
<field name="arch" type="xml"> <field name="arch" type="xml">
<form string="Bank Account Reconciliation Statement" version="7.0"> <form string="Bank Account Reconciliation Statement" version="7.0">
<header> <header>
<button name="action_cancel" type="object" states="draft,to_be_reviewed" <button name="action_cancel" type="object"
string="Cancel" icon="fa-ban" /> states="draft,to_be_reviewed"
<button name="action_review" type="object" states="draft" string="Cancel" icon="fa-ban"/>
string="Ready for Review" icon="fa-forward" /> <button name="action_review" type="object" states="draft"
<button name="action_process" type="object" states="to_be_reviewed" string="Ready for Review" icon="fa-forward"/>
string="Process" /> <button name="action_process" type="object"
<button name="action_cancel_draft" states="cancel,done" states="to_be_reviewed"
string="Set to Draft" type="object" /> string="Process"/>
<button name='refresh_record' string='Refresh' <button name="action_cancel_draft" states="cancel,done"
confirm="Current edits in statement will be lost. Do you want to refresh?" string="Set to Draft" type="object"/>
states="draft" type='object' /> <button name='refresh_record' string='Refresh'
<field name="state" widget="statusbar" nolabel="1" /> confirm="Current edits in statement will be lost. Do you want to refresh?"
</header> states="draft" type='object'/>
<sheet> <field name="state" widget="statusbar" nolabel="1"/>
<group col="4" colspan="4"> </header>
<field name="account_id" placeholder="Enter Account Name" /> <sheet>
<field name="name" placeholder="Enter Name" /> <group col="4" colspan="4">
<field name="ending_date" placeholder="Enter ending date" /> <field name="account_id"
<field name="starting_balance" placeholder="Enter Starting Balance" /> placeholder="Enter Account Name"/>
<field name="ending_balance" placeholder="Enter Ending Balance" /> <field name="name" placeholder="Enter Name"/>
<field name="last_ending_date" placeholder="Last Statement Date" <field name="ending_date"
readonly="1" /> placeholder="Enter ending date"/>
<field name="suppress_ending_date_filter" /> <field name="starting_balance"
<field name="company_id" groups="base.group_multi_company" placeholder="Enter Starting Balance"/>
placeholder="Enter Company Name" /> <field name="ending_balance"
</group> placeholder="Enter Ending Balance"/>
<notebook colspan="5"> <field name="last_ending_date"
<page string="Journal Items"> placeholder="Last Statement Date"
<label for='account_label' string='Deposits, Credits, and Interest' /> readonly="1"/>
<field colspan="4" mode="tree" name="debit_move_line_ids" <field name="suppress_ending_date_filter"/>
nolabel="1" widget="one2many_list" height="300"> <field name="company_id"
<form string="Deposits, Credits, and Interest" version="7.0"> groups="base.group_multi_company"
<field name="cleared_bank_account" /> placeholder="Enter Company Name"/>
<field name="date" readonly="1" /> </group>
<field name="name" readonly="1" /> <notebook colspan="5">
<field name="ref" readonly="1" /> <page string="Journal Items">
<field name="partner_id" readonly="1" /> <label for='account_label'
<field name="amount" readonly="1" /> string='Deposits, Credits, and Interest'/>
<field name="amountcur" readonly="1" /> <field colspan="4" mode="tree"
<field name="currency_id" readonly="1" /> name="debit_move_line_ids"
<field name="research_required" readonly="1" /> nolabel="1" widget="one2many_list"
</form> height="300">
<tree string="Deposits, Credits, and Interest" editable="top" <form string="Deposits, Credits, and Interest"
mute_additem="draft,to_be_reviewed,done, cancel"> version="7.0">
<field name="cleared_bank_account" /> <field name="cleared_bank_account"/>
<field name="date" readonly="1" /> <field name="date" readonly="1"/>
<field name="name" readonly="1" /> <field name="name" readonly="1"/>
<field name="ref" readonly="1" /> <field name="ref" readonly="1"/>
<field name="partner_id" readonly="1" /> <field name="partner_id" readonly="1"/>
<field name="amount" readonly="1" /> <field name="amount" readonly="1"/>
<field name="amountcur" readonly="1" /> <field name="amountcur" readonly="1"/>
<field name="currency_id" readonly="1" /> <field name="currency_id" readonly="1"/>
<field name="research_required" /> <field name="research_required"
<field name="move_line_id" readonly="1" /> readonly="1"/>
</tree> </form>
</field> <tree string="Deposits, Credits, and Interest"
<label for='account_label2' editable="top"
string='Checks, Withdrawals, Debits, and Service Charges' /> mute_additem="draft,to_be_reviewed,done, cancel">
<field colspan="4" mode="tree" name="credit_move_line_ids" <field name="cleared_bank_account"/>
nolabel="1" widget="one2many_list" height="300"> <field name="date" readonly="1"/>
<form string="Checks, Withdrawals, Debits, and Service Charges" <field name="name" readonly="1"/>
version="7.0"> <field name="ref" readonly="1"/>
<field name="cleared_bank_account" /> <field name="partner_id" readonly="1"/>
<field name="date" readonly="1" /> <field name="amount" readonly="1"/>
<field name="name" readonly="1" /> <field name="amountcur" readonly="1"/>
<field name="ref" readonly="1" /> <field name="currency_id" readonly="1"/>
<field name="partner_id" readonly="1" /> <field name="research_required"/>
<field name="amount" readonly="1" /> <field name="move_line_id" readonly="1"/>
<field name="amountcur" readonly="1" /> </tree>
<field name="currency_id" readonly="1" /> </field>
<field name="research_required" readonly="1" /> <label for='account_label2'
</form> string='Checks, Withdrawals, Debits, and Service Charges'/>
<tree string="Checks, Withdrawals, Debits, and Service Charges" <field colspan="4" mode="tree"
editable="top" mute_additem="draft,to_be_reviewed,done, cancel"> name="credit_move_line_ids"
<field name="cleared_bank_account" /> nolabel="1" widget="one2many_list"
<field name="date" readonly="1" /> height="300">
<field name="name" readonly="1" /> <form string="Checks, Withdrawals, Debits, and Service Charges"
<field name="ref" readonly="1" /> version="7.0">
<field name="partner_id" readonly="1" /> <field name="cleared_bank_account"/>
<field name="amount" readonly="1" /> <field name="date" readonly="1"/>
<field name="amountcur" readonly="1" /> <field name="name" readonly="1"/>
<field name="currency_id" readonly="1" /> <field name="ref" readonly="1"/>
<field name="research_required" /> <field name="partner_id" readonly="1"/>
<field name="move_line_id" readonly="1" /> <field name="amount" readonly="1"/>
</tree> <field name="amountcur" readonly="1"/>
</field> <field name="currency_id" readonly="1"/>
<group col="2" colspan="1" <field name="research_required"
groups="account_banking_reconciliation.group_bank_stmt_verifier"> readonly="1"/>
<button name="action_select_all" </form>
confirm="Current edits in statement will be lost. Do you want to select all?" <tree string="Checks, Withdrawals, Debits, and Service Charges"
type="object" states="draft,to_be_reviewed" string="Select All" editable="top"
icon="gtk-go-forward" /> mute_additem="draft,to_be_reviewed,done, cancel">
<button name="action_unselect_all" <field name="cleared_bank_account"/>
confirm="Current edits in statement will be lost. Do you want to unselect all?" <field name="date" readonly="1"/>
type="object" states="draft,to_be_reviewed" string="Unselect All" <field name="name" readonly="1"/>
icon="gtk-cancel" /> <field name="ref" readonly="1"/>
</group> <field name="partner_id" readonly="1"/>
<newline /> <field name="amount" readonly="1"/>
<separator string="Totals - Cleared and Uncleared" <field name="amountcur" readonly="1"/>
colspan="2" /> <field name="currency_id" readonly="1"/>
<group name="totals" col="4" colspan="4"> <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"> <group name="total1" col="2" colspan="2">
<field name="sum_of_debits" /> <field name="sum_of_debits"/>
<field name="sum_of_debits_cur" /> <field name="sum_of_debits_cur"/>
<field name="sum_of_debits_lines" /> <field name="sum_of_debits_lines"/>
<field name="sum_of_credits" /> <field name="sum_of_credits"/>
<field name="sum_of_credits_cur" /> <field name="sum_of_credits_cur"/>
<field name="sum_of_credits_lines" /> <field name="sum_of_credits_lines"/>
</group> </group>
<group name="total2" col="2" colspan="2"> <group name="total2" col="2" colspan="2">
<field name="sum_of_udebits" /> <field name="sum_of_udebits"/>
<field name="sum_of_udebits_cur" /> <field name="sum_of_udebits_cur"/>
<field name="sum_of_udebits_lines" /> <field name="sum_of_udebits_lines"/>
<field name="sum_of_ucredits" /> <field name="sum_of_ucredits"/>
<field name="sum_of_ucredits_cur" /> <field name="sum_of_ucredits_cur"/>
<field name="sum_of_ucredits_lines" /> <field name="sum_of_ucredits_lines"/>
</group> </group>
</group> </group>
<newline /> <newline/>
<separator string="Balances - Cleared and Uncleared" /> <separator
<group name="balances" col="4" colspan="4"> string="Balances - Cleared and Uncleared"/>
<group name="balance1" col="2" colspan="2"> <group name="balances" col="4" colspan="4">
<field name="cleared_balance" /> <group name="balance1" col="2" colspan="2">
<field name="cleared_balance_cur" <field name="cleared_balance"/>
attrs="{'invisible':[('cleared_balance_cur','=', 0.0)]}" /> <field name="cleared_balance_cur"
<field name="difference" /> attrs="{'invisible':[('cleared_balance_cur','=', 0.0)]}"/>
<field name="difference_cur" <field name="difference"/>
attrs="{'invisible':[('cleared_balance_cur','=', 0.0)]}" /> <field name="difference_cur"
</group> attrs="{'invisible':[('cleared_balance_cur','=', 0.0)]}"/>
<group name="balance2" col="2" colspan="2"> </group>
<field name="uncleared_balance" /> <group name="balance2" col="2" colspan="2">
<field name="uncleared_balance_cur" <field name="uncleared_balance"/>
attrs="{'invisible':[('uncleared_balance_cur','=', 0.0)]}" /> <field name="uncleared_balance_cur"
</group> attrs="{'invisible':[('uncleared_balance_cur','=', 0.0)]}"/>
</group> </group>
</page> </group>
<page string="Other Information"> </page>
<separator string="Tracking Information" colspan="4" /> <page string="Other Information">
<group colspan="2" col="2"> <separator string="Tracking Information"
<field name="verified_by_user_id" placeholder="Enter user whoever varified" /> colspan="4"/>
</group> <group colspan="2" col="2">
<group colspan="2" col="2"> <field name="verified_by_user_id"
<field name="verified_date" placeholder="Enter date of varification" /> placeholder="Enter user whoever varified"/>
</group> </group>
</page> <group colspan="2" col="2">
<page string="Notes"> <field name="verified_date"
<field name="notes" nolabel="1" placeholder="Enter date of varification"/>
placeholder="Enter notes about reconciliation" /> </group>
</page> </page>
</notebook> <page string="Notes">
</sheet> <field name="notes" nolabel="1"
</form> placeholder="Enter notes about reconciliation"/>
</field> </page>
</record> </notebook>
</sheet>
</form>
</field>
</record>
<record id="view_bank_acc_rec_statement_filter" model="ir.ui.view"> <record id="view_bank_acc_rec_statement_filter" model="ir.ui.view">
<field name="name">bank.acc.rec.statement.select</field> <field name="name">bank.acc.rec.statement.select</field>
<field name="model">bank.acc.rec.statement</field> <field name="model">bank.acc.rec.statement</field>
<field name="type">search</field> <field name="type">search</field>
<field name="arch" type="xml"> <field name="arch" type="xml">
<search string="Search Bank Account Reconciliation Statements"> <search string="Search Bank Account Reconciliation Statements">
<filter icon="terp-document-new" string="Draft" <filter icon="terp-document-new" string="Draft"
domain="[('state','=','draft')]" help="Statements that haven't yet been confirmed" /> domain="[('state','=','draft')]"
<filter icon="terp-dolar" string="To be Reviewed" help="Statements that haven't yet been confirmed"/>
domain="[('state','=','to_be_reviewed')]" help="Statements that are ready for review" /> <filter icon="terp-dolar" string="To be Reviewed"
<filter icon="terp-check" string="Done" domain="[('state','=','done')]" domain="[('state','=','to_be_reviewed')]"
help="Statements that have been processed" /> help="Statements that are ready for review"/>
<separator orientation="vertical" /> <filter icon="terp-check" string="Done"
<field name="name" select="1" /> domain="[('state','=','done')]"
<field name="ending_date" select="1" string="Ending Date" /> help="Statements that have been processed"/>
<field name="account_id" select="1" /> <separator orientation="vertical"/>
<field name="verified_by_user_id" select="1"> <field name="name" select="1"/>
<filter domain="[('verified_by_user_id','=',uid)]" help="Verified by me" <field name="ending_date" select="1" string="Ending Date"/>
icon="terp-personal" /> <field name="account_id" select="1"/>
</field> <field name="verified_by_user_id" select="1">
<newline /> <filter domain="[('verified_by_user_id','=',uid)]"
<group expand="0" string="Group By..." colspan="11" col="11" help="Verified by me"
groups="base.group_extended"> icon="terp-personal"/>
<filter string="Account" icon="terp-personal" domain="[]" </field>
context="{'group_by':'account_id'}" /> <newline/>
<separator orientation="vertical" /> <group expand="0" string="Group By..." colspan="11" col="11"
<filter string="State" icon="terp-stock_effects-object-colorize" groups="base.group_extended">
domain="[]" context="{'group_by':'state'}" /> <filter string="Account" icon="terp-personal" domain="[]"
</group> context="{'group_by':'account_id'}"/>
</search> <separator orientation="vertical"/>
</field> <filter string="State"
</record> 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"> <record id="action_bank_acc_rec_statement" model="ir.actions.act_window">
<field name="name">Bank Statements</field> <field name="name">Bank Statements</field>
<field name="type">ir.actions.act_window</field> <field name="type">ir.actions.act_window</field>
<field name="res_model">bank.acc.rec.statement</field> <field name="res_model">bank.acc.rec.statement</field>
<field name="view_type">form</field> <field name="view_type">form</field>
<field name="view_mode">tree,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>
<!-- <record id="account.menu_bank_statement_tree" model="ir.ui.menu"> --> <!-- <record id="account.menu_bank_statement_tree" model="ir.ui.menu"> -->
<!-- <field name="groups_id" eval="[(4,ref('base.group_system'))]"/> --> <!-- <field name="groups_id" eval="[(4,ref('base.group_system'))]"/> -->
<!-- </record> --> <!-- </record> -->
<menuitem icon="STOCK_JUSTIFY_FILL" action="action_bank_acc_rec_statement" <menuitem icon="STOCK_JUSTIFY_FILL" action="action_bank_acc_rec_statement"
id="npg_bank_acc_rec_statement_menu" parent="account.menu_finance_configuration" id="npg_bank_acc_rec_statement_menu"
sequence="5" /> parent="account.menu_finance_configuration"
sequence="5"/>
<act_window id="act_account_move_line_to_add" name="Journal Items" <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" <act_window id="act_supplier_payment_to_add" name="Supplier Payment"
domain="[('journal_id.type', 'in', ['bank', 'cash']), ('type','=','receipt')]" 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" <act_window id="act_customer_payment_to_add" name="Customer Payment"
domain="[('journal_id.type', 'in', ['bank', 'cash']), ('type','=','receipt')]" 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> </odoo>

View File

@ -1,40 +1,42 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<odoo> <odoo>
<!--- Journal Items --> <!--- Journal Items -->
<record id="view_account_move_line_bank_acc_rec_statement_id" <record id="view_account_move_line_bank_acc_rec_statement_id"
model="ir.ui.view"> model="ir.ui.view">
<field name="name">account.move.line.bank.acc.rec.statement.id</field> <field name="name">account.move.line.bank.acc.rec.statement.id</field>
<field name="model">account.move.line</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="type">search</field>
<field name="arch" type="xml"> <field name="arch" type="xml">
<field name="move_id" position="after"> <field name="move_id" position="after">
<field name="bank_acc_rec_statement_id" /> <field name="bank_acc_rec_statement_id"/>
</field> </field>
<field name="move_id" position="before"> <field name="move_id" position="before">
<filter icon="terp-document-new" string="Uncleared Bank Account" <filter icon="terp-document-new"
domain="[('cleared_bank_account','=',False)]" help="Journal Entries not cleared" /> string="Uncleared Bank Account"
<separator orientation="vertical" /> domain="[('cleared_bank_account','=',False)]"
</field> help="Journal Entries not cleared"/>
</field> <separator orientation="vertical"/>
</record> </field>
</field>
</record>
<record id="view_account_move_line_bank_acc_rec_statement_id_form" <record id="view_account_move_line_bank_acc_rec_statement_id_form"
model="ir.ui.view"> model="ir.ui.view">
<field name="name">account.move.line.bank.acc.rec.statement.id.form <field name="name">account.move.line.bank.acc.rec.statement.id.form
</field> </field>
<field name="model">account.move.line</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="type">form</field>
<field name="arch" type="xml"> <field name="arch" type="xml">
<field name="statement_id" position="after"> <field name="statement_id" position="after">
<field name="bank_acc_rec_statement_id" /> <field name="bank_acc_rec_statement_id"/>
</field> </field>
<field name="blocked" position="after"> <field name="blocked" position="after">
<field name="cleared_bank_account" /> <field name="cleared_bank_account"/>
</field> </field>
</field> </field>
</record> </record>
</odoo> </odoo>

View File

@ -1,448 +1,474 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<odoo> <odoo>
<template id="report_bank_statement_detail_doc"> <template id="report_bank_statement_detail_doc">
<t t-call="report.external_layout"> <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"
<div class="page"> t-value="o.with_context({'lang':o.company_id.partner_id.lang})"/>
<h2 style='text-align:center;'> <div class="page">
Reconciliation Detail <h2 style='text-align:center;'>
</h2> Reconciliation Detail
<h5 style='text-align:center;'> </h2>
<span>Period Ending</span> <h5 style='text-align:center;'>
<span t-field="o.ending_date" /> <span>Period Ending</span>
</h5> <span t-field="o.ending_date"/>
</h5>
<div class="row"> <div class="row">
<table class="table table-condensed" t-if="not o.account_id.currency_id"> <table class="table table-condensed"
<thead> t-if="not o.account_id.currency_id">
<tr> <thead>
<th></th> <tr>
<th>Date</th> <th></th>
<th class="text-center">Comment</th> <th>Date</th>
<th class="text-center">Partner</th> <th class="text-center">Comment</th>
<th class="text-right">Reference</th> <th class="text-center">Partner</th>
<th class="text-right">Cleared</th> <th class="text-right">Reference</th>
<th class="text-right"> <th class="text-right">Cleared</th>
<span t-field="o.company_id.currency_id.symbol" /> <th class="text-right">
</th> <span t-field="o.company_id.currency_id.symbol"/>
<th class="text-right"> </th>
<span t-field="o.account_id.currency_id.symbol" /> <th class="text-right">
</th> <span t-field="o.account_id.currency_id.symbol"/>
</tr> </th>
</thead> </tr>
</table> </thead>
<table class="table table-condensed" t-if="o.account_id.currency_id"> </table>
<thead> <table class="table table-condensed"
<tr> t-if="o.account_id.currency_id">
<th></th> <thead>
<th>Date</th> <tr>
<th class="text-center">Comment</th> <th></th>
<th class="text-center">Partner</th> <th>Date</th>
<th class="text-right">Reference</th> <th class="text-center">Comment</th>
<th class="text-right">Cleared</th> <th class="text-center">Partner</th>
<th class="text-right"> <th class="text-right">Reference</th>
<span t-field="o.company_id.currency_id.symbol" /> <th class="text-right">Cleared</th>
</th> <th class="text-right">
</tr> <span t-field="o.company_id.currency_id.symbol"/>
</thead> </th>
</table> </tr>
<table class="table table-condensed" t-if="not o.account_id.currency_id"> </thead>
<tbody class="invoice_tbody"> </table>
<tr> <table class="table table-condensed"
<td> t-if="not o.account_id.currency_id">
<b> <tbody class="invoice_tbody">
<span>Initial Balance:</span> <tr>
</b> <td>
</td> <b>
<td></td> <span>Initial Balance:</span>
<td class="text-right"> </b>
<span t-field="o.starting_balance" /> </td>
</td> <td></td>
</tr> <td class="text-right">
<tr> <span t-field="o.starting_balance"/>
<td> </td>
<b> </tr>
<span>Cleared Transactions</span> <tr>
</b> <td>
</td> <b>
<td></td> <span>Cleared Transactions</span>
<td></td> </b>
</tr> </td>
<tr> <td></td>
<td> <td></td>
<b> </tr>
<span>Deposits &amp; Credits-</span> <tr>
<span t-field="o.sum_of_debits_lines" /> <td>
items <b>
</b> <span>Deposits &amp; Credits-</span>
</td> <span t-field="o.sum_of_debits_lines"/>
<td></td> items
<td></td> </b>
</tr> </td>
</tbody> <td></td>
</table> <td></td>
<table class="table table-condensed" t-if="o.account_id.currency_id"> </tr>
<tbody class="invoice_tbody"> </tbody>
<tr> </table>
<td> <table class="table table-condensed"
<b> t-if="o.account_id.currency_id">
<span>Initial Balance:</span> <tbody class="invoice_tbody">
</b> <tr>
</td> <td>
<td></td> <b>
<td class="text-right"> <span>Initial Balance:</span>
<span t-field="o.starting_balance" /> </b>
</td> </td>
</tr> <td></td>
<tr> <td class="text-right">
<td> <span t-field="o.starting_balance"/>
<b> </td>
<span>Cleared Transactions</span> </tr>
</b> <tr>
</td> <td>
<td></td> <b>
<td></td> <span>Cleared Transactions</span>
</tr> </b>
<tr> </td>
<td> <td></td>
<b> <td></td>
<span>Deposits &amp; Credits-</span> </tr>
<span t-field="o.sum_of_debits_lines" /> <tr>
items <td>
</b> <b>
</td> <span>Deposits &amp; Credits-</span>
<td></td> <span t-field="o.sum_of_debits_lines"/>
<td></td> items
</tr> </b>
</tbody> </td>
</table> <td></td>
<table class="table table-condensed" t-if="not o.account_id.currency_id"> <td></td>
<tbody class="invoice_tbody"> </tr>
<tr t-foreach="o.debit_move_line_ids" t-as="debit" </tbody>
t-if="debit.cleared_bank_account"> </table>
<td></td> <table class="table table-condensed"
<td> t-if="not o.account_id.currency_id">
<span t-field="debit.date" /> <tbody class="invoice_tbody">
</td> <tr t-foreach="o.debit_move_line_ids" t-as="debit"
<td> t-if="debit.cleared_bank_account">
<span t-field="debit.name" /> <td></td>
</td> <td>
<td> <span t-field="debit.date"/>
<span t-field="debit.partner_id.name" /> </td>
</td> <td>
<td> <span t-field="debit.name"/>
<span t-field="debit.ref" /> </td>
</td> <td>
<td class="text-right"> <span t-field="debit.partner_id.name"/>
<span t-esc="debit.cleared_bank_account and 'X' or ''" /> </td>
</td> <td>
<td class="text-right"> <span t-field="debit.ref"/>
<span t-field="debit.amount" </td>
t-options='{"widget": "monetary", "display_currency": o.account_id.currency_id}' /> <td class="text-right">
</td> <span t-esc="debit.cleared_bank_account and 'X' or ''"/>
<td class="text-right"> </td>
<span t-field="debit.amountcur" <td class="text-right">
t-options='{"widget": "monetary", "display_currency": o.account_id.currency_id}' /> <span t-field="debit.amount"
</td> t-options='{"widget": "monetary", "display_currency": o.account_id.currency_id}'/>
</tr> </td>
</tbody> <td class="text-right">
</table> <span t-field="debit.amountcur"
<table class="table table-condensed" t-if="o.account_id.currency_id"> t-options='{"widget": "monetary", "display_currency": o.account_id.currency_id}'/>
<tbody class="invoice_tbody"> </td>
<tr t-foreach="o.debit_move_line_ids" t-as="debit" </tr>
t-if="debit.cleared_bank_account"> </tbody>
<td></td> </table>
<td> <table class="table table-condensed"
<span t-field="debit.date" /> t-if="o.account_id.currency_id">
</td> <tbody class="invoice_tbody">
<td> <tr t-foreach="o.debit_move_line_ids" t-as="debit"
<span t-field="debit.name" /> t-if="debit.cleared_bank_account">
</td> <td></td>
<td> <td>
<span t-field="debit.partner_id.name" /> <span t-field="debit.date"/>
</td> </td>
<td> <td>
<span t-field="debit.ref" /> <span t-field="debit.name"/>
</td> </td>
<td class="text-right"> <td>
<span t-esc="debit.cleared_bank_account and 'X' or ''" /> <span t-field="debit.partner_id.name"/>
</td> </td>
<td class="text-right"> <td>
<span t-field="debit.amount" <span t-field="debit.ref"/>
t-options='{"widget": "monetary", "display_currency": o.account_id.currency_id}' /> </td>
</td> <td class="text-right">
</tr> <span t-esc="debit.cleared_bank_account and 'X' or ''"/>
</tbody> </td>
</table> <td class="text-right">
<div t-if="not o.account_id.currency_id"> <span t-field="debit.amount"
<table class="table table-condensed"> t-options='{"widget": "monetary", "display_currency": o.account_id.currency_id}'/>
<tbody class="invoice_tbody"> </td>
<tr> </tr>
<td> </tbody>
<b> </table>
<span>Total Deposits &amp; Credits</span> <div t-if="not o.account_id.currency_id">
</b> <table class="table table-condensed">
</td> <tbody class="invoice_tbody">
<td></td> <tr>
<td class="text-right"> <td>
<span t-if="o.sum_of_debits" t-field="o.sum_of_debits" <b>
t-options='{"widget": "monetary", "display_currency": o.account_id.currency_id}' /> <span>Total Deposits &amp;
</td> Credits
<td class="text-right"> </span>
<span t-if="o.sum_of_debits_cur" t-field="o.sum_of_debits_cur" </b>
t-options='{"widget": "monetary", "display_currency": o.account_id.currency_id}' /> </td>
</td> <td></td>
</tr> <td class="text-right">
</tbody> <span t-if="o.sum_of_debits"
</table> t-field="o.sum_of_debits"
<table class="table table-condensed"> t-options='{"widget": "monetary", "display_currency": o.account_id.currency_id}'/>
<tbody class="invoice_tbody"> </td>
<tr> <td class="text-right">
<td> <span t-if="o.sum_of_debits_cur"
<b> t-field="o.sum_of_debits_cur"
<span>Checks &amp; Payments-</span> t-options='{"widget": "monetary", "display_currency": o.account_id.currency_id}'/>
<span t-field="o.sum_of_credits_lines" /> </td>
items </tr>
</b> </tbody>
</td> </table>
<td></td> <table class="table table-condensed">
<td></td> <tbody class="invoice_tbody">
</tr> <tr>
</tbody> <td>
</table> <b>
</div> <span>Checks &amp; Payments-</span>
<div t-if="o.account_id.currency_id"> <span t-field="o.sum_of_credits_lines"/>
<table class="table table-condensed"> items
<tbody class="invoice_tbody"> </b>
<tr> </td>
<td> <td></td>
<b> <td></td>
<span>Total Deposits &amp; Credits</span> </tr>
</b> </tbody>
</td> </table>
<td></td> </div>
<td class="text-right"> <div t-if="o.account_id.currency_id">
<span t-if="o.sum_of_debits" t-field="o.sum_of_debits" <table class="table table-condensed">
t-options='{"widget": "monetary", "display_currency": o.account_id.currency_id}' /> <tbody class="invoice_tbody">
</td> <tr>
</tr> <td>
</tbody> <b>
</table> <span>Total Deposits &amp;
<table class="table table-condensed"> Credits
<tbody class="invoice_tbody"> </span>
<tr> </b>
<td> </td>
<b> <td></td>
<span>Checks &amp; Payments-</span> <td class="text-right">
<span t-field="o.sum_of_credits_lines" /> <span t-if="o.sum_of_debits"
items t-field="o.sum_of_debits"
</b> t-options='{"widget": "monetary", "display_currency": o.account_id.currency_id}'/>
</td> </td>
<td></td> </tr>
<td></td> </tbody>
</tr> </table>
</tbody> <table class="table table-condensed">
</table> <tbody class="invoice_tbody">
</div> <tr>
<table class="table table-condensed" t-if="not o.account_id.currency_id"> <td>
<tbody class="invoice_tbody"> <b>
<tr t-foreach="o.credit_move_line_ids" t-as="credit" <span>Checks &amp; Payments-</span>
t-if="credit.cleared_bank_account"> <span t-field="o.sum_of_credits_lines"/>
<td></td> items
<td> </b>
<span t-field="credit.date" /> </td>
</td> <td></td>
<td> <td></td>
<span t-field="credit.name" /> </tr>
</td> </tbody>
<td> </table>
<span t-field="credit.partner_id.name" /> </div>
</td> <table class="table table-condensed"
<td> t-if="not o.account_id.currency_id">
<span t-field="credit.ref" /> <tbody class="invoice_tbody">
</td> <tr t-foreach="o.credit_move_line_ids"
<td class="text-right"> t-as="credit"
<span t-esc="credit.cleared_bank_account and 'X' or ''" /> t-if="credit.cleared_bank_account">
</td> <td></td>
<td class="text-right"> <td>
<span t-field="credit.amount" <span t-field="credit.date"/>
t-options='{"widget": "monetary", "display_currency": o.account_id.currency_id}' /> </td>
</td> <td>
<td class="text-right"> <span t-field="credit.name"/>
<span t-field="credit.amountcur" </td>
t-options='{"widget": "monetary", "display_currency": o.account_id.currency_id}' /> <td>
</td> <span t-field="credit.partner_id.name"/>
</tr> </td>
</tbody> <td>
</table> <span t-field="credit.ref"/>
<table class="table table-condensed" t-if="o.account_id.currency_id"> </td>
<tbody class="invoice_tbody"> <td class="text-right">
<tr t-foreach="o.credit_move_line_ids" t-as="credit" <span t-esc="credit.cleared_bank_account and 'X' or ''"/>
t-if="credit.cleared_bank_account"> </td>
<td></td> <td class="text-right">
<td> <span t-field="credit.amount"
<span t-field="credit.date" /> t-options='{"widget": "monetary", "display_currency": o.account_id.currency_id}'/>
</td> </td>
<td> <td class="text-right">
<span t-field="credit.name" /> <span t-field="credit.amountcur"
</td> t-options='{"widget": "monetary", "display_currency": o.account_id.currency_id}'/>
<td> </td>
<span t-field="credit.partner_id.name" /> </tr>
</td> </tbody>
<td> </table>
<span t-field="credit.ref" /> <table class="table table-condensed"
</td> t-if="o.account_id.currency_id">
<td class="text-right"> <tbody class="invoice_tbody">
<span t-esc="credit.cleared_bank_account and 'X' or ''" /> <tr t-foreach="o.credit_move_line_ids"
</td> t-as="credit"
<td class="text-right"> t-if="credit.cleared_bank_account">
<span t-field="credit.amount" <td></td>
t-options='{"widget": "monetary", "display_currency": o.account_id.currency_id}' /> <td>
</td> <span t-field="credit.date"/>
</tr> </td>
</tbody> <td>
</table> <span t-field="credit.name"/>
<div t-if="not o.account_id.currency_id"> </td>
<table class="table table-condensed"> <td>
<tbody class="invoice_tbody"> <span t-field="credit.partner_id.name"/>
<tr> </td>
<td> <td>
<b> <span t-field="credit.ref"/>
<span>Total Checks &amp; Payments</span> </td>
</b> <td class="text-right">
</td> <span t-esc="credit.cleared_bank_account and 'X' or ''"/>
<td></td> </td>
<td class="text-right"> <td class="text-right">
<span t-if="o.sum_of_credits" t-field="o.sum_of_credits" <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>
<td class="text-right"> </tr>
<span t-if="o.sum_of_credits_cur" t-field="o.sum_of_credits_cur" </tbody>
t-options='{"widget": "monetary", "display_currency": o.account_id.currency_id}' /> </table>
</td> <div t-if="not o.account_id.currency_id">
</tr> <table class="table table-condensed">
</tbody> <tbody class="invoice_tbody">
</table> <tr>
<table class="table table-condensed"> <td>
<tbody class="invoice_tbody"> <b>
<tr> <span>Total Checks &amp; Payments
<td> </span>
<b> </b>
<span>Total Cleared Transactions</span> </td>
</b> <td></td>
</td> <td class="text-right">
<td></td> <span t-if="o.sum_of_credits"
<td class="text-right"> t-field="o.sum_of_credits"
<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 class="text-right">
<td class="text-right"> <span t-if="o.sum_of_credits_cur"
<span t-esc="o.sum_of_debits_cur - o.sum_of_credits_cur" t-field="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>
</tr> </tr>
<tr> </tbody>
<td> </table>
<b> <table class="table table-condensed">
<span>Cleared Balance</span> <tbody class="invoice_tbody">
</b> <tr>
</td> <td>
<td></td> <b>
<td class="text-right"> <span>Total Cleared Transactions
<span t-field="o.cleared_balance" </span>
t-options='{"widget": "monetary", "display_currency": o.account_id.currency_id}' /> </b>
</td> </td>
<td class="text-right"> <td></td>
<span t-field="o.cleared_balance_cur" <td class="text-right">
t-options='{"widget": "monetary", "display_currency": o.account_id.currency_id}' /> <span t-esc="o.sum_of_debits - o.sum_of_credits"
</td> t-options='{"widget": "monetary", "display_currency": o.account_id.currency_id}'/>
</tr> </td>
<tr> <td class="text-right">
<td> <span t-esc="o.sum_of_debits_cur - o.sum_of_credits_cur"
<b> t-options='{"widget": "monetary", "display_currency": o.account_id.currency_id}'/>
<span>Ending Balance</span> </td>
</b> </tr>
</td> <tr>
<td></td> <td>
<td></td> <b>
<td class="text-right"> <span>Cleared Balance</span>
<span t-field="o.ending_balance" </b>
t-options='{"widget": "monetary", "display_currency": o.account_id.currency_id}' /> </td>
</td> <td></td>
</tr> <td class="text-right">
</tbody> <span t-field="o.cleared_balance"
</table> t-options='{"widget": "monetary", "display_currency": o.account_id.currency_id}'/>
</div> </td>
<div t-if="o.account_id.currency_id"> <td class="text-right">
<table class="table table-condensed"> <span t-field="o.cleared_balance_cur"
<tbody class="invoice_tbody"> t-options='{"widget": "monetary", "display_currency": o.account_id.currency_id}'/>
<tr> </td>
<td> </tr>
<b> <tr>
<span>Total Deposits &amp; Credits</span> <td>
</b> <b>
</td> <span>Ending Balance</span>
<td></td> </b>
<td class="text-right"> </td>
<span t-if="o.sum_of_credits" t-field="o.sum_of_credits" <td></td>
t-options='{"widget": "monetary", "display_currency": o.account_id.currency_id}' /> <td></td>
</td> <td class="text-right">
</tr> <span t-field="o.ending_balance"
</tbody> t-options='{"widget": "monetary", "display_currency": o.account_id.currency_id}'/>
</table> </td>
<table class="table table-condensed"> </tr>
<tbody class="invoice_tbody"> </tbody>
<tr> </table>
<td> </div>
<b> <div t-if="o.account_id.currency_id">
<span>Total Cleared Transactions</span> <table class="table table-condensed">
</b> <tbody class="invoice_tbody">
</td> <tr>
<td></td> <td>
<td class="text-right"> <b>
<span t-esc="o.sum_of_debits - o.sum_of_credits" <span>Total Deposits &amp;
t-options='{"widget": "monetary", "display_currency": o.account_id.currency_id}' /> Credits
</td> </span>
</tr> </b>
<tr> </td>
<td> <td></td>
<b> <td class="text-right">
<span>Cleared Balance</span> <span t-if="o.sum_of_credits"
</b> t-field="o.sum_of_credits"
</td> t-options='{"widget": "monetary", "display_currency": o.account_id.currency_id}'/>
<td></td> </td>
<td class="text-right"> </tr>
<span t-field="o.cleared_balance" </tbody>
t-options='{"widget": "monetary", "display_currency": o.account_id.currency_id}' /> </table>
</td> <table class="table table-condensed">
</tr> <tbody class="invoice_tbody">
<tr> <tr>
<td> <td>
<b> <b>
<span>Ending Balance</span> <span>Total Cleared Transactions
</b> </span>
</td> </b>
<td></td> </td>
<td></td> <td></td>
<td class="text-right"> <td class="text-right">
<span t-field="o.ending_balance" <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>
</tr> </tr>
</tbody> <tr>
</table> <td>
</div> <b>
</div> <span>Cleared Balance</span>
</div> </b>
</t> </td>
</template> <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"> <template id="report_bank_statement_detail">
<t t-call="report.html_container"> <t t-call="report.html_container">
<t t-foreach="docs" t-as="o"> <t t-foreach="docs" t-as="o">
<t t-call="account_banking_reconciliation.report_bank_statement_detail_doc" <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>
</t> </t>
</template> </template>
</odoo> </odoo>

View File

@ -1,290 +1,297 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<odoo> <odoo>
<template id="report_bank_statement_summary_doc"> <template id="report_bank_statement_summary_doc">
<t t-call="report.external_layout"> <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"
<div class="page"> t-value="o.with_context({'lang':o.company_id.partner_id.lang})"/>
<h2 style='text-align:center;'> <div class="page">
Reconciliation Summary <h2 style='text-align:center;'>
</h2> Reconciliation Summary
<h5 style='text-align:center;'> </h2>
<span>Period Ending</span> <h5 style='text-align:center;'>
<span t-field="o.ending_date" /> <span>Period Ending</span>
</h5> <span t-field="o.ending_date"/>
</h5>
<div class="row" t-if="not o.account_id.currency_id"> <div class="row" t-if="not o.account_id.currency_id">
<table class="table table-condensed"> <table class="table table-condensed">
<tbody class="invoice_tbody"> <tbody class="invoice_tbody">
<tr> <tr>
<td> <td>
<b> <b>
<span>Initial Balance:</span> <span>Initial Balance:</span>
</b> </b>
</td> </td>
<td></td> <td></td>
<td class="text-right"> <td class="text-right">
<span t-field="o.starting_balance" <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> </td>
</tr> </tr>
</tbody> </tbody>
</table> </table>
<table class="table table-condensed"> <table class="table table-condensed">
<tbody class="invoice_tbody"> <tbody class="invoice_tbody">
<tr> <tr>
<td></td> <td></td>
<td> <td>
<b> <b>
<span>Deposits &amp; Credits-</span> <span>Deposits &amp; Credits-</span>
<span t-field="o.sum_of_debits_lines" /> <span t-field="o.sum_of_debits_lines"/>
items items
</b> </b>
</td> </td>
<td class="text-right"> <td class="text-right">
<span t-if="o.sum_of_debits" t-field="o.sum_of_debits" <span t-if="o.sum_of_debits"
t-options='{"widget": "monetary", "display_currency": o.account_id.currency_id}' /> t-field="o.sum_of_debits"
</td> t-options='{"widget": "monetary", "display_currency": o.account_id.currency_id}'/>
<td class="text-right"> </td>
<span t-if="o.sum_of_debits_cur" t-field="o.sum_of_debits_cur" <td class="text-right">
t-options='{"widget": "monetary", "display_currency": o.account_id.currency_id}' /> <span t-if="o.sum_of_debits_cur"
</td> t-field="o.sum_of_debits_cur"
<td></td> t-options='{"widget": "monetary", "display_currency": o.account_id.currency_id}'/>
</tr> </td>
<tr> <td></td>
<td></td> </tr>
<td> <tr>
<b> <td></td>
<span>Checks &amp; Payments-</span> <td>
<span t-field="o.sum_of_credits_lines" /> <b>
items <span>Checks &amp; Payments-</span>
</b> <span t-field="o.sum_of_credits_lines"/>
</td> items
<td class="text-right"> </b>
<span t-if="o.sum_of_credits" t-field="o.sum_of_credits" </td>
t-options='{"widget": "monetary", "display_currency": o.account_id.currency_id}' /> <td class="text-right">
</td> <span t-if="o.sum_of_credits"
<td class="text-right"> t-field="o.sum_of_credits"
<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}'/>
t-options='{"widget": "monetary", "display_currency": o.account_id.currency_id}' /> </td>
</td> <td class="text-right">
<td></td> <span t-if="o.sum_of_credits_cur"
</tr> t-field="o.sum_of_credits_cur"
</tbody> t-options='{"widget": "monetary", "display_currency": o.account_id.currency_id}'/>
</table> </td>
<table class="table table-condensed"> <td></td>
<tbody class="invoice_tbody"> </tr>
<tr> </tbody>
<td></td> </table>
<td> <table class="table table-condensed">
<b> <tbody class="invoice_tbody">
<span>Total Cleared Transactions</span> <tr>
</b> <td></td>
</td> <td>
<td class="text-right"> <b>
<span t-esc="o.sum_of_debits - o.sum_of_credits" <span>Total Cleared Transactions</span>
t-options='{"widget": "monetary", "display_currency": o.account_id.currency_id}' /> </b>
</td> </td>
<td class="text-right"> <td class="text-right">
<span t-esc="o.sum_of_debits_cur - o.sum_of_credits_cur" <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></td> <td class="text-right">
</tr> <span t-esc="o.sum_of_debits_cur - o.sum_of_credits_cur"
</tbody> t-options='{"widget": "monetary", "display_currency": o.account_id.currency_id}'/>
</table> </td>
<table class="table table-condensed"> <td></td>
<tbody class="invoice_tbody"> </tr>
<tr> </tbody>
<td> </table>
<b> <table class="table table-condensed">
<span>Cleared Balance</span> <tbody class="invoice_tbody">
</b> <tr>
</td> <td>
<td class="text-right"> <b>
<span t-field="o.cleared_balance" <span>Cleared Balance</span>
t-options='{"widget": "monetary", "display_currency": o.account_id.currency_id}' /> </b>
</td> </td>
<td class="text-right"> <td class="text-right">
<span t-field="o.cleared_balance_cur" <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>
<td class="text-right"> <td class="text-right">
<b> <span t-field="o.cleared_balance_cur"
<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>
</b> <td class="text-right">
</td> <b>
</tr> <span t-field="o.cleared_balance_cur"
</tbody> t-options='{"widget": "monetary", "display_currency": o.account_id.currency_id}'/>
</table> </b>
<table class="table table-condensed"> </td>
<tbody class="invoice_tbody"> </tr>
<tr> </tbody>
<td> </table>
<b> <table class="table table-condensed">
<span>Ending Balance:</span> <tbody class="invoice_tbody">
</b> <tr>
</td> <td>
<td></td> <b>
<td class="text-right"> <span>Ending Balance:</span>
<span t-field="o.ending_balance" </b>
t-options='{"widget": "monetary", "display_currency": o.account_id.currency_id}' /> </td>
</td> <td></td>
</tr> <td class="text-right">
</tbody> <span t-field="o.ending_balance"
</table> t-options='{"widget": "monetary", "display_currency": o.account_id.currency_id}'/>
</div> </td>
</tr>
</tbody>
</table>
</div>
<div class="row" t-if="o.account_id.currency_id"> <div class="row" t-if="o.account_id.currency_id">
<table class="table table-condensed"> <table class="table table-condensed">
<tbody class="invoice_tbody"> <tbody class="invoice_tbody">
<tr> <tr>
<td> <td>
<b> <b>
<span>Initial Balance:</span> <span>Initial Balance:</span>
</b> </b>
</td> </td>
<td></td> <td></td>
<td class="text-right"> <td class="text-right">
<span t-field="o.starting_balance" <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> </td>
</tr> </tr>
</tbody> </tbody>
</table> </table>
<table class="table table-condensed"> <table class="table table-condensed">
<tbody class="invoice_tbody"> <tbody class="invoice_tbody">
<tr> <tr>
<td> <td>
<b> <b>
<span>Ending Balance:</span> <span>Ending Balance:</span>
</b> </b>
</td> </td>
<td></td> <td></td>
<td class="text-right"> <td class="text-right">
<span t-field="o.ending_balance" <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> </td>
</tr> </tr>
</tbody> </tbody>
</table> </table>
<table class="table table-condensed"> <table class="table table-condensed">
<tbody class="invoice_tbody"> <tbody class="invoice_tbody">
<tr> <tr>
<td></td> <td></td>
<td> <td>
<b> <b>
<span>Cleared Transactions</span> <span>Cleared Transactions</span>
</b> </b>
</td> </td>
<td></td> <td></td>
<td></td> <td></td>
</tr> </tr>
</tbody> </tbody>
</table> </table>
<table class="table table-condensed"> <table class="table table-condensed">
<tbody class="invoice_tbody"> <tbody class="invoice_tbody">
<tr> <tr>
<td></td> <td></td>
<td> <td>
<b> <b>
<span>Deposits &amp; Credits-</span> <span>Deposits &amp; Credits-</span>
<span t-field="o.sum_of_debits_lines" /> <span t-field="o.sum_of_debits_lines"/>
items items
</b> </b>
</td> </td>
<td></td> <td></td>
<td class="text-right"> <td class="text-right">
<span t-if="o.sum_of_debits" t-field="o.sum_of_debits" <span t-if="o.sum_of_debits"
t-options='{"widget": "monetary", "display_currency": o.account_id.currency_id}' /> t-field="o.sum_of_debits"
</td> t-options='{"widget": "monetary", "display_currency": o.account_id.currency_id}'/>
<td></td> </td>
</tr> <td></td>
<tr> </tr>
<td></td> <tr>
<td> <td></td>
<b> <td>
<span>Checks &amp; Payments-</span> <b>
<span t-field="o.sum_of_credits_lines" /> <span>Checks &amp; Payments-</span>
items <span t-field="o.sum_of_credits_lines"/>
</b> items
</td> </b>
<td></td> </td>
<td class="text-right"> <td></td>
<span t-if="o.sum_of_credits" t-field="o.sum_of_credits" <td class="text-right">
t-options='{"widget": "monetary", "display_currency": o.account_id.currency_id}' /> <span t-if="o.sum_of_credits"
</td> t-field="o.sum_of_credits"
<td></td> t-options='{"widget": "monetary", "display_currency": o.account_id.currency_id}'/>
</tr> </td>
</tbody> <td></td>
</table> </tr>
<table class="table table-condensed"> </tbody>
<tbody class="invoice_tbody"> </table>
<tr> <table class="table table-condensed">
<td></td> <tbody class="invoice_tbody">
<td> <tr>
<b> <td></td>
<span>Total Cleared Transactions</span> <td>
</b> <b>
</td> <span>Total Cleared Transactions</span>
<td></td> </b>
<td class="text-right"> </td>
<span t-esc="o.sum_of_debits - o.sum_of_credits" <td></td>
t-options='{"widget": "monetary", "display_currency": o.account_id.currency_id}' /> <td class="text-right">
</td> <span t-esc="o.sum_of_debits - o.sum_of_credits"
<td></td> t-options='{"widget": "monetary", "display_currency": o.account_id.currency_id}'/>
</tr> </td>
</tbody> <td></td>
</table> </tr>
<table class="table table-condensed"> </tbody>
<tbody class="invoice_tbody"> </table>
<tr> <table class="table table-condensed">
<td> <tbody class="invoice_tbody">
<b> <tr>
<span>Cleared Balance</span> <td>
</b> <b>
</td> <span>Cleared Balance</span>
<td></td> </b>
<td class="text-right"> </td>
<span t-field="o.cleared_balance" <td></td>
t-options='{"widget": "monetary", "display_currency": o.account_id.currency_id}' /> <td class="text-right">
</td> <span t-field="o.cleared_balance"
<td class="text-right"> t-options='{"widget": "monetary", "display_currency": o.account_id.currency_id}'/>
<span t-field="o.cleared_balance" </td>
t-options='{"widget": "monetary", "display_currency": o.account_id.currency_id}' /> <td class="text-right">
</td> <span t-field="o.cleared_balance"
</tr> t-options='{"widget": "monetary", "display_currency": o.account_id.currency_id}'/>
</tbody> </td>
</table> </tr>
<table class="table table-condensed"> </tbody>
<tbody class="invoice_tbody"> </table>
<tr> <table class="table table-condensed">
<td> <tbody class="invoice_tbody">
<b> <tr>
<span>Ending Balance:</span> <td>
</b> <b>
</td> <span>Ending Balance:</span>
<td></td> </b>
<td class="text-right"> </td>
<span t-field="o.ending_balance" <td></td>
t-options='{"widget": "monetary", "display_currency": o.account_id.currency_id}' /> <td class="text-right">
</td> <span t-field="o.ending_balance"
</tr> t-options='{"widget": "monetary", "display_currency": o.account_id.currency_id}'/>
</tbody> </td>
</table> </tr>
</div> </tbody>
</table>
</div>
</div> </div>
</t> </t>
</template> </template>
<template id="report_bank_statement_summary"> <template id="report_bank_statement_summary">
<t t-call="report.html_container"> <t t-call="report.html_container">
<t t-foreach="docs" t-as="o"> <t t-foreach="docs" t-as="o">
<t <t
t-call="account_banking_reconciliation.report_bank_statement_summary_doc" 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>
</t> </t>
</template> </template>
</odoo> </odoo>