Reformated xml files to 2 spaces tabs

This commit is contained in:
Loïc Faure-Lacroix
2015-04-02 20:03:22 +03:00
committed by Sandy Carter
parent b170adb69e
commit 1549162424
6 changed files with 256 additions and 253 deletions

View File

@@ -1,26 +1,26 @@
<?xml version="1.0"?>
<openerp>
<data noupdate="1">
<data noupdate="1">
<record id="deposit_method_teller" model="deposit.method">
<field name="name">Teller</field>
</record>
<record id="deposit_method_teller" model="deposit.method">
<field name="name">Teller</field>
</record>
<record id="deposit_method_atm" model="deposit.method">
<field name="name">ATM</field>
</record>
<record id="deposit_method_atm" model="deposit.method">
<field name="name">ATM</field>
</record>
<record id="deposit_method_remote_deposit_capture" model="deposit.method">
<field name="name">Remote Deposit Capture</field>
</record>
<record id="deposit_method_remote_deposit_capture" model="deposit.method">
<field name="name">Remote Deposit Capture</field>
</record>
<record id="deposit_method_online_deposit_capture" model="deposit.method">
<field name="name">Online Deposit Capture</field>
</record>
<record id="deposit_method_online_deposit_capture" model="deposit.method">
<field name="name">Online Deposit Capture</field>
</record>
<record id="deposit_method_night_drop" model="deposit.method">
<field name="name">Night Drop</field>
</record>
<record id="deposit_method_night_drop" model="deposit.method">
<field name="name">Night Drop</field>
</record>
</data>
</data>
</openerp>

View File

@@ -1,14 +1,15 @@
<?xml version="1.0" encoding="utf-8"?>
<openerp>
<data>
<data>
<report id="report_deposit_ticket"
model="deposit.ticket"
auto="False"
name="deposit.ticket"
file="account_banking_make_deposit/report/deposit_ticket.mako"
string="Internal Deposit Ticket"
report_type="webkit" />
<report
id="report_deposit_ticket"
model="deposit.ticket"
auto="False"
name="deposit.ticket"
file="account_banking_make_deposit/report/deposit_ticket.mako"
string="Internal Deposit Ticket"
report_type="webkit" />
</data>
</data>
</openerp>

View File

@@ -1,25 +1,25 @@
<?xml version="1.0" encoding="utf-8"?>
<openerp>
<data>
<data>
<!-- Groups - Make Deposits Preparer , Make Deposits Verifier -->
<!-- Groups - Make Deposits Preparer , Make Deposits Verifier -->
<record id="group_make_deposits_preparer" model="res.groups">
<field name="name">Make Deposits Preparer</field>
</record>
<record id="group_make_deposits_preparer" model="res.groups">
<field name="name">Make Deposits Preparer</field>
</record>
<record id="group_make_deposits_verifier" model="res.groups">
<field name="name">Make Deposits Verifier</field>
</record>
<record id="group_make_deposits_verifier" model="res.groups">
<field name="name">Make Deposits Verifier</field>
</record>
<!-- Security Rule for Deposit Tickets -->
<!-- Security Rule for Deposit Tickets -->
<record id="account_banking_make_deposits_comp_rule" model="ir.rule">
<field name="name">Deposit Tickets</field>
<field ref="model_deposit_ticket" 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>
<record id="account_banking_make_deposits_comp_rule" model="ir.rule">
<field name="name">Deposit Tickets</field>
<field ref="model_deposit_ticket" 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>
</data>
</data>
</openerp>

View File

@@ -1,30 +1,30 @@
<?xml version="1.0" encoding="utf-8"?>
<openerp>
<data>
<data>
<!-- Journal Item -->
<!-- Journal Item -->
<record id="view_account_move_line_deposit_id" model="ir.ui.view">
<field name="name">account.move.line.deposit.id</field>
<field name="model">account.move.line</field>
<field name="inherit_id" ref="account.view_account_move_line_filter"/>
<field name="arch" type="xml">
<field name="period_id" position="after">
<field name="deposit_id"/>
</field>
</field>
</record>
<record id="view_account_move_line_deposit_id" model="ir.ui.view">
<field name="name">account.move.line.deposit.id</field>
<field name="model">account.move.line</field>
<field name="inherit_id" ref="account.view_account_move_line_filter"/>
<field name="arch" type="xml">
<field name="period_id" position="after">
<field name="deposit_id"/>
</field>
</field>
</record>
<record id="view_account_move_line_form_deposit_id" model="ir.ui.view">
<field name="name">account.move.line.form.deposit.id</field>
<field name="model">account.move.line</field>
<field name="inherit_id" ref="account.view_move_line_form"/>
<field name="arch" type="xml">
<field name="statement_id" position="after">
<field name="deposit_id"/>
</field>
</field>
</record>
<record id="view_account_move_line_form_deposit_id" model="ir.ui.view">
<field name="name">account.move.line.form.deposit.id</field>
<field name="model">account.move.line</field>
<field name="inherit_id" ref="account.view_move_line_form"/>
<field name="arch" type="xml">
<field name="statement_id" position="after">
<field name="deposit_id"/>
</field>
</field>
</record>
</data>
</data>
</openerp>

View File

@@ -1,162 +1,164 @@
<?xml version="1.0" encoding="utf-8"?>
<openerp>
<data>
<data>
<!-- Deposit Method -->
<record id="action_deposit_method" model="ir.actions.act_window">
<field name="name">Deposit Method</field>
<field name="type">ir.actions.act_window</field>
<field name="res_model">deposit.method</field>
<field name="view_type">form</field>
<field name="view_mode">tree,form</field>
</record>
<record id="action_deposit_method" model="ir.actions.act_window">
<field name="name">Deposit Method</field>
<field name="type">ir.actions.act_window</field>
<field name="res_model">deposit.method</field>
<field name="view_type">form</field>
<field name="view_mode">tree,form</field>
</record>
<menuitem id="menu_deposit_methods"
name="Deposit Methods"
parent="account.menu_configuration_misc"
action="action_deposit_method"
sequence="8" />
<menuitem
id="menu_deposit_methods"
name="Deposit Methods"
parent="account.menu_configuration_misc"
action="action_deposit_method"
sequence="8" />
<!-- Bank Deposit Ticket -->
<record id="view_deposit_ticket_tree" model="ir.ui.view">
<field name="name">deposit.ticket.tree</field>
<field name="model">deposit.ticket</field>
<field name="priority">2</field>
<field name="arch" type="xml">
<tree string="Deposit Tickets" colors="grey:state=='cancel';blue:state in ('to_be_reviewed')">
<field name="name"/>
<field name="date"/>
<field name="deposit_from_account_id"/>
<field name="deposit_to_account_id"/>
<field name="amount"/>
<field name="count_total"/>
<field name="prepared_by_user_id"/>
<field name="verified_by_user_id"/>
<field name="state"/>
</tree>
</field>
</record>
<record id="view_deposit_ticket_tree" model="ir.ui.view">
<field name="name">deposit.ticket.tree</field>
<field name="model">deposit.ticket</field>
<field name="priority">2</field>
<field name="arch" type="xml">
<tree string="Deposit Tickets" colors="grey:state=='cancel';blue:state in ('to_be_reviewed')">
<field name="name"/>
<field name="date"/>
<field name="deposit_from_account_id"/>
<field name="deposit_to_account_id"/>
<field name="amount"/>
<field name="count_total"/>
<field name="prepared_by_user_id"/>
<field name="verified_by_user_id"/>
<field name="state"/>
</tree>
</field>
</record>
<record id="view_deposit_ticket_form" model="ir.ui.view">
<field name="name">deposit.ticket.form</field>
<field name="model">deposit.ticket</field>
<field name="arch" type="xml">
<form string="Deposit Ticket" version="7.0">
<header>
<button name="action_cancel" type="object" states="draft,to_be_reviewed" string="Cancel" icon="gtk-cancel"/>
<button name="action_review" type="object" states="draft" string="Ready for Review" icon="gtk-go-forward"/>
<button name="action_process" type="object" states="to_be_reviewed" string="Process" icon="gtk-apply"/>
<button name="action_cancel_draft" states="cancel,done" string="Set to Draft" type="object" icon="gtk-convert"/>
<field name="state" widget="statusbar" nolabel="1"/>
</header>
<sheet>
<group col="4" colspan="4">
<field name="deposit_from_account_id" placeholder="Enter Account Name (from)"/>
<field name="deposit_to_account_id" placeholder="Enter Account Name (to)"/>
<field name="journal_id" placeholder="Enter journal name"/>
<field name="period_id" placeholder="Enter period"/>
<field name="date" placeholder="Enter deposite date"/>
<field name="name" />
<field name="deposit_bag_no" placeholder="Enter deposit bag no."/>
<field name="bank_tracking_no" placeholder="Enter deposit tracking no."/>
<field name="deposit_method_id" placeholder="Enter deposit method"/>
<field name="memo" placeholder="Enter memo"/>
<field name="company_id" groups="base.group_multi_company" placeholder="Enter company Name"/>
<group col="2" colspan="2">
<button name="add_deposit_items" states="draft,to_be_reviewed" string="Add Deposit Items" type="object" icon="gtk-execute"/>
</group>
</group>
<notebook colspan="5">
<page string="Deposit Ticket Lines">
<field colspan="4" mode="tree" name="ticket_line_ids" widget="one2many_list" nolabel="1">
<tree string="Deposit Ticket Lines">
<field name="date"/>
<field name="name"/>
<field name="ref"/>
<field name="partner_id"/>
<field name="amount"/>
<field name="company_id" groups="base.group_multi_company"/>
</tree>
<form string="Deposit Ticket Lines" version="7.0">
<group>
<field name="name"/>
<field name="ref"/>
<field name="partner_id"/>
<field name="amount"/>
<field name="date"/>
<field name="company_id" groups="base.group_multi_company"/>
</group>
</form>
</field>
<group name="calculation" col="4" colspan="2">
<field name="amount"/>
<field name="count_total"/>
</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 name who varified"/>
<field name="prepared_by_user_id" placeholder="Enter user name who prepared"/>
<field name="verified_date" placeholder="Enter date of varification"/>
</group>
</page>
</notebook>
</sheet>
</form>
</field>
</record>
<field name="name">deposit.ticket.form</field>
<field name="model">deposit.ticket</field>
<field name="arch" type="xml">
<form string="Deposit Ticket" version="7.0">
<header>
<button name="action_cancel" type="object" states="draft,to_be_reviewed" string="Cancel" icon="gtk-cancel"/>
<button name="action_review" type="object" states="draft" string="Ready for Review" icon="gtk-go-forward"/>
<button name="action_process" type="object" states="to_be_reviewed" string="Process" icon="gtk-apply"/>
<button name="action_cancel_draft" states="cancel,done" string="Set to Draft" type="object" icon="gtk-convert"/>
<field name="state" widget="statusbar" nolabel="1"/>
</header>
<sheet>
<group col="4" colspan="4">
<field name="deposit_from_account_id" placeholder="Enter Account Name (from)"/>
<field name="deposit_to_account_id" placeholder="Enter Account Name (to)"/>
<field name="journal_id" placeholder="Enter journal name"/>
<field name="period_id" placeholder="Enter period"/>
<field name="date" placeholder="Enter deposite date"/>
<field name="name" />
<field name="deposit_bag_no" placeholder="Enter deposit bag no."/>
<field name="bank_tracking_no" placeholder="Enter deposit tracking no."/>
<field name="deposit_method_id" placeholder="Enter deposit method"/>
<field name="memo" placeholder="Enter memo"/>
<field name="company_id" groups="base.group_multi_company" placeholder="Enter company Name"/>
<group col="2" colspan="2">
<button name="add_deposit_items" states="draft,to_be_reviewed" string="Add Deposit Items" type="object" icon="gtk-execute"/>
</group>
</group>
<notebook colspan="5">
<page string="Deposit Ticket Lines">
<field colspan="4" mode="tree" name="ticket_line_ids" widget="one2many_list" nolabel="1">
<tree string="Deposit Ticket Lines">
<field name="date"/>
<field name="name"/>
<field name="ref"/>
<field name="partner_id"/>
<field name="amount"/>
<field name="company_id" groups="base.group_multi_company"/>
</tree>
<form string="Deposit Ticket Lines" version="7.0">
<group>
<field name="name"/>
<field name="ref"/>
<field name="partner_id"/>
<field name="amount"/>
<field name="date"/>
<field name="company_id" groups="base.group_multi_company"/>
</group>
</form>
</field>
<group name="calculation" col="4" colspan="2">
<field name="amount"/>
<field name="count_total"/>
</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 name who varified"/>
<field name="prepared_by_user_id" placeholder="Enter user name who prepared"/>
<field name="verified_date" placeholder="Enter date of varification"/>
</group>
</page>
</notebook>
</sheet>
</form>
</field>
</record>
<record id="view_deposit_ticket_filter" model="ir.ui.view">
<field name="name">deposit.ticket.select</field>
<field name="model">deposit.ticket</field>
<field name="arch" type="xml">
<search string="Search Deposit Tickets">
<filter icon="terp-document-new" string="Draft" domain="[('state','=','draft')]" help="Deposit Tickets that haven't yet been confirmed"/>
<filter icon="terp-dolar" string="To be Reviewed" domain="[('state','=','to_be_reviewed')]" help="Deposit Tickets that are ready for review"/>
<filter icon="terp-check" string="Done" domain="[('state','=','done')]" help="Deposit Tickets that have been processed"/>
<separator orientation="vertical"/>
<field name="name" select="1"/>
<field name="date" select="1" string="Order date" />
<field name="journal_id" select="1"/>
<field name="deposit_from_account_id" select="1"/>
<field name="deposit_to_account_id" select="1"/>
<field name="prepared_by_user_id" select="1">
<filter domain="[('prepared_by_user_id','=',uid)]" help="Prepared by me" icon="terp-personal"/>
</field>
<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="Deposit From Account" icon="terp-personal" domain="[]" context="{'group_by':'deposit_from_account_id'}"/>
<filter string="Deposit To Account" icon="terp-personal" domain="[]" context="{'group_by':'deposit_to_account_id'}"/>
<separator orientation="vertical"/>
<filter string="State" icon="terp-stock_effects-object-colorize" domain="[]" context="{'group_by':'state'}"/>
</group>
</search>
</field>
<field name="name">deposit.ticket.select</field>
<field name="model">deposit.ticket</field>
<field name="arch" type="xml">
<search string="Search Deposit Tickets">
<filter icon="terp-document-new" string="Draft" domain="[('state','=','draft')]" help="Deposit Tickets that haven't yet been confirmed"/>
<filter icon="terp-dolar" string="To be Reviewed" domain="[('state','=','to_be_reviewed')]" help="Deposit Tickets that are ready for review"/>
<filter icon="terp-check" string="Done" domain="[('state','=','done')]" help="Deposit Tickets that have been processed"/>
<separator orientation="vertical"/>
<field name="name" select="1"/>
<field name="date" select="1" string="Order date" />
<field name="journal_id" select="1"/>
<field name="deposit_from_account_id" select="1"/>
<field name="deposit_to_account_id" select="1"/>
<field name="prepared_by_user_id" select="1">
<filter domain="[('prepared_by_user_id','=',uid)]" help="Prepared by me" icon="terp-personal"/>
</field>
<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="Deposit From Account" icon="terp-personal" domain="[]" context="{'group_by':'deposit_from_account_id'}"/>
<filter string="Deposit To Account" icon="terp-personal" domain="[]" context="{'group_by':'deposit_to_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_deposit_ticket" model="ir.actions.act_window">
<field name="name">Deposit Ticket</field>
<field name="type">ir.actions.act_window</field>
<field name="res_model">deposit.ticket</field>
<field name="view_type">form</field>
<field name="view_mode">tree,form</field>
<field name="search_view_id" ref="view_deposit_ticket_filter"/>
<field name="help">With Deposit Tickets you can create new deposit tickets, by selecting and grouping customer payments, supplier refunds, or other payments into a Deposit Ticket. OpenERP automatically posts accounting entries for “Done” deposit tickets. The GL entry for the deposit is posted into the Current Period based on the date range selected.</field>
<field name="name">Deposit Ticket</field>
<field name="type">ir.actions.act_window</field>
<field name="res_model">deposit.ticket</field>
<field name="view_type">form</field>
<field name="view_mode">tree,form</field>
<field name="search_view_id" ref="view_deposit_ticket_filter"/>
<field name="help">With Deposit Tickets you can create new deposit tickets, by selecting and grouping customer payments, supplier refunds, or other payments into a Deposit Ticket. OpenERP automatically posts accounting entries for “Done” deposit tickets. The GL entry for the deposit is posted into the Current Period based on the date range selected.</field>
</record>
<menuitem id="menu_make_deposit_tickets"
name="Make Deposits"
parent="account.menu_finance_bank_and_cash"
groups="group_make_deposits_preparer,group_make_deposits_verifier"
action="action_deposit_ticket"
sequence="8" />
<menuitem
id="menu_make_deposit_tickets"
name="Make Deposits"
parent="account.menu_finance_bank_and_cash"
groups="group_make_deposits_preparer,group_make_deposits_verifier"
action="action_deposit_ticket"
sequence="8" />
</data>
</data>
</openerp>

View File

@@ -1,54 +1,54 @@
<?xml version="1.0" encoding="utf-8"?>
<openerp>
<data>
<data>
<!-- Add Deposit Items -->
<record id="view_add_deposit_items" model="ir.ui.view">
<field name="name">Add Deposit Items</field>
<field name="model">add.deposit.items</field>
<field name="arch" type="xml">
<form string="Select Payments for Deposit" version="7.0" >
<header>
<button name="select_all" string="_Select All" type="object" icon="gtk-apply"/>
<button name="unselect_all" string="_Unselect All" type="object" icon="gtk-cancel"/>
<button special="cancel" string="_Cancel" icon="gtk-cancel"/>
<button name="add_deposit_lines" string="_OK" type="object" icon="gtk-apply"/>
</header>
<sheet>
<field colspan="4" mode="tree" name="deposit_items_line_ids" nolabel="1" widget="one2many_list" width="550">
<tree string="Select Payments to Deposit" editable="top">
<field name="draft_assigned"/>
<field name="date"/>
<field name="name"/>
<field name="ref"/>
<field name="partner_id"/>
<field name="amount"/>
<field name="move_line_id"/>
</tree>
<form string="Select Payments to Deposit" version="7.0">
<group>
<field name="date"/>
<field name="name"/>
<field name="ref"/>
<field name="partner_id"/>
<field name="amount"/>
<field name="move_line_id"/>
</group>
</form>
</field>
</sheet>
<!-- Add Deposit Items -->
<record id="view_add_deposit_items" model="ir.ui.view">
<field name="name">Add Deposit Items</field>
<field name="model">add.deposit.items</field>
<field name="arch" type="xml">
<form string="Select Payments for Deposit" version="7.0" >
<header>
<button name="select_all" string="_Select All" type="object" icon="gtk-apply"/>
<button name="unselect_all" string="_Unselect All" type="object" icon="gtk-cancel"/>
<button special="cancel" string="_Cancel" icon="gtk-cancel"/>
<button name="add_deposit_lines" string="_OK" type="object" icon="gtk-apply"/>
</header>
<sheet>
<field colspan="4" mode="tree" name="deposit_items_line_ids" nolabel="1" widget="one2many_list" width="550">
<tree string="Select Payments to Deposit" editable="top">
<field name="draft_assigned"/>
<field name="date"/>
<field name="name"/>
<field name="ref"/>
<field name="partner_id"/>
<field name="amount"/>
<field name="move_line_id"/>
</tree>
<form string="Select Payments to Deposit" version="7.0">
<group>
<field name="date"/>
<field name="name"/>
<field name="ref"/>
<field name="partner_id"/>
<field name="amount"/>
<field name="move_line_id"/>
</group>
</form>
</field>
</record>
</sheet>
</form>
</field>
</record>
<record id="action_view_add_deposit_items" model="ir.actions.act_window">
<field name="name">Add Deposit Items</field>
<field name="type">ir.actions.act_window</field>
<field name="res_model">add.deposit.items</field>
<field name="view_type">form</field>
<field name="view_mode">form</field>
<field name="view_id" ref="view_add_deposit_items"/>
<field name="target">new</field>
</record>
</data>
<record id="action_view_add_deposit_items" model="ir.actions.act_window">
<field name="name">Add Deposit Items</field>
<field name="type">ir.actions.act_window</field>
<field name="res_model">add.deposit.items</field>
<field name="view_type">form</field>
<field name="view_mode">form</field>
<field name="view_id" ref="view_add_deposit_items"/>
<field name="target">new</field>
</record>
</data>
</openerp>