diff --git a/.copier-answers.yml b/.copier-answers.yml index c1631b7c7..6fabe213a 100644 --- a/.copier-answers.yml +++ b/.copier-answers.yml @@ -1,9 +1,14 @@ # Do NOT update manually; changes here will be overwritten by Copier -_commit: v1.6.1 +_commit: v1.11.1 _src_path: https://github.com/OCA/oca-addons-repo-template.git ci: GitHub dependency_installation_mode: PIP generate_requirements_txt: true +github_check_license: true +github_enable_codecov: true +github_enable_makepot: true +github_enable_stale_action: true +github_enforce_dev_status_compatibility: true include_wkhtmltopdf: false odoo_version: 13.0 org_name: Odoo Community Association (OCA) @@ -15,3 +20,4 @@ repo_slug: bank-payment repo_website: https://github.com/OCA/bank-payment travis_apt_packages: [] travis_apt_sources: [] + diff --git a/.gitignore b/.gitignore index 818770fb1..9c283fd41 100644 --- a/.gitignore +++ b/.gitignore @@ -15,7 +15,6 @@ build/ develop-eggs/ dist/ eggs/ -lib/ lib64/ parts/ sdist/ diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index a3f59c66e..24f904cb7 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -102,10 +102,16 @@ repos: name: isort except __init__.py exclude: /__init__\.py$ - repo: https://github.com/acsone/setuptools-odoo - rev: 2.5.2 + rev: 3.1.8 hooks: - id: setuptools-odoo-make-default - - repo: https://gitlab.com/pycqa/flake8 + - id: setuptools-odoo-get-requirements + args: + - --output + - requirements.txt + - --header + - "# generated from manifests external_dependencies" + - repo: https://github.com/PyCQA/flake8 rev: 3.7.9 hooks: - id: flake8 diff --git a/.pylintrc b/.pylintrc index c3d75e12d..20d850dfe 100644 --- a/.pylintrc +++ b/.pylintrc @@ -1,3 +1,5 @@ + + [MASTER] load-plugins=pylint_odoo score=n diff --git a/.pylintrc-mandatory b/.pylintrc-mandatory index 3e19630b6..1c8f3771f 100644 --- a/.pylintrc-mandatory +++ b/.pylintrc-mandatory @@ -1,3 +1,4 @@ + [MASTER] load-plugins=pylint_odoo score=n diff --git a/account_banking_sepa_credit_transfer/tests/test_sct.py b/account_banking_sepa_credit_transfer/tests/test_sct.py index a457ca115..190432aec 100644 --- a/account_banking_sepa_credit_transfer/tests/test_sct.py +++ b/account_banking_sepa_credit_transfer/tests/test_sct.py @@ -352,7 +352,7 @@ class TestSCT(SavepointCase): currency_id, price_unit, reference, - type="in_invoice", + invoice_type="in_invoice", ): data = { "partner_id": partner_id, @@ -360,7 +360,7 @@ class TestSCT(SavepointCase): "ref": reference, "currency_id": currency_id, "invoice_date": time.strftime("%Y-%m-%d"), - "type": type, + "type": invoice_type, "payment_mode_id": cls.payment_mode.id, "invoice_partner_bank_id": cls.env.ref(partner_bank_xmlid).id, "invoice_line_ids": [], diff --git a/requirements.txt b/requirements.txt index 051b14ceb..a3b88976e 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1 +1,3 @@ +# generated from manifests external_dependencies +lxml unidecode