mirror of
https://github.com/OCA/knowledge.git
synced 2025-07-13 15:34:49 -06:00
[IMP] document_page_reference: black, isort, prettier
This commit is contained in:
parent
4a23974391
commit
9df259a2a7
@ -5,7 +5,7 @@
|
||||
"name": "Document Page Reference",
|
||||
"summary": """
|
||||
Include references on document pages""",
|
||||
"version": "13.0.1.0.0",
|
||||
"version": "14.0.1.0.0",
|
||||
"license": "AGPL-3",
|
||||
"author": "Creu Blanca,Odoo Community Association (OCA)",
|
||||
"website": "https://github.com/OCA/knowledge",
|
||||
|
@ -10,10 +10,11 @@ from odoo.tools.misc import html_escape
|
||||
_logger = logging.getLogger(__name__)
|
||||
|
||||
try:
|
||||
from jinja2.sandbox import SandboxedEnvironment
|
||||
import re
|
||||
|
||||
from jinja2 import Undefined
|
||||
from jinja2.lexer import name_re as old_name_re
|
||||
import re
|
||||
from jinja2.sandbox import SandboxedEnvironment
|
||||
|
||||
name_re = re.compile(u"^%s$" % old_name_re.pattern)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user