added permissions for server side print
This commit is contained in:
parent
bed19ac4d3
commit
4a80bc63b0
@ -12,4 +12,7 @@
|
||||
<body>
|
||||
{{ body }}
|
||||
</body>
|
||||
{%- if comment -%}
|
||||
<!-- {{ comment }} -->
|
||||
{%- endif -%}
|
||||
</html>
|
@ -76,7 +76,10 @@ def get_html(page_name):
|
||||
from_cache = True
|
||||
|
||||
if not html:
|
||||
webnotes.connect()
|
||||
from webnotes.auth import HTTPRequest
|
||||
webnotes.http_request = HTTPRequest()
|
||||
|
||||
#webnotes.connect()
|
||||
html = load_into_cache(page_name)
|
||||
from_cache = False
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user