Skip to content

Conversation

@lembregtse
Copy link

We still want to improve to create a seperate config section for running_env.

jgrandguillaume and others added 30 commits October 2, 2025 09:01
(lp:c2c-addons/6.1  rev 11)
(lp:c2c-addons/6.1  rev 28.1.1)
…t is the blessed target.

(lp:c2c-addons/6.1  rev 40.2.1)
(lp:c2c-addons/6.1  rev 45.1.4)
…TK client, because for 6.1 the web client is the blessed target.

(lp:c2c-addons/6.1  rev 116)
This fixes OCA/server-tools#125 because in some Ubuntu systems
lsb_release outputs to stderr as well as stdout. This message will be
printed to console, not logged nor shown among server infomation. That
way the message is lost and only pollutes unit tests output.
In order to get visibility on https://www.odoo.com/apps the OCA board has
decided to add the OCA as author of all the addons maintained as part of the
association.
* [IMP] load server environment options from odoo rcfile

This allows delivering the code with default configuration options for
all environments in the server_environment_file module, but letting
the administrator override some configuration entries in the regular
odoo configuration file.

* server_environment_file: update README
To trigger rebuild following change in setup.py
@rousseldenis
Copy link
Contributor

/ocabot migration server_environment

@rousseldenis
Copy link
Contributor

@sbidoul

@sbidoul sbidoul self-requested a review October 11, 2025 11:00
Copy link
Member

@sbidoul sbidoul left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me.

I'm still slightly annoyed with the monkey patch. As we can't get rid of it, I wonder if it's not the right time to remove the server.config model and move it to another module. It is only used for display. I don't know if many people view the server config through that UI. I personally don't and I always worried about the security implications of exposing server environment through Odoo RPC.

@sbidoul sbidoul self-requested a review October 11, 2025 11:07
@sbidoul sbidoul dismissed their stale review October 11, 2025 11:07

No change strongly requested anymore. A suggestion to remove the UI part, though.

@OCA-git-bot
Copy link
Contributor

This PR has the approved label and has been created more than 5 days ago. It should therefore be ready to merge by a maintainer (or a PSC member if the concerned addon has no declared maintainer). 🤖

@cyrilmanuel
Copy link

@sbidoul @lembregtse , hi guys, thanks for this pr, could we fix it or accepte to deploy as it ?

@sbidoul
Copy link
Member

sbidoul commented Nov 20, 2025

@simahawk @gurneyalex as I know you are heavy users of server_environment, what do you think about removing the UI part, and eventually moving it to another module if anyone needs it? It is complex, and I often wonder if it's not a security risk.

@leemannd
Copy link

leemannd commented Dec 9, 2025

Hello @sbidoul , thank you for the reminder. We are currently thinking about a better solution.
I think that we could merge the PR and then come back with improvements.

I will do an internal followup of the question.

@cyrilmanuel
Copy link

cyrilmanuel commented Dec 10, 2025

seems to be done here ? could we merge these 2 PR ? #249

@sbidoul
Copy link
Member

sbidoul commented Dec 11, 2025

My preference goes to removing the UI part (and possibly move it to another module if anyone needs it), but that is not a blocker for me.

@lmignon
Copy link

lmignon commented Dec 16, 2025

As this PR blocks a number of other PRs, I propose merging it in the absence of any response to Stéphane's latest proposals, so that the other PRs can be merged/released in turn.

@lmignon
Copy link

lmignon commented Dec 17, 2025

/ocabot merge nobump

@OCA-git-bot
Copy link
Contributor

This PR looks fantastic, let's merge it!
Prepared branch 19.0-ocabot-merge-pr-247-by-lmignon-bump-nobump, awaiting test results.

@OCA-git-bot OCA-git-bot merged commit cca274b into OCA:19.0 Dec 17, 2025
6 of 7 checks passed
@OCA-git-bot
Copy link
Contributor

Congratulations, your PR was merged at b8e50a5. Thanks a lot for contributing to OCA. ❤️

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.