Skip to content

Commit

Permalink
[15.0] component: fix mock import, adding requirements
Browse files Browse the repository at this point in the history
  • Loading branch information
sonhd91 committed Oct 30, 2023
1 parent 23d7ca7 commit dc2300e
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion component/tests/test_build_component.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# Tell pylint to not bother us for all our fake component classes
# pylint: disable=consider-merging-classes-inherited

import mock
from unittest import mock

from odoo.addons.component.core import AbstractComponent, Component

Expand Down
5 changes: 5 additions & 0 deletions connector/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,10 @@
"views/connector_menu.xml",
"views/res_partner_views.xml",
],
"external_dependencies": {
"python": [
"sphinx_bootstrap_theme",
],
},
"installable": True,
}
1 change: 1 addition & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
# generated from manifests external_dependencies
cachetools
sphinx_bootstrap_theme

0 comments on commit dc2300e

Please sign in to comment.