Skip to content

Commit

Permalink
spaces
Browse files Browse the repository at this point in the history
  • Loading branch information
brendaf committed Apr 23, 2024
1 parent 3a3df6a commit 3d120f1
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 15 deletions.
34 changes: 21 additions & 13 deletions donation_recurrency/views/donation_recurrency.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,15 +24,15 @@
name="terminate_reason_id"
options="{'no_open':True}"
/>
</strong> on <field
name="terminate_date" /> . </p>
</strong> on <field name="terminate_date" /> . </p>
<p>
<field name="terminate_comment" />
</p>
</div>
<header>

<button string="Create Donations"
<button
string="Create Donations"
name="recurring_create_donations"
type="object"
attrs="{'invisible': [('is_terminated','=',True)]}"
Expand All @@ -52,29 +52,39 @@
name="%(recurrency_donation_action)d"
icon="fa-heart-o"
>
<field string="Donations" name="donation_count" widget="statinfo" />
<field
string="Donations"
name="donation_count"
widget="statinfo"
/>
</button>
</div>
<group name="main">
<group>
<field name="partner_id"
<field
name="partner_id"
attrs="{'readonly': [('is_terminated','=',True)]}"
/>
<field name="company_id" invisible="1" />
<field name="payment_mode_id"
<field
name="payment_mode_id"
widget="selection"
attrs="{'readonly': [('is_terminated','=',True)]}"
/>
<field name="thanks_template_id"
<field
name="thanks_template_id"
attrs="{'readonly': [('is_terminated','=',True)]}"
/>
<field name="campaign_id"
<field
name="campaign_id"
attrs="{'readonly': [('is_terminated','=',True)]}"
/>
</group>
<notebook>
<page string="Donation Lines" name="lines">
<field name="line_ids" nolabel="1"
<field
name="line_ids"
nolabel="1"
attrs="{'readonly': [('is_terminated','=',True)]}"
/>
<!-- <group name="subtotal" class="oe_subtotal_footer oe_right">
Expand Down Expand Up @@ -103,9 +113,7 @@
</div>
</group>
<group>
<field
name="date_start"
/>
<field name="date_start" />
<field name="date_end" />
<field name="recurring_next_date" />
</group>
Expand Down Expand Up @@ -227,4 +235,4 @@
sequence="20"
/>

</odoo>
</odoo>
3 changes: 1 addition & 2 deletions donation_summary/data/mail_template.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,7 @@
<field name="body_html" type="html">
<div style="margin: 0px; padding: 0px;">
<p style="margin: 0px; padding: 0px; font-size: 13px;"> Dear
<t t-out="object.partner_id.name or ''">Brandon Freeman</t>, <br
/>
<t t-out="object.partner_id.name or ''">Brandon Freeman</t>, <br />
<br
/> We want to express our sincere gratitude for your suport and generosity towards our mission. <br
/> We are pleased to inform you that attached you will find a detailed summary of all
Expand Down

0 comments on commit 3d120f1

Please sign in to comment.