<odoo>
|
|
<data>
|
|
|
|
|
|
|
|
<record model="ir.ui.view" id="opendons.accounting_deposit_list">
|
|
<field name="name">opendons_accounting_deposit list</field>
|
|
<field name="model">opendons.accountingdeposit</field>
|
|
<field name="arch" type="xml">
|
|
<tree>
|
|
<field name="create_date"/>
|
|
<field name="create_uid"/>
|
|
<field name="payment_batch_ids"/>
|
|
|
|
</tree>
|
|
</field>
|
|
</record>
|
|
|
|
<record model="ir.ui.view" id="opendons.accounting_deposit_form">
|
|
<field name="name">opendons_payment_batch_accounting Form</field>
|
|
<field name="model">opendons.accountingdeposit</field>
|
|
<field name="arch" type="xml">
|
|
|
|
|
|
<form string="accounting_deposit_form">
|
|
<group name="accounting_deposit">
|
|
<field name="create_date"/>
|
|
<field name="create_uid"/>
|
|
<field name="payment_batch_ids">
|
|
<tree>
|
|
<field name="create_date"/>
|
|
<field name="create_uid"/>
|
|
<field name="payment_mode_id"/>
|
|
<field name="amount_total" string="Total"/>
|
|
<field name="payment_count" string="Payments count"/>
|
|
</tree>
|
|
</field>
|
|
</group>
|
|
</form>
|
|
|
|
|
|
|
|
</field>
|
|
</record>
|
|
|
|
<record model="ir.actions.act_window" id="accounting_deposit_action">
|
|
<field name="name">accounting deposits</field>
|
|
<field name="res_model">opendons.accountingdeposit</field>
|
|
<field name="view_mode">tree,form</field>
|
|
|
|
|
|
</record>
|
|
|
|
|
|
<menuitem id="accounting_deposit_menu" action="accounting_deposit_action"
|
|
parent="payment_batch_top_menu" sequence="30"/>
|
|
|
|
</data>
|
|
</odoo>
|