Skip to content

Conversation

@fw-bot
Copy link
Contributor

@fw-bot fw-bot commented Feb 17, 2025

This commit comes as an apology for the horrible code I wrote in PR #166043 in order for the installation of l10n_hu_edi to not fail if some of the default Hungarian taxes (defined in l10n_hu) had been deleted.

Instead of rolling back the loading of the EDI-specific fields if some taxes don't exist, we can just load those fields on the taxes that do exist. Which is a lot cleaner and simpler. Sorry again!

task-none

Forward-Port-Of: #196471

This commit comes as an apology for the horrible code I wrote in
PR odoo#166043 in order for the installation of `l10n_hu_edi` to not fail
if some of the default Hungarian taxes (defined in `l10n_hu`) had been
deleted.

Instead of rolling back the loading of the EDI-specific fields if some
taxes don't exist, we can just load those fields on the taxes that do
exist. Which is a lot cleaner and simpler. Sorry again!

task-none

X-original-commit: dcc872c
@robodoo
Copy link
Contributor

robodoo commented Feb 17, 2025

Pull request status dashboard

@robodoo robodoo added the forwardport This PR was created by @fw-bot label Feb 17, 2025
@fw-bot
Copy link
Contributor Author

fw-bot commented Feb 17, 2025

This PR targets saas-18.2 and is part of the forward-port chain. Further PRs will be created up to master.

More info at https://github.com/odoo/odoo/wiki/Mergebot#forward-port

@C3POdoo C3POdoo added the RD research & development, internal work label Feb 17, 2025
@fw-bot
Copy link
Contributor Author

fw-bot commented Feb 17, 2025

@antoine162 @RicGR98 ci/runbot failed on this forward-port PR

@fw-bot
Copy link
Contributor Author

fw-bot commented Feb 17, 2025

@antoine162 @RicGR98 ci/template failed on this forward-port PR

@robodoo
Copy link
Contributor

robodoo commented Feb 18, 2025

@antoine162 you may want to rebuild or fix this PR as it has failed CI.

robodoo pushed a commit that referenced this pull request Feb 19, 2025
This commit comes as an apology for the horrible code I wrote in
PR #166043 in order for the installation of `l10n_hu_edi` to not fail
if some of the default Hungarian taxes (defined in `l10n_hu`) had been
deleted.

Instead of rolling back the loading of the EDI-specific fields if some
taxes don't exist, we can just load those fields on the taxes that do
exist. Which is a lot cleaner and simpler. Sorry again!

task-none

closes #197938

X-original-commit: dcc872c
Signed-off-by: Ricardo Gomes Rodrigues (rigr) <rigr@odoo.com>
Signed-off-by: Antoine Dupuis (andu) <andu@odoo.com>
@robodoo robodoo closed this Feb 19, 2025
@fw-bot fw-bot deleted the saas-18.2-17.0-l10n_hu_edi-cleanup-post-init-code-andu-416426-fw branch March 5, 2025 03:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

forwardport This PR was created by @fw-bot RD research & development, internal work

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants