You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
49 lines
2.0 KiB
49 lines
2.0 KiB
<?xml version="1.0" encoding="UTF-8" ?>
|
|
<odoo>
|
|
<!-- A form view for the "customer wallet transactions" model with fields -->
|
|
<record id="customer_wallet_transactions_view_form" model="ir.ui.view">
|
|
<field name="name">customer.wallet.transaction.view.form</field>
|
|
<field name="model">customer.wallet.transaction</field>
|
|
<field name="arch" type="xml">
|
|
<form>
|
|
<sheet>
|
|
<group>
|
|
<div class="oe_title">
|
|
<h1>
|
|
<field name="name"/>
|
|
</h1>
|
|
</div>
|
|
</group>
|
|
<group>
|
|
<group>
|
|
<field name="date"/>
|
|
<field name="partner_id"/>
|
|
</group>
|
|
<group>
|
|
<field name="amount"/>
|
|
<field name="amount_type"/>
|
|
</group>
|
|
</group>
|
|
</sheet>
|
|
<div class="oe_chatter">
|
|
<field name="message_follower_ids"/>
|
|
<field name="activity_ids"/>
|
|
<field name="message_ids"/>
|
|
</div>
|
|
</form>
|
|
</field>
|
|
</record>
|
|
<!-- An action that opens a window for the "wallet amount" model.-->
|
|
<record id="customer_wallet_transactions_action"
|
|
model="ir.actions.act_window">
|
|
<field name="name">Customer Wallet Transaction</field>
|
|
<field name="res_model">customer.wallet.transaction</field>
|
|
<field name="view_mode">tree,form</field>
|
|
</record>
|
|
<!-- A menu item named "Add wallet Amount" added to the
|
|
"account.menu_finance_receivables" parent menu.-->
|
|
<menuitem id="menu_customer_wallet_transactions_action"
|
|
name="Wallet Transactions"
|
|
parent="account.menu_finance_receivables"
|
|
action="customer_wallet_transactions_action"/>
|
|
</odoo>
|
|
|