[IMP] document_page_reference: black, isort, prettier

This commit is contained in:
Michael Telahun 2021-11-15 04:23:42 +03:00
parent 2ecad0c841
commit 7b05880e23
5 changed files with 14 additions and 6 deletions

View File

@ -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",

View File

@ -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)

View File

@ -0,0 +1 @@
../../../../document_page_reference

View File

@ -0,0 +1,6 @@
import setuptools
setuptools.setup(
setup_requires=['setuptools-odoo'],
odoo_addon=True,
)