Merge pull request #3990 from expsa/younes_dev_odex25_donation

Add full Recurring Donation automation with SMS alerts
This commit is contained in:
kchyounes19 2025-07-22 16:10:07 +01:00 committed by GitHub
commit 4ab74bf72d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 6 additions and 13 deletions

View File

@ -1,6 +1,5 @@
<?xml version="1.0" encoding="utf-8" ?>
<odoo noupdate="1">
cron_recurring_create_invoice()
<record id="cron_process_recurring_donations" model="ir.cron">
<field name="name">Process Recurring Donations</field>
<field name="model_id" ref="model_donation_recurring"/>

View File

@ -130,15 +130,12 @@
<field name="name">donation.recurring.kanban</field>
<field name="model">donation.recurring</field>
<field name="arch" type="xml">
<!-- <kanban default_group_by="stage_id" class="o_kanban_small_column" sample="1">-->
<kanban>
<!-- <field name="stage_id"/>-->
<kanban default_group_by="state" class="o_kanban_small_column" sample="1">
<field name="state"/>
<field name="name"/>
<field name="partner_id"/>
<!-- <field name="beneficiary_name"/> -->
<field name="partner_mobile"/>
<field name="total_amount"/>
<!-- <field name="image_128"/> -->
<templates>
<t t-name="kanban-box">
<div class="oe_kanban_global_click">
@ -146,19 +143,16 @@
<strong class="o_kanban_record_title">
<field name="name"/>
</strong>
<div class="o_kanban_record_subtitle">
<div>
<field name="partner_id"/>
</div>
<!-- <div>
<field name="beneficiary_name"/>
</div> -->
<div class="text-muted">
Amount:
<field name="partner_mobile"/>
</div>
<div class="text-muted" t-if="record.remaining_amount.value > 0">
Remaining:
<div class="text-muted">
Amount:
<field name="total_amount"/>
</div>
</div>