Browse Source

May 27: [FIX] Bug Fixed 'quotation_customer_followup'

pull/317/head
RisvanaCybro 11 months ago
parent
commit
1b21f04830
  1. 2
      quotation_customer_followup/__manifest__.py
  2. 4
      quotation_customer_followup/doc/RELEASE_NOTES.md
  3. 4
      quotation_customer_followup/models/sale_order.py

2
quotation_customer_followup/__manifest__.py

@ -21,7 +21,7 @@
############################################################################# #############################################################################
{ {
'name': 'Quotation Customer Followup', 'name': 'Quotation Customer Followup',
'version': '17.0.1.0.0', 'version': '17.0.1.0.1',
'category': 'Sales', 'category': 'Sales',
'summary': """Followup mail for late quotations and quotation expiry""", 'summary': """Followup mail for late quotations and quotation expiry""",
'description': """Sending automated followup mail to customers after the 'description': """Sending automated followup mail to customers after the

4
quotation_customer_followup/doc/RELEASE_NOTES.md

@ -4,3 +4,7 @@
#### Version 17.0.1.0.0 #### Version 17.0.1.0.0
#### ADD #### ADD
- Initial commit for Quotation Customer Followup - Initial commit for Quotation Customer Followup
#### 27.05.2024
#### Version 17.0.1.0.1
#### UPDT
- Updated the from mail id

4
quotation_customer_followup/models/sale_order.py

@ -54,7 +54,7 @@ class SaleOrder(models.Model):
('validity_date', '=', fields.date.today())]): ('validity_date', '=', fields.date.today())]):
email_template.send_mail(self.id, email_values={ email_template.send_mail(self.id, email_values={
'email_to': rec.partner_id.email, '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): def followup_scheduler_queue(self):
"""Function to send mail to customer based on if state does not """Function to send mail to customer based on if state does not
@ -73,4 +73,4 @@ class SaleOrder(models.Model):
'date_order', '<', end_date)]): 'date_order', '<', end_date)]):
email_template.send_mail(self.id, email_values={ email_template.send_mail(self.id, email_values={
'email_to': rec.partner_id.email, '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)

Loading…
Cancel
Save