[IMP] update dotfiles [ci skip]
parent
9d4334c4a8
commit
06cf8a8563
|
@ -1,14 +1,17 @@
|
|||
# Do NOT update manually; changes here will be overwritten by Copier
|
||||
_commit: v1.5.1
|
||||
_commit: v1.5.2
|
||||
_src_path: git+https://github.com/OCA/oca-addons-repo-template
|
||||
ci: GitHub
|
||||
dependency_installation_mode: PIP
|
||||
generate_requirements_txt: true
|
||||
include_wkhtmltopdf: false
|
||||
odoo_version: 14.0
|
||||
org_name: Odoo Community Association (OCA)
|
||||
org_slug: OCA
|
||||
rebel_module_groups: []
|
||||
repo_description: 'TODO: add repo description.'
|
||||
repo_name: reporting-engine
|
||||
repo_slug: reporting-engine
|
||||
repo_website: https://github.com/OCA/reporting-engine
|
||||
travis_apt_packages: []
|
||||
travis_apt_sources: []
|
||||
|
|
|
@ -4,7 +4,7 @@ env:
|
|||
|
||||
# See https://github.com/OCA/odoo-community.org/issues/37#issuecomment-470686449
|
||||
parserOptions:
|
||||
ecmaVersion: 2017
|
||||
ecmaVersion: 2019
|
||||
|
||||
overrides:
|
||||
- files:
|
||||
|
|
|
@ -2,7 +2,12 @@ name: pre-commit
|
|||
|
||||
on:
|
||||
pull_request:
|
||||
branches:
|
||||
- "14.0*"
|
||||
push:
|
||||
branches:
|
||||
- "14.0"
|
||||
- "14.0-ocabot-*"
|
||||
|
||||
jobs:
|
||||
pre-commit:
|
||||
|
@ -10,13 +15,6 @@ jobs:
|
|||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/setup-python@v2
|
||||
with:
|
||||
# The pylint-odoo version we use here does not support python 3.10
|
||||
# https://github.com/OCA/oca-addons-repo-template/issues/80
|
||||
# We also need to pin to an older version of python for older odoo versions
|
||||
# where we are not using black > 21. Older black versions won't work with
|
||||
# Python 3.9.8+, and we can't bump black without reformatting.
|
||||
python-version: "3.9.7"
|
||||
- name: Get python version
|
||||
run: echo "PY=$(python -VV | sha256sum | cut -d' ' -f1)" >> $GITHUB_ENV
|
||||
- uses: actions/cache@v1
|
||||
|
|
|
@ -6,7 +6,8 @@ on:
|
|||
- "14.0*"
|
||||
push:
|
||||
branches:
|
||||
- "14.0*"
|
||||
- "14.0"
|
||||
- "14.0-ocabot-*"
|
||||
|
||||
jobs:
|
||||
unreleased-deps:
|
||||
|
|
|
@ -46,7 +46,7 @@ repos:
|
|||
- --remove-duplicate-keys
|
||||
- --remove-unused-variables
|
||||
- repo: https://github.com/psf/black
|
||||
rev: 20.8b1
|
||||
rev: 22.3.0
|
||||
hooks:
|
||||
- id: black
|
||||
- repo: https://github.com/pre-commit/mirrors-prettier
|
||||
|
@ -120,7 +120,7 @@ repos:
|
|||
name: flake8
|
||||
additional_dependencies: ["flake8-bugbear==20.1.4"]
|
||||
- repo: https://github.com/PyCQA/pylint
|
||||
rev: pylint-2.5.3
|
||||
rev: v2.11.1
|
||||
hooks:
|
||||
- id: pylint
|
||||
name: pylint with optional checks
|
||||
|
@ -129,7 +129,7 @@ repos:
|
|||
- --exit-zero
|
||||
verbose: true
|
||||
additional_dependencies: &pylint_deps
|
||||
- pylint-odoo==3.5.0
|
||||
- pylint-odoo==5.0.5
|
||||
- id: pylint
|
||||
name: pylint with mandatory checks
|
||||
args:
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
|
||||
[](https://runboat.odoo-community.org/builds?repo=OCA/reporting-engine&target_branch=14.0)
|
||||
[](https://github.com/OCA/reporting-engine/actions/workflows/pre-commit.yml?query=branch%3A14.0)
|
||||
[](https://github.com/OCA/reporting-engine/actions/workflows/test.yml?query=branch%3A14.0)
|
||||
|
@ -47,12 +48,11 @@ addon | version | maintainers | summary
|
|||
|
||||
This repository is licensed under [AGPL-3.0](LICENSE).
|
||||
|
||||
However, each module can have a totally different license, as long as they adhere to OCA
|
||||
However, each module can have a totally different license, as long as they adhere to Odoo Community Association (OCA)
|
||||
policy. Consult each module's `__manifest__.py` file, which contains a `license` key
|
||||
that explains its license.
|
||||
|
||||
----
|
||||
|
||||
OCA, or the [Odoo Community Association](http://odoo-community.org/), is a nonprofit
|
||||
organization whose mission is to support the collaborative development of Odoo features
|
||||
and promote its widespread use.
|
||||
|
|
|
@ -738,7 +738,7 @@ class ReportXlsxAbstract(models.AbstractModel):
|
|||
|
||||
@staticmethod
|
||||
def _apply_formula_quirk(args_data, cell_type, cell_format):
|
||||
""" Insert empty value to force LibreOffice to recompute the value """
|
||||
"""Insert empty value to force LibreOffice to recompute the value"""
|
||||
if cell_type == "formula":
|
||||
if not cell_format:
|
||||
# Insert positional argument for missing format
|
||||
|
|
Loading…
Reference in New Issue