diff --git a/quotation_customer_followup/__manifest__.py b/quotation_customer_followup/__manifest__.py index 3232a63d4..4273e8165 100644 --- a/quotation_customer_followup/__manifest__.py +++ b/quotation_customer_followup/__manifest__.py @@ -21,7 +21,7 @@ ############################################################################# { 'name': 'Quotation Customer Followup', - 'version': '17.0.1.0.0', + 'version': '17.0.1.0.1', 'category': 'Sales', 'summary': """Followup mail for late quotations and quotation expiry""", 'description': """Sending automated followup mail to customers after the diff --git a/quotation_customer_followup/doc/RELEASE_NOTES.md b/quotation_customer_followup/doc/RELEASE_NOTES.md index 768ab14f7..8ea366a08 100644 --- a/quotation_customer_followup/doc/RELEASE_NOTES.md +++ b/quotation_customer_followup/doc/RELEASE_NOTES.md @@ -4,3 +4,7 @@ #### Version 17.0.1.0.0 #### ADD - Initial commit for Quotation Customer Followup +#### 27.05.2024 +#### Version 17.0.1.0.1 +#### UPDT +- Updated the from mail id diff --git a/quotation_customer_followup/models/sale_order.py b/quotation_customer_followup/models/sale_order.py index 90dff3b55..b1f4ddb3a 100644 --- a/quotation_customer_followup/models/sale_order.py +++ b/quotation_customer_followup/models/sale_order.py @@ -54,7 +54,7 @@ class SaleOrder(models.Model): ('validity_date', '=', fields.date.today())]): email_template.send_mail(self.id, email_values={ 'email_to': rec.partner_id.email, - 'email_from': rec.user_id.login}, force_send=True) + 'email_from': rec.user_id.partner_id.email}, force_send=True) def followup_scheduler_queue(self): """Function to send mail to customer based on if state does not @@ -73,4 +73,4 @@ class SaleOrder(models.Model): 'date_order', '<', end_date)]): email_template.send_mail(self.id, email_values={ 'email_to': rec.partner_id.email, - 'email_from': rec.user_id.login}, force_send=True) + 'email_from': rec.user_id.partner_id.email}, force_send=True)