mirror of
https://github.com/OCA/report-print-send.git
synced 2025-02-16 07:11:31 +02:00
Merge pull request #308 from camptocamp/14.0-copier-update
[14.0][FIX] Update from copier template
This commit is contained in:
@@ -1,17 +1,24 @@
|
|||||||
# Do NOT update manually; changes here will be overwritten by Copier
|
# Do NOT update manually; changes here will be overwritten by Copier
|
||||||
_commit: v1.5.2
|
_commit: v1.11.1
|
||||||
_src_path: gh:oca/oca-addons-repo-template
|
_src_path: gh:oca/oca-addons-repo-template
|
||||||
ci: GitHub
|
ci: GitHub
|
||||||
dependency_installation_mode: PIP
|
dependency_installation_mode: PIP
|
||||||
generate_requirements_txt: true
|
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
|
include_wkhtmltopdf: false
|
||||||
odoo_version: 14.0
|
odoo_version: 14.0
|
||||||
org_name: Odoo Community Association (OCA)
|
org_name: Odoo Community Association (OCA)
|
||||||
org_slug: OCA
|
org_slug: OCA
|
||||||
rebel_module_groups: []
|
rebel_module_groups: []
|
||||||
repo_description: 'TODO: add repo description.'
|
repo_description: This project aims to deal with the printing of documents on external
|
||||||
|
devices.
|
||||||
repo_name: report-print-send
|
repo_name: report-print-send
|
||||||
repo_slug: report-print-send
|
repo_slug: report-print-send
|
||||||
repo_website: https://github.com/OCA/report-print-send
|
repo_website: https://github.com/OCA/report-print-send
|
||||||
travis_apt_packages: []
|
travis_apt_packages: []
|
||||||
travis_apt_sources: []
|
travis_apt_sources: []
|
||||||
|
|
||||||
|
|||||||
1
.gitignore
vendored
1
.gitignore
vendored
@@ -15,7 +15,6 @@ build/
|
|||||||
develop-eggs/
|
develop-eggs/
|
||||||
dist/
|
dist/
|
||||||
eggs/
|
eggs/
|
||||||
lib/
|
|
||||||
lib64/
|
lib64/
|
||||||
parts/
|
parts/
|
||||||
sdist/
|
sdist/
|
||||||
|
|||||||
@@ -104,7 +104,7 @@ repos:
|
|||||||
- --settings=.
|
- --settings=.
|
||||||
exclude: /__init__\.py$
|
exclude: /__init__\.py$
|
||||||
- repo: https://github.com/acsone/setuptools-odoo
|
- repo: https://github.com/acsone/setuptools-odoo
|
||||||
rev: 2.6.0
|
rev: 3.1.8
|
||||||
hooks:
|
hooks:
|
||||||
- id: setuptools-odoo-make-default
|
- id: setuptools-odoo-make-default
|
||||||
- id: setuptools-odoo-get-requirements
|
- id: setuptools-odoo-get-requirements
|
||||||
@@ -113,25 +113,21 @@ repos:
|
|||||||
- requirements.txt
|
- requirements.txt
|
||||||
- --header
|
- --header
|
||||||
- "# generated from manifests external_dependencies"
|
- "# generated from manifests external_dependencies"
|
||||||
- repo: https://gitlab.com/PyCQA/flake8
|
- repo: https://github.com/PyCQA/flake8
|
||||||
rev: 3.8.3
|
rev: 3.8.3
|
||||||
hooks:
|
hooks:
|
||||||
- id: flake8
|
- id: flake8
|
||||||
name: flake8
|
name: flake8
|
||||||
additional_dependencies: ["flake8-bugbear==20.1.4"]
|
additional_dependencies: ["flake8-bugbear==20.1.4"]
|
||||||
- repo: https://github.com/PyCQA/pylint
|
- repo: https://github.com/OCA/pylint-odoo
|
||||||
rev: v2.11.1
|
rev: 7.0.2
|
||||||
hooks:
|
hooks:
|
||||||
- id: pylint
|
- id: pylint_odoo
|
||||||
name: pylint with optional checks
|
name: pylint with optional checks
|
||||||
args:
|
args:
|
||||||
- --rcfile=.pylintrc
|
- --rcfile=.pylintrc
|
||||||
- --exit-zero
|
- --exit-zero
|
||||||
verbose: true
|
verbose: true
|
||||||
additional_dependencies: &pylint_deps
|
- id: pylint_odoo
|
||||||
- pylint-odoo==5.0.5
|
|
||||||
- id: pylint
|
|
||||||
name: pylint with mandatory checks
|
|
||||||
args:
|
args:
|
||||||
- --rcfile=.pylintrc-mandatory
|
- --rcfile=.pylintrc-mandatory
|
||||||
additional_dependencies: *pylint_deps
|
|
||||||
|
|||||||
@@ -1,3 +1,5 @@
|
|||||||
|
|
||||||
|
|
||||||
[MASTER]
|
[MASTER]
|
||||||
load-plugins=pylint_odoo
|
load-plugins=pylint_odoo
|
||||||
score=n
|
score=n
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
|
|
||||||
[MASTER]
|
[MASTER]
|
||||||
load-plugins=pylint_odoo
|
load-plugins=pylint_odoo
|
||||||
score=n
|
score=n
|
||||||
|
|||||||
@@ -9,7 +9,7 @@
|
|||||||
|
|
||||||
# report-print-send
|
# report-print-send
|
||||||
|
|
||||||
TODO: add repo description.
|
This project aims to deal with the printing of documents on external devices.
|
||||||
|
|
||||||
<!-- /!\ do not modify below this line -->
|
<!-- /!\ do not modify below this line -->
|
||||||
|
|
||||||
|
|||||||
@@ -55,7 +55,7 @@ def _default_font_format(data):
|
|||||||
if vals.get(zpl2.ARG_HEIGHT, False) and not vals.get(zpl2.ARG_WIDTH, False):
|
if vals.get(zpl2.ARG_HEIGHT, False) and not vals.get(zpl2.ARG_WIDTH, False):
|
||||||
vals.update({zpl2.ARG_WIDTH: vals.get(zpl2.ARG_HEIGHT)})
|
vals.update({zpl2.ARG_WIDTH: vals.get(zpl2.ARG_HEIGHT)})
|
||||||
else:
|
else:
|
||||||
vals.update({zpl2.ARG_HEIGHT: 10, zpl2.ARG_HEIGHT: 10})
|
vals.update({zpl2.ARG_HEIGHT: 10})
|
||||||
return vals
|
return vals
|
||||||
return {}
|
return {}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user