Merge pull request #17217 from phot0n/fix-integration-req-patch
This commit is contained in:
commit
40e7d9b824
1 changed files with 4 additions and 0 deletions
|
|
@ -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")},
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue