diff --git a/fusion_rental/__manifest__.py b/fusion_rental/__manifest__.py index 46822737..2c040999 100644 --- a/fusion_rental/__manifest__.py +++ b/fusion_rental/__manifest__.py @@ -1,6 +1,6 @@ { 'name': 'Fusion Rental', - 'version': '19.0.2.0.0', + 'version': '19.0.2.0.1', 'category': 'Sales/Rental', 'sequence': 200, 'summary': "Rental lifecycle: agreements, deposits, auto-renewal, marketing, inspections.", diff --git a/fusion_rental/data/mail_template_data.xml b/fusion_rental/data/mail_template_data.xml index 75e2ef9d..6f8df1b9 100644 --- a/fusion_rental/data/mail_template_data.xml +++ b/fusion_rental/data/mail_template_data.xml @@ -7,7 +7,7 @@ Rental: Renewal Reminder - {{ object.company_id.name }} - Rental {{ object.name }} Renews Soon + {{ object.company_id.name }} - Your rental {{ object.name }} continues soon {{ (object.company_id.email_formatted or object.user_id.email_formatted or user.email_formatted) }} {{ object.partner_id.id }} @@ -18,22 +18,28 @@

-

Rental Renewal Notice

+

Your rental continues soon

- Your rental order is scheduled for automatic renewal on . + Hi , this is a friendly heads-up that your rental will continue automatically on . You don't need to do anything — we'll just bill the recurring rental charge below.

- - - - - +
Renewal Details
Order
Renewal Date
Renewal Amount
+ + + +
Next Rental Period
Order
Continues on
Recurring Rental Charge
-
-

If you would like to continue your rental, no action is needed. If you wish to cancel and schedule a pickup, click the button below.

+

+ This is the recurring rental charge only. Your security deposit stays on file and is not re-billed, and any one-time delivery or installation fees from your original order are not charged again. +

+
+

Happy with your rental? No action needed — it will simply continue. If you'd like us to come pick the item up instead, use the link below.

- Request Cancellation & Pickup + Schedule a pickup instead
+

+ Questions? Just reply to this email and we'll be happy to help. +

--
diff --git a/fusion_rental/models/__pycache__/sale_order.cpython-312.pyc b/fusion_rental/models/__pycache__/sale_order.cpython-312.pyc new file mode 100644 index 00000000..0df99060 Binary files /dev/null and b/fusion_rental/models/__pycache__/sale_order.cpython-312.pyc differ diff --git a/fusion_rental/models/sale_order.py b/fusion_rental/models/sale_order.py index f2608847..65764243 100644 --- a/fusion_rental/models/sale_order.py +++ b/fusion_rental/models/sale_order.py @@ -842,6 +842,7 @@ class SaleOrder(models.Model): if template: template.with_context( cancel_token=cancel_token, + renewal_amount=self._get_renewal_amount(), ).send_mail(self.id, force_send=True) def _send_renewal_reminder_sms(self, cancel_token):