Преглед изворни кода

[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:


Loading…
Откажи
Сачувај