mirror of
https://github.com/OCA/account-reconcile.git
synced 2025-01-20 12:27:39 +02:00
137 lines
6.7 KiB
XML
137 lines
6.7 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<openerp>
|
|
<data>
|
|
|
|
<!-- account.easy.reconcile view -->
|
|
<record id="account_easy_reconcile_form" model="ir.ui.view">
|
|
<field name="name">account.easy.reconcile.form</field>
|
|
<field name="priority">20</field>
|
|
<field name="model">account.easy.reconcile</field>
|
|
<field name="type">form</field>
|
|
<field name="arch" type="xml">
|
|
<form string="Automatic Easy Reconcile">
|
|
<separator colspan="4" string="Task Information" />
|
|
<field name="name" select="1"/>
|
|
<field name="account"/>
|
|
<field name="unreconciled_count"/>
|
|
<field name="reconciled_partial_count"/>
|
|
<separator colspan="4" string="Reconcile Method" />
|
|
<notebook colspan="4">
|
|
<page name="methods" string="Configuration">
|
|
<field name="reconcile_method" colspan = "4" nolabel="1"/>
|
|
<button icon="gtk-ok" name="run_reconcile" colspan="4"
|
|
string="Start Auto Reconcilation" type="object"/>
|
|
<button icon="STOCK_JUMP_TO" name="last_history_reconcile" colspan="2"
|
|
string="Display items reconciled on the last run" type="object"/>
|
|
<button icon="STOCK_JUMP_TO" name="last_history_partial" colspan="2"
|
|
string="Display items partially reconciled on the last run"
|
|
type="object"/>
|
|
</page>
|
|
<page name="history" string="History">
|
|
<field name="history_ids" nolabel="1">
|
|
<tree string="Automatic Easy Reconcile History">
|
|
<field name="date"/>
|
|
<!-- display the count of lines -->
|
|
<field name="reconcile_line_ids"/>
|
|
<button icon="STOCK_JUMP_TO" name="open_reconcile"
|
|
string="Go to reconciled items" type="object"/>
|
|
<!-- display the count of lines -->
|
|
<field name="partial_line_ids"/>
|
|
<button icon="STOCK_JUMP_TO" name="open_partial"
|
|
string="Go to partially reconciled items" type="object"/>
|
|
</tree>
|
|
</field>
|
|
</page>
|
|
<page name="information" string="Information">
|
|
<separator colspan="4" string="Simple. Amount and Name"/>
|
|
<label string="Match one debit line vs one credit line. Do not allow partial reconcilation.
|
|
The lines should have the same amount (with the write-off) and the same name to be reconciled." colspan="4"/>
|
|
|
|
<separator colspan="4" string="Simple. Amount and Name"/>
|
|
<label string="Match one debit line vs one credit line. Do not allow partial reconcilation.
|
|
The lines should have the same amount (with the write-off) and the same partner to be reconciled." colspan="4"/>
|
|
|
|
</page>
|
|
</notebook>
|
|
</form>
|
|
</field>
|
|
</record>
|
|
|
|
<record id="account_easy_reconcile_tree" model="ir.ui.view">
|
|
<field name="name">account.easy.reconcile.tree</field>
|
|
<field name="priority">20</field>
|
|
<field name="model">account.easy.reconcile</field>
|
|
<field name="type">tree</field>
|
|
<field name="arch" type="xml">
|
|
<tree string="Automatic Easy Reconcile">
|
|
<field name="name"/>
|
|
<field name="account"/>
|
|
<field name="unreconciled_count"/>
|
|
<field name="reconciled_partial_count"/>
|
|
<button icon="gtk-ok" name="run_reconcile" colspan="4"
|
|
string="Start Auto Reconcilation" type="object"/>
|
|
<button icon="STOCK_JUMP_TO" name="last_history_reconcile" colspan="2"
|
|
string="Display items reconciled on the last run" type="object"/>
|
|
<button icon="STOCK_JUMP_TO" name="last_history_partial" colspan="2"
|
|
string="Display items partially reconciled on the last run"
|
|
type="object"/>
|
|
</tree>
|
|
</field>
|
|
</record>
|
|
|
|
<record id="action_account_easy_reconcile" model="ir.actions.act_window">
|
|
<field name="name">Easy Automatic Reconcile</field>
|
|
<field name="type">ir.actions.act_window</field>
|
|
<field name="res_model">account.easy.reconcile</field>
|
|
<field name="view_type">form</field>
|
|
<field name="view_mode">tree,form</field>
|
|
</record>
|
|
|
|
|
|
<!-- account.easy.reconcile.method view -->
|
|
|
|
<record id="account_easy_reconcile_method_form" model="ir.ui.view">
|
|
<field name="name">account.easy.reconcile.method.form</field>
|
|
<field name="priority">20</field>
|
|
<field name="model">account.easy.reconcile.method</field>
|
|
<field name="type">form</field>
|
|
<field name="arch" type="xml">
|
|
<form string="Automatic Easy Reconcile Method">
|
|
<field name="sequence"/>
|
|
<field name="name"/>
|
|
<field name="write_off"/>
|
|
<field name="account_lost_id" attrs="{'required':[('write_off','>',0)]}"/>
|
|
<field name="account_profit_id" attrs="{'required':[('write_off','>',0)]}"/>
|
|
<field name="journal_id" attrs="{'required':[('write_off','>',0)]}"/>
|
|
<field name="date_base_on"/>
|
|
<field name="filter" groups="base.group_extended"/>
|
|
</form>
|
|
</field>
|
|
</record>
|
|
|
|
<record id="account_easy_reconcile_method_tree" model="ir.ui.view">
|
|
<field name="name">account.easy.reconcile.method.tree</field>
|
|
<field name="priority">20</field>
|
|
<field name="model">account.easy.reconcile.method</field>
|
|
<field name="type">tree</field>
|
|
<field name="arch" type="xml">
|
|
<tree editable="top" string="Automatic Easy Reconcile Method">
|
|
<field name="sequence"/>
|
|
<field name="name"/>
|
|
<field name="write_off"/>
|
|
<field name="account_lost_id" attrs="{'required':[('write_off','>',0)]}"/>
|
|
<field name="account_profit_id" attrs="{'required':[('write_off','>',0)]}"/>
|
|
<field name="journal_id" attrs="{'required':[('write_off','>',0)]}"/>
|
|
<field name="date_base_on"/>
|
|
<field name="filter"/>
|
|
</tree>
|
|
</field>
|
|
</record>
|
|
|
|
<!-- menu item -->
|
|
|
|
<menuitem action="action_account_easy_reconcile" id="menu_easy_reconcile" parent="account.periodical_processing_reconciliation"/>
|
|
|
|
</data>
|
|
</openerp>
|