浏览代码

[fix] User not able to access the print format from the browser view (#3339)

version-14
rohitwaghchaure 8 年前
committed by Rushabh Mehta
父节点
当前提交
0a12f631ef
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. +1
    -1
      frappe/website/render.py

+ 1
- 1
frappe/website/render.py 查看文件

@@ -33,7 +33,7 @@ def render(path=None, http_status_code=None):
except frappe.DoesNotExistError as e:
doctype, name = get_doctype_from_path(path)
if doctype and name:
path = "print"
path = "printview"
frappe.local.form_dict.doctype = doctype
frappe.local.form_dict.name = name
elif doctype:


正在加载...
取消
保存