This commit is contained in:
Luiz Costa 2024-06-03 12:12:21 +01:00
parent 0fcafe9260
commit c223fa2c6c

View File

@ -31,7 +31,7 @@ def create_session(doc, protocol):
if token:
print(f"Token: {token}")
# Get credentials from IT User Account
print(f"Values from form: {doc}")
print(f"Values from form: {doc.link}")
acc_doc = frappe.get_doc('IT User Account', doc.link)
print(f"Print doc values: {acc_doc}")
username = acc_doc.username