fix: show drive id

This commit is contained in:
Himanshu Warekar 2019-08-11 19:48:16 +05:30
parent 4ae9624787
commit 6fecd28df0
2 changed files with 4 additions and 3 deletions

View file

@ -40,6 +40,8 @@ frappe.ui.form.on('Google Drive', {
frappe.msgprint(r.message);
});
});
} else {
frm.set_df_property("backup_folder_id", "read_only", 1);
}
},
authorize_google_drive_access: function(frm) {

View file

@ -83,11 +83,10 @@
{
"fieldname": "backup_folder_id",
"fieldtype": "Data",
"label": "Backup Folder ID",
"read_only": 1
"label": "Backup Folder ID"
}
],
"modified": "2019-08-11 16:00:39.521237",
"modified": "2019-08-11 16:17:26.314299",
"modified_by": "Administrator",
"module": "Integrations",
"name": "Google Drive",