This commit is contained in:
Luiz Costa 2024-06-03 12:01:21 +01:00
parent a63d1b70ed
commit f966cfaa77

View File

@ -29,6 +29,7 @@ def create_session(doc, protocol):
print("Error: Could not get token") print("Error: Could not get token")
token = None token = None
if token: if token:
print(f"Token: {token}")
# Get credentials from IT User Account # Get credentials from IT User Account
acc_doc = frappe.get_doc('IT User Account', doc.link) acc_doc = frappe.get_doc('IT User Account', doc.link)
print(f"Print doc values: {acc_doc}") print(f"Print doc values: {acc_doc}")