fix patches
This commit is contained in:
parent
95f558e7bc
commit
6e686224eb
@ -23,7 +23,7 @@ def execute():
|
|||||||
"item_group": item_group,
|
"item_group": item_group,
|
||||||
"applicable_for": "Customer",
|
"applicable_for": "Customer",
|
||||||
"customer": d.parent,
|
"customer": d.parent,
|
||||||
"price_or_discount": "Discount",
|
"price_or_discount": "Discount Percentage",
|
||||||
"discount_percentage": d.discount
|
"discount_percentage": d.discount
|
||||||
}).insert()
|
}).insert()
|
||||||
|
|
||||||
|
@ -17,7 +17,7 @@ class SupportEmailSettings(Document):
|
|||||||
Checks support ticket email settings
|
Checks support ticket email settings
|
||||||
"""
|
"""
|
||||||
if self.sync_support_mails and self.mail_server:
|
if self.sync_support_mails and self.mail_server:
|
||||||
inc_email = frappe.get_doc('Incoming Email Settings')
|
inc_email = frappe._dict(self.as_dict())
|
||||||
# inc_email.encode()
|
# inc_email.encode()
|
||||||
inc_email.host = self.mail_server
|
inc_email.host = self.mail_server
|
||||||
inc_email.use_ssl = self.use_ssl
|
inc_email.use_ssl = self.use_ssl
|
||||||
|
Loading…
x
Reference in New Issue
Block a user