Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[18.0][MIG] server_environment from 17.0 #204

Draft
wants to merge 90 commits into
base: 18.0
Choose a base branch
from

Conversation

sbidoul
Copy link
Member

@sbidoul sbidoul commented Sep 30, 2024

First 18.0 PR to test the project template.

jgrandguillaume and others added 30 commits September 30, 2024 17:41
(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
moitabenfdz and others added 18 commits September 30, 2024 17:41
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: server-env-17.0/server-env-17.0-server_environment
Translate-URL: https://translation.odoo-community.org/projects/server-env-17-0/server-env-17-0-server_environment/
Currently translated at 100.0% (107 of 107 strings)

Translation: server-env-17.0/server-env-17.0-server_environment
Translate-URL: https://translation.odoo-community.org/projects/server-env-17-0/server-env-17-0-server_environment/es/
Currently translated at 100.0% (107 of 107 strings)

Translation: server-env-17.0/server-env-17.0-server_environment
Translate-URL: https://translation.odoo-community.org/projects/server-env-17-0/server-env-17-0-server_environment/it/
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: server-env-17.0/server-env-17.0-server_environment
Translate-URL: https://translation.odoo-community.org/projects/server-env-17-0/server-env-17-0-server_environment/
Currently translated at 100.0% (106 of 106 strings)

Translation: server-env-17.0/server-env-17.0-server_environment
Translate-URL: https://translation.odoo-community.org/projects/server-env-17-0/server-env-17-0-server_environment/sv/
Since previous commit adding support for ssl certificate auth,
field smtp_authentication in ir.mail_server, became a field managed by
environment, when mail_environment is installed.

This field has been defined using a default value relying on the
compute_default property allowing to define a compute function,
which matches the default value of the field.

However, as the function _compute_server_env_from_default was broken,
because it did not assign the computed value to the field, the
field was empty and connection was broken.
Revert "server_environment: Fix value assignation in compute from default"

This reverts commit 464f3ec which would
break other modules using server_environment.

The original issue must be fixed in mail_environment.
@sbidoul
Copy link
Member Author

sbidoul commented Sep 30, 2024

@moylop260 can you help with the po-pretty-format issue here? I don't understand what the error means.

@sbidoul
Copy link
Member Author

sbidoul commented Oct 1, 2024

The other issue is that the current .eslintrc.yml is not compatible with the latest eslint, and eslint-precommit does not seem to work well with pre-commit...

@rousseldenis
Copy link
Sponsor

@moylop260 can you help with the po-pretty-format issue here? I don't understand what the error means.

Currently on it.

Try regenerating .pot file.

@SirAionTech
Copy link

The other issue is that the current .eslintrc.yml is not compatible with the latest eslint, and eslint-precommit does not seem to work well with pre-commit...

Try including SirAionTech@d8e1926; I'll try to include it in the addons repo template in the next few days or more probably after the experience

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.