Files
encoach_be_odoo19/encoach_subscription/views/payment_views.xml
Talal Sharabi f5b627256f EnCoach Odoo 19 custom modules
Full backend implementation with custom Odoo modules:
- encoach_api: Core API, user management, JWT auth
- encoach_exam: Exam generation (reading, writing, listening, speaking)
- encoach_evaluate: AI-powered evaluation (writing, speaking)
- encoach_training: Training tips and walkthrough
- encoach_storage: File storage management
- encoach_payment: Stripe, PayPal, Paymob integration
- encoach_mail: Email notifications

Made-with: Cursor
2026-03-14 16:46:46 +04:00

66 lines
2.5 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<odoo>
<record id="view_encoach_subscription_payment_tree" model="ir.ui.view">
<field name="name">encoach.subscription.payment.tree</field>
<field name="model">encoach.subscription.payment</field>
<field name="arch" type="xml">
<list string="Payments">
<field name="user_id"/>
<field name="package_id"/>
<field name="provider"/>
<field name="status"/>
<field name="amount"/>
<field name="currency"/>
<field name="transaction_id"/>
<field name="created_at"/>
</list>
</field>
</record>
<record id="view_encoach_subscription_payment_form" model="ir.ui.view">
<field name="name">encoach.subscription.payment.form</field>
<field name="model">encoach.subscription.payment</field>
<field name="arch" type="xml">
<form string="Payment">
<sheet>
<group>
<group>
<field name="user_id"/>
<field name="package_id"/>
<field name="provider"/>
<field name="status"/>
</group>
<group>
<field name="amount"/>
<field name="currency"/>
<field name="transaction_id"/>
<field name="entity_id"/>
<field name="created_at"/>
</group>
</group>
</sheet>
</form>
</field>
</record>
<record id="action_encoach_subscription_payment" model="ir.actions.act_window">
<field name="name">Payments</field>
<field name="res_model">encoach.subscription.payment</field>
<field name="view_mode">list,form</field>
<field name="help" type="html">
<p class="o_view_nocontent_smiling_face">
No payments yet.
</p>
<p>
Payment records track Stripe, PayPal, and Paymob transactions for subscription purchases.
</p>
</field>
</record>
<menuitem id="menu_encoach_payments"
name="Payments"
parent="encoach_core.menu_encoach_subscription"
action="action_encoach_subscription_payment"
sequence="20"/>
</odoo>