<odoo>
|
|
<data>
|
|
<template id="assets_backend" name="js assets" inherit_id="web.assets_backend">
|
|
<xpath expr="." position="inside">
|
|
<script
|
|
type="text/javascript"
|
|
src="/opendons/static/src/js/payment_batch.js">
|
|
</script>
|
|
<!-- <link
|
|
href="/custom_module_name/static/src/css/filenmae.css"
|
|
rel="stylesheet"
|
|
type="text/css"/> -->
|
|
</xpath>
|
|
</template>
|
|
|
|
<record model="ir.ui.view" id="opendons.payment_batch">
|
|
<field name="name">opendons_payment_batch list</field>
|
|
<field name="model">opendons_payment_batch</field>
|
|
<field name="arch" type="xml">
|
|
<tree>
|
|
<field name="create_date"/>
|
|
<field name="create_uid"/>
|
|
<field name="payment_mode_id"/>
|
|
|
|
</tree>
|
|
</field>
|
|
</record>
|
|
|
|
|
|
<record model="ir.ui.view" id="opendons.payment_batch_form">
|
|
<field name="name">opendons_payment_batch Form</field>
|
|
<field name="model">opendons_payment_batch</field>
|
|
<field name="arch" type="xml">
|
|
<form string="payment_batch_form">
|
|
<header>
|
|
</header>
|
|
<sheet>
|
|
<group name="payment_batch">
|
|
|
|
<field name="create_date"/>
|
|
<field name="create_uid"/>
|
|
<field name="payment_mode_id"/>
|
|
<field name="payment_input"/>
|
|
<field name="partner_id"/>
|
|
<field name="operation_id"/>
|
|
<field name="segment_id"/>
|
|
|
|
<field name="company_id" invisible="1"/>
|
|
|
|
</group>
|
|
<button name="action_ajouter_payment" type="object" string="Ajouter" class="oe_highlight"/>
|
|
<field name="donation_ids"/>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</sheet>
|
|
</form>
|
|
</field>
|
|
</record>
|
|
|
|
<record model="ir.actions.act_window" id="payment_batch_action">
|
|
<field name="name">Payment batch</field>
|
|
<field name="res_model">opendons_payment_batch</field>
|
|
<field name="view_mode">tree,form</field>
|
|
|
|
</record>
|
|
|
|
|
|
<menuitem id="payment_batch_top_menu" sequence="16"
|
|
name="Payments batchs"/>
|
|
|
|
<menuitem id="payment_batch_title_menu" parent="payment_batch_top_menu"
|
|
sequence="15" name="Payments batchs"/>
|
|
|
|
<menuitem id="payment_batch_menu" action="payment_batch_action"
|
|
parent="payment_batch_title_menu" sequence="10"/>
|
|
|
|
|
|
</data>
|
|
</odoo>
|