Skip to content

Commit

Permalink
🛀 make monkey patch via post_load
Browse files Browse the repository at this point in the history
  • Loading branch information
Ivan Yelizariev committed Aug 10, 2019
1 parent 751942f commit d678775
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions openapi/__init__.py
@@ -1,3 +1,6 @@
# License LGPL-3.0 or later (https://www.gnu.org/licenses/lgpl.html).
from . import controllers
from . import models

def post_load():
from .controllers import apijsonrequest
2 changes: 1 addition & 1 deletion openapi/__manifest__.py
Expand Up @@ -41,7 +41,7 @@
# "static/src/xml/configure_api_button.xml"
],

"post_load": None,
"post_load": "post_load",
"pre_init_hook": None,
"post_init_hook": None,
"uninstall_hook": None,
Expand Down

0 comments on commit d678775

Please sign in to comment.