Merge pull request #17217 from phot0n/fix-integration-req-patch

This commit is contained in:
Suraj Shetty 2022-06-16 15:24:59 +05:30 committed by GitHub
commit 40e7d9b824
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -3,6 +3,10 @@ import frappe
def execute():
doctype = "Integration Request"
if not frappe.db.has_column(doctype, "integration_type"):
return
frappe.db.set_value(
doctype,
{"integration_type": "Remote", "integration_request_service": ("!=", "PayPal")},