Skip to content

Conversation

@cyrilmanuel
Copy link
Contributor

option is deprecated in 19.0 :

https://camptocamp.atlassian.net/browse/BSPLA-91

@florentx
Copy link
Contributor

It is not obvious to me that option is deprecated.

There is a new option --with-demo but --without-demo is still fully supported.

Significant change is that --without-demo="" is no longer accepted. It is parsed wrong. It should be changed to an explicit boolean, like `--without-demo=False" probably. To test.

https://odoo.com/documentation/19.0/developer/reference/cli.html?highlight=--without-demo#cmdoption-odoo-bin-with-demo

@florentx florentx requested a review from leemannd December 23, 2025 11:30
@florentx
Copy link
Contributor

Proposal, which might cover other use cases as well (e.g.: running tests):

@leemannd
Copy link
Member

leemannd commented Jan 5, 2026

Hello @florentx ,
There are warnings when launching an odoo 19.

It comes from:

@leemannd
Copy link
Member

leemannd commented Jan 5, 2026

@cyrilmanuel , we are not using the branch master for the project planair. We need this into the branch https://github.com/camptocamp/docker-odoo-project/tree/release-4.5.X

@florentx
Copy link
Contributor

florentx commented Jan 5, 2026

I see now upstream PR, that I didn't see earlier.

However, option without_demo = ... is supported, and there is no warning, after I apply #390.

Since bin/docker-entrypoint.sh is cross-compatible 14.0 to 19.0, and uses WITHOUT_DEMO env var, I suggest to keep using it for the time being, so that images for Odoo 18 and older still behave right.

We might reconsider it later.

@leemannd
Copy link
Member

leemannd commented Jan 5, 2026

For the time beeing it is cross compatible. But we could adapt it so it will work out of the box when it won't be.

As we are always on the rush when there is a new odoo version. I think we need to adapt it when we have the time and not when we are on a rush.

@florentx
Copy link
Contributor

florentx commented Jan 6, 2026

I've changed PR #390 for Odoo 19, to use with_demo = .

@leemannd

@florentx
Copy link
Contributor

florentx commented Jan 6, 2026

@cyrilmanuel , we are not using the branch master for the project planair. We need this into the branch https://github.com/camptocamp/docker-odoo-project/tree/release-4.5.X

Port to 4.5 branch:

@florentx florentx closed this Jan 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants