diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 0a38f3facf2bef8c1577d8339950d6c32e913b60_LmdpdGxhYi1jaS55bWw=..abc5523a238f7b62ff0b9c603e2a5ad3ec502d3e_LmdpdGxhYi1jaS55bWw= 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,3 +1,11 @@ include: - project: xcg/ci-templates file: /odoo/13.0/gitlab-ci.yaml + +variables: + CI_TEMPLATE_NO_INSTALL_MODULE: "" + +# Pylint does not like that the module is installed in a different path than odoo other addons +pylint: + variables: + CI_TEMPLATE_NO_INSTALL_MODULE: "no" diff --git a/.hgconf b/.hgconf deleted file mode 100644 index 0a38f3facf2bef8c1577d8339950d6c32e913b60_LmhnY29uZg==..0000000000000000000000000000000000000000 --- a/.hgconf +++ /dev/null @@ -1,29 +0,0 @@ -[account_payment_split] -pulluri = https://orus.io/xcg/odoo-modules/account_payment_split -layout = ../account_payment_split -track = 13.0.1.0.0 - -[account_period] -pulluri = https://orus.io/xcg/odoo-modules/account_period -layout = ../account_period -track = 13.0.1.0.0 - -[account_analytic_structure] -pulluri = https://orus.io/xcg/odoo-modules/account_analytic_structure -layout = ../account_analytic_structure -track = 13.0.1.0.0 - -[account_export] -pulluri = https://orus.io/xcg/odoo-modules/account_export -layout = ../account_export -track = 13.0.1.0.0 - -[analytic_structure] -pulluri = https://orus.io/xcg/odoo-modules/analytic_structure -layout = ../analytic_structure -track = 13.0.1.0.0 - -[partner_codes] -pulluri = https://orus.io/xcg/odoo-modules/partner_codes -layout = ../partner_codes -track = 13.0.1.0.0 diff --git a/__manifest__.py b/__manifest__.py index 0a38f3facf2bef8c1577d8339950d6c32e913b60_X19tYW5pZmVzdF9fLnB5..abc5523a238f7b62ff0b9c603e2a5ad3ec502d3e_X19tYW5pZmVzdF9fLnB5 100644 --- a/__manifest__.py +++ b/__manifest__.py @@ -26,10 +26,6 @@ "author": "XCG Consulting", "website": "https://orbeet.io/", "depends": [ - "base", - "account", - "account_payment_split", - "account_period", "account_analytic_structure", "account_export", "partner_codes", diff --git a/pyproject.toml b/pyproject.toml index 0a38f3facf2bef8c1577d8339950d6c32e913b60_cHlwcm9qZWN0LnRvbWw=..abc5523a238f7b62ff0b9c603e2a5ad3ec502d3e_cHlwcm9qZWN0LnRvbWw= 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,2 +1,68 @@ +[project] +name = "odoo-addon-account-report" +dynamic = ["version"] +readme = "README.rst" +requires-python = "~=3.8" +license = { file = "LICENSE", name = "GNU Affero General Public License v3" } +keywords = ["odoo"] +authors = [{ name = "XCG Consulting" }] +classifiers = [ + "Programming Language :: Python", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.8", + "Framework :: Odoo", + "Framework :: Odoo :: 13.0", + "License :: OSI Approved :: GNU Affero General Public License v3" +] +dependencies = [ + "odoo ==13.0.*", + "odoo-addon-account_analytic_structure >=13.0.1.0.1,<13.0.2", + "odoo-addon-account_export >=13.0.1.0.1,<13.0.2", + "odoo-addon-partner_codes >=13.0.1.0.0,<13.0.2", +] + +[project.optional-dependencies] +doc = ["sphinx", "sphinx-odoo-autodoc", "odoo-scripts"] +test = [] + +[project.urls] +repository = "https://orus.io/xcg/odoo-modules/account_report" +changelog = "https://orus.io/xcg/odoo-modules/account_report/-/blob/branch/13.0/NEWS.rst" + +[build-system] +requires = ["hatchling >=1.19", "hatch-vcs"] +build-backend = "hatchling.build" + +[tool.hatch.build] +exclude = [ + "/doc/", + "/.editorconfig", + "/.eslintrc.yml", + "/.flake8", + "/.gitlab-ci.yml", + "/.hgignore", + "/.hgtags", + "/.prettierrc.yml", + "/.yamllint.yaml" +] + +[tool.hatch.build.targets.wheel] +include = [ + "*.csv", + "/i18n/", + "/static/", + "README.rst", + "*.xml", + "*.py", + "*.svg", + "*.png" +] + +[tool.hatch.build.targets.wheel.sources] +"" = "odoo/addons/account_report" + +[tool.hatch.version] +source = "vcs" + [tool.black] line-length = 79 @@ -1,6 +67,7 @@ [tool.black] line-length = 79 -target = 3.8 +target-version = ["py38"] +required-version = "19.3b0" [tool.isort] py_version = 38