diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 11762377..4db00455 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -2,7 +2,6 @@ exclude: | (?x) # NOT INSTALLABLE ADDONS ^base_rest_auth_jwt/| - ^graphql_demo/| # END NOT INSTALLABLE ADDONS # Files and folders generated by bots, to avoid loops ^setup/|/static/description/index\.html$| diff --git a/graphql_demo/__manifest__.py b/graphql_demo/__manifest__.py index 50755209..d3e0fa13 100644 --- a/graphql_demo/__manifest__.py +++ b/graphql_demo/__manifest__.py @@ -3,7 +3,7 @@ { "name": "GraphQL Demo", - "version": "14.0.1.0.0", + "version": "15.0.1.0.0", "license": "LGPL-3", "author": "ACSONE SA/NV, Odoo Community Association (OCA)", "website": "https://github.com/OCA/rest-framework", @@ -11,5 +11,5 @@ "external_dependencies": {"python": ["graphene"]}, "development_status": "Beta", "maintainers": ["sbidoul"], - "installable": False, + "installable": True, } diff --git a/setup/graphql_demo/odoo/addons/graphql_demo b/setup/graphql_demo/odoo/addons/graphql_demo new file mode 120000 index 00000000..7fa97323 --- /dev/null +++ b/setup/graphql_demo/odoo/addons/graphql_demo @@ -0,0 +1 @@ +../../../../graphql_demo \ No newline at end of file diff --git a/setup/graphql_demo/setup.py b/setup/graphql_demo/setup.py new file mode 100644 index 00000000..28c57bb6 --- /dev/null +++ b/setup/graphql_demo/setup.py @@ -0,0 +1,6 @@ +import setuptools + +setuptools.setup( + setup_requires=['setuptools-odoo'], + odoo_addon=True, +)