diff --git a/donation_recurrency/models/donation_recurrency.py b/donation_recurrency/models/donation_recurrency.py index 2c7e541a0..6a4356ba6 100644 --- a/donation_recurrency/models/donation_recurrency.py +++ b/donation_recurrency/models/donation_recurrency.py @@ -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 diff --git a/donation_summary/wizard/donation_summary_send.py b/donation_summary/wizard/donation_summary_send.py index a6be96911..dc4db102b 100644 --- a/donation_summary/wizard/donation_summary_send.py +++ b/donation_summary/wizard/donation_summary_send.py @@ -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): @@ -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()