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