Skip to content

Commit

Permalink
Merge pull request #271 from PabloEForgeFlow/add-odoo-checklog
Browse files Browse the repository at this point in the history
[IMP] Set OCA_ENABLE_CHECKLOG_ODOO by default starting with Odoo 18.0
  • Loading branch information
sbidoul authored Sep 30, 2024
2 parents bc077b2 + b63ae12 commit addc54b
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 to make tests fail on warnings?

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 addc54b

Please sign in to comment.