Merge pull request #6 from Noviat/15.0

Syncing from upstream Noviat/account_ebics (15.0)
This commit is contained in:
braintec 2023-08-14 01:11:48 +02:00 committed by GitHub
commit c99c99bb9f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
15 changed files with 73 additions and 45 deletions

View File

@ -1,17 +1,14 @@
# Do NOT update manually; changes here will be overwritten by Copier
_commit: v1.5.2
_src_path: gh:oca/oca-addons-repo-template
ci: GitHub
dependency_installation_mode: PIP
generate_requirements_txt: true
include_wkhtmltopdf: false
_commit: v1.2
_src_path: https://picasso.noviat.com/ci/addons-repo-template.git
ci_exclude_modules: account_asset
ci_image: ghcr.io/oca/oca-ci/py3.8-odoo15.0:latest
customer_slug: Noviat_Generic
odoo_enterprise: 1
odoo_version: 15.0
org_name: Odoo Community Association (OCA)
org_slug: OCA
rebel_module_groups: []
repo_description: 'TODO: add repo description.'
repo_name: account_ebics
repo_slug: account_ebics
repo_website: https://www.noviat.com
travis_apt_packages: []
travis_apt_sources: []
org_name: Noviat
org_slug: Noviat
repo_name: Modules dedicated to manage the EBICS protocol
repo_slug: accounting-ebics
repo_website: https://www.noviat.com/

4
.gitignore vendored
View File

@ -15,7 +15,6 @@ build/
develop-eggs/
dist/
eggs/
lib/
lib64/
parts/
sdist/
@ -70,6 +69,3 @@ docs/_build/
# Backup files
*~
*.swp
# OCA rules
!static/lib/

13
.gitlab-ci.yml Normal file
View File

@ -0,0 +1,13 @@
include:
- project: "ci/gitlabci-odoo"
ref: main
file: "/odoo-tests.template.yml"
variables:
ODOO_CI_IMAGE: ghcr.io/oca/oca-ci/py3.8-odoo15.0:latest
VERSION: "15.0"
ODOO_BRANCH: "15.0"
ENTERPRISE: "1"
ODOO_PRECOMMIT: "1"
ODOO_TEST: "1"
EXCLUDE_MODULES: "account_asset"

View File

@ -14,9 +14,11 @@ exclude: |
^docs/_templates/.*\.html$|
# You don't usually want a bot to modify your legal texts
(LICENSE.*|COPYING.*)
# Exclude the TODO folders
/TODO/
default_language_version:
python: python3
node: "14.18.0"
node: "16.10.0"
repos:
- repo: local
hooks:
@ -27,13 +29,18 @@ repos:
entry: found forbidden files; remove them
language: fail
files: "\\.rej$"
- id: en-po-files
name: en.po files cannot exist
entry: found a en.po file
language: fail
files: '[a-zA-Z0-9_]*/i18n/en\.po$'
- repo: https://github.com/oca/maintainer-tools
rev: dfba427ba03900b69e0a7f2c65890dc48921d36a
hooks:
# update the NOT INSTALLABLE ADDONS section above
- id: oca-update-pre-commit-excluded-addons
- id: oca-fix-manifest-website
args: ["https://www.noviat.com"]
args: ["https://www.noviat.com/"]
- repo: https://github.com/myint/autoflake
rev: v1.4
hooks:
@ -96,7 +103,7 @@ repos:
- id: pyupgrade
args: ["--keep-percent-format"]
- repo: https://github.com/PyCQA/isort
rev: 5.9.3
rev: 5.12.0
hooks:
- id: isort
name: isort except __init__.py
@ -104,7 +111,7 @@ repos:
- --settings=.
exclude: /__init__\.py$
- repo: https://github.com/acsone/setuptools-odoo
rev: 3.0.3
rev: 3.1.8
hooks:
- id: setuptools-odoo-make-default
- id: setuptools-odoo-get-requirements
@ -119,19 +126,15 @@ repos:
- id: flake8
name: flake8
additional_dependencies: ["flake8-bugbear==21.9.2"]
- repo: https://github.com/PyCQA/pylint
rev: v2.11.1
- repo: https://github.com/OCA/pylint-odoo
rev: 7.0.2
hooks:
- id: pylint
- id: pylint_odoo
name: pylint with optional checks
args:
- --rcfile=.pylintrc
- --exit-zero
verbose: true
additional_dependencies: &pylint_deps
- pylint-odoo==5.0.5
- id: pylint
name: pylint with mandatory checks
- id: pylint_odoo
args:
- --rcfile=.pylintrc-mandatory
additional_dependencies: *pylint_deps

View File

@ -1,9 +1,11 @@
[MASTER]
ignore-patterns=["^.*/TODO/.*$"]
load-plugins=pylint_odoo
score=n
[ODOOLINT]
readme_template_url="https://github.com/OCA/maintainer-tools/blob/master/template/module/README.rst"
# readme_template_url="https://github.com/OCA/maintainer-tools/blob/master/template/module/README.rst"
manifest_required_authors=Noviat
manifest_required_keys=license
manifest_deprecated_keys=description,active
@ -79,7 +81,7 @@ enable=anomalous-backslash-in-string,
invalid-commit,
manifest-maintainers-list,
missing-newline-extrafiles,
missing-readme,
# missing-readme,
missing-return,
odoo-addons-relative-import,
old-api7-method-defined,

View File

@ -1,9 +1,10 @@
[MASTER]
ignore-patterns=["^.*/TODO/.*$"]
load-plugins=pylint_odoo
score=n
[ODOOLINT]
readme_template_url="https://github.com/OCA/maintainer-tools/blob/master/template/module/README.rst"
# readme_template_url="https://github.com/OCA/maintainer-tools/blob/master/template/module/README.rst"
manifest_required_authors=Noviat
manifest_required_keys=license
manifest_deprecated_keys=description,active
@ -72,7 +73,7 @@ enable=anomalous-backslash-in-string,
invalid-commit,
manifest-maintainers-list,
missing-newline-extrafiles,
missing-readme,
# missing-readme,
missing-return,
odoo-addons-relative-import,
old-api7-method-defined,

View File

@ -1,5 +1,20 @@
![Licence](https://img.shields.io/badge/licence-AGPL--3-blue.svg)
[![pipeline status](https://picasso.noviat.com/Noviat/Noviat_Generic/accounting-ebics/badges/15.0/pipeline.svg)](https://picasso.noviat.com/Noviat/Noviat_Generic/accounting-ebics/-/commits/15.0)
[![coverage report](https://picasso.noviat.com/Noviat/Noviat_Generic/accounting-ebics/badges/15.0/coverage.svg)](https://picasso.noviat.com/Noviat/Noviat_Generic/accounting-ebics/-/commits/15.0)
EBICS support for Odoo
======================
<!-- /!\ do not modify above this line -->
# Modules dedicated to manage the EBICS protocol
<!-- /!\ do not modify below this line -->
<!-- prettier-ignore-start -->
[//]: # (addons)
This part will be replaced when running the oca-gen-addons-table script from OCA/maintainer-tools.
[//]: # (end addons)
<!-- prettier-ignore-end -->
----

View File

@ -6,7 +6,7 @@
"version": "15.0.1.1.3",
"license": "LGPL-3",
"author": "Noviat",
"website": "https://www.noviat.com",
"website": "https://www.noviat.com/",
"category": "Accounting & Finance",
"depends": ["account"],
"data": [

View File

@ -6,7 +6,7 @@
"version": "15.0.1.0.0",
"license": "AGPL-3",
"author": "Noviat",
"website": "https://www.noviat.com",
"website": "https://www.noviat.com/",
"category": "Accounting & Finance",
"summary": "EBICS Files automated import and processing",
"depends": ["account_ebics"],

View File

@ -6,7 +6,7 @@
"version": "15.0.1.0.0",
"license": "LGPL-3",
"author": "Noviat",
"website": "https://www.noviat.com",
"website": "https://www.noviat.com/",
"category": "Accounting & Finance",
"depends": ["account_ebics", "account_batch_payment"],
"data": ["views/account_batch_payment_views.xml"],

View File

@ -6,7 +6,7 @@
"summary": "Use OCA Bank Statement Import with account_ebics",
"version": "15.0.1.0.1",
"author": "Noviat",
"website": "https://www.noviat.com",
"website": "https://www.noviat.com/",
"category": "Hidden",
"license": "LGPL-3",
"depends": [

View File

@ -6,7 +6,7 @@
"summary": "Deploy account_ebics module on Odoo Enterprise",
"version": "15.0.1.0.0",
"author": "Noviat",
"website": "https://www.noviat.com",
"website": "https://www.noviat.com/",
"category": "Hidden",
"license": "LGPL-3",
"depends": [

View File

@ -6,7 +6,7 @@
"summary": "Use Odoo Enterprise Bank Statement Import with account_ebics",
"version": "15.0.1.0.0",
"author": "Noviat",
"website": "https://www.noviat.com",
"website": "https://www.noviat.com/",
"category": "Hidden",
"license": "LGPL-3",
"depends": [

View File

@ -6,7 +6,7 @@
"version": "15.0.1.0.0",
"license": "LGPL-3",
"author": "Noviat",
"website": "https://www.noviat.com",
"website": "https://www.noviat.com/",
"category": "Accounting & Finance",
"depends": ["account_ebics", "account_payment_order"],
"data": [

1
test-requirements.txt Normal file
View File

@ -0,0 +1 @@
cryptography<37