Tuesday, October 10, 2023
3 changes · master
New functionality added to Odoo
This proposed change lets Odoo download updated language translations from an online source instead of relying only on files bundled with the software. It could make translations available sooner, reduce installation size, and allow updates without waiting for a full code release, though the PR is still experimental and raises deployment and security questions.
Original PR description
_This is a PoC to test the feasibility of such approach, nothing decided yet, creating a PR to make it easier to discuss_ Fetch the latest translations from an external provider (e.g. nightly/CDN…
_This is a PoC to test the feasibility of such approach, nothing decided yet, creating a PR to make it easier to discuss_ Fetch the latest translations from an external provider (e.g. nightly/CDN server) instead of relying on local files. This would allow to: - fetch translations more regularly than once per week - be able to update translations without having to wait for the source code to be updated - reduce the size of the repository/install files by removing .po files from this repository Questions: - how to manage SaaS installations (you do no want the action on one db to impact the files used by another) \--> solution used, two extraction methods : save to fs or save to ir.attachment - how to manage no longer supported versions and nightly server (we won't serve v14 translation files in 2042)? - triple check security related stuff as executing files downloaded This PR uses odoo/odoo#38859 as base (still to merge). Misc: - adds a `i18n_server` module to create packs, serve translations (cf retirement problem above) and test the download - copied all translations to https://github.com/odoo-dev/i18n for a demo github translation server - published test packs at https://odoo-dev.github.io/i18n to have a functional runbot Todo/Problems to solve: - we use the .pot files as reference, this is no longer working (as the files are no longer loaded from fs), this is why a test is still failing (fr_BE.po is outdated while the .pot is right) - use a `last_fetch_date` to avoid multiple refresh when not needed
Odoo now includes New Zealand English as a selectable language. This helps New Zealand users get locale settings that better match their region instead of relying on United States English defaults.
Original PR description
To avoid using the default en_US (which has different locale settings)
Adds a new Uruguay localization module with local accounting setup, tax mapping, fiscal positions, legal document types, and contact identification rules. This helps businesses operating in Uruguay configure Odoo more quickly and comply with local invoicing and accounting requirements.
Original PR description
Description of the issue/feature this PR addresses: Current behavior before PR: Desired behavior after PR is merged: --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr