Skip to content

Commit

Permalink
(98 > 88 characters)
Browse files Browse the repository at this point in the history
  • Loading branch information
brendaf committed Apr 23, 2024
1 parent e5fdd85 commit 8a18423
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion donation_recurrency/models/donation_recurrency.py
Original file line number Diff line number Diff line change
Expand Up @@ -465,7 +465,7 @@ def recurring_create_donations(self):
# continue_while = False
# else:
# continue_while = True
# continue_while = rec.recurring_next_date and
# continue_while = rec.recurring_next_date and
# (not rec.date_end or rec.recurring_next_date <= rec.date_end) and res


Expand Down
6 changes: 3 additions & 3 deletions donation_summary/wizard/donation_summary_send.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@ class DonationSummarySend(models.TransientModel):
"Use template",
default=lambda self: self._get_report_template(),
)
# template_id = fields.Many2one('mail.template', 'Use template',
# domain="[('model', '=', 'donation.summary'), ]",
# template_id = fields.Many2one('mail.template', 'Use template',
# domain="[('model', '=', 'donation.summary'), ]",
# default=lambda self: self._get_report_template())

def _get_report_template(self):
Expand Down Expand Up @@ -104,7 +104,7 @@ def onchange_template_id(self):
# wizard.template_id.report_template = self.get_ref_report_name(lang)
wizard.composer_id.template_id = wizard.template_id.id
# Get different report depending on the lang
# wizard.composer_id.template_id.report_template
# wizard.composer_id.template_id.report_template
# = self.get_ref_report_name(lang)
wizard._compute_composition_mode()
wizard.composer_id._onchange_template_id_wrapper()
Expand Down

0 comments on commit 8a18423

Please sign in to comment.