Skip to content

Commit

Permalink
[UPD] copier.yml: add question to enable checklog-odoo, enabled by de…
Browse files Browse the repository at this point in the history
…fault in Odoo >= 18.0
  • Loading branch information
PabloEForgeFlow committed Sep 26, 2024
1 parent bc077b2 commit 1072470
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
5 changes: 5 additions & 0 deletions copier.yml
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,11 @@ include_wkhtmltopdf:
Do you need to install wkhtmltopdf? Usually only needed if you're going to test PDF
report generation.

enable_checklog_odoo:
type: bool
default: "{% if odoo_version < 18.0 -%}no{% else %}yes{% endif %}"
help: Do you want warnings to make tests fail?

github_enforce_dev_status_compatibility:
type: bool
default: yes
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,9 @@ jobs:
INCLUDE: "{% raw %}${{ matrix.include }}{% endraw %}"
EXCLUDE: "{% raw %}${{ matrix.exclude }}{% endraw %}"
{%- endif %}
{%- if enable_checklog_odoo %}
OCA_ENABLE_CHECKLOG_ODOO: "1"
{%- endif %}
{%- for key, value in github_ci_extra_env.items() %}
{{ key }}: {{ value|to_json }}
{%- endfor %}
Expand Down

0 comments on commit 1072470

Please sign in to comment.