Skip to content

Commit

Permalink
[FIX] Better bus support out of the box
Browse files Browse the repository at this point in the history
This follows odoo/odoo#126808 and hardens websockets out of the box.

@moduon MT-8520
  • Loading branch information
yajo committed Dec 26, 2024
1 parent 4c84f90 commit cbc0a1e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions prod.yaml.jinja
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,9 @@ services:
DB_FILTER: "{{ odoo_dbfilter | replace('$', '$$') }}"
DOODBA_ENVIRONMENT: "${DOODBA_ENVIRONMENT-prod}"
INITIAL_LANG: "{{ odoo_initial_lang }}"
{%- if odoo_version >= 16.0 %}
ODOO_BUS_PUBLIC_SAMESITE_WS: 1
{%- endif %}
{%- if smtp_relay_host %}
SMTP_SERVER: smtplocal
{%- endif %}
Expand Down
3 changes: 3 additions & 0 deletions test.yaml.jinja
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@ services:
- .docker/db-access.env
environment:
DOODBA_ENVIRONMENT: "${DOODBA_ENVIRONMENT-test}"
{%- if odoo_version >= 16.0 %}
ODOO_BUS_PUBLIC_SAMESITE_WS: 1
{%- endif %}
# To install demo data export DOODBA_WITHOUT_DEMO=false
WITHOUT_DEMO: "${DOODBA_WITHOUT_DEMO-all}"
SMTP_PORT: "1025"
Expand Down

0 comments on commit cbc0a1e

Please sign in to comment.