chore: rename to avoid same name as builtin
This commit is contained in:
parent
468735adf9
commit
c4d65de32a
2 changed files with 2 additions and 2 deletions
|
|
@ -166,7 +166,7 @@ def check_for_folder_in_google_drive(google_drive, account):
|
|||
frappe.throw(_("Google Drive - Could not find folder in Google Drive - Error Code {0}.").format(e))
|
||||
|
||||
@frappe.whitelist()
|
||||
def upload_document_to_google_drive(doctype, docname, g_drive, format, letterhead):
|
||||
def upload_doc_to_google_drive(doctype, docname, g_drive, format, letterhead):
|
||||
"""
|
||||
Uploads Document to Folder specified in Google Drive Doc.
|
||||
"""
|
||||
|
|
|
|||
|
|
@ -497,7 +497,7 @@ frappe.ui.form.PrintPreview = Class.extend({
|
|||
});
|
||||
|
||||
frappe.call({
|
||||
method: "frappe.integrations.doctype.google_drive.google_drive.upload_document_to_google_drive",
|
||||
method: "frappe.integrations.doctype.google_drive.google_drive.upload_doc_to_google_drive",
|
||||
args: {
|
||||
doctype: me.frm.doc.doctype,
|
||||
docname: me.frm.doc.name,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue