Skip to content

[OU-ADD] l10n_it remove safely xmlids #5098

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

Draft
wants to merge 2 commits into
base: 15.0
Choose a base branch
from

Conversation

sergiocorato
Copy link

@sergiocorato sergiocorato commented Jun 11, 2025

Remove safely xmlids as they are deleted:

DEL account.tax.group: l10n_it.tax_group_iva_10_de_50

@pedrobaeza
Copy link
Member

pedrobaeza commented Jun 11, 2025

AFAIK this would be [OU-ADD] and you should mark the module as Done in the RST file.

@pedrobaeza pedrobaeza added this to the 15.0 milestone Jun 11, 2025
@sergiocorato sergiocorato changed the title [FIX] l10n_it remove safely xmlids [OU-ADD] l10n_it remove safely xmlids Jun 11, 2025
@pedrobaeza
Copy link
Member

And create openupgrade_analysis_work.txt file.

@sergiocorato sergiocorato force-pushed the 15.0-fix-l10n_it-migration branch 2 times, most recently from e6f6d5f to 3944e34 Compare June 11, 2025 10:22
@sergiocorato
Copy link
Author

sergiocorato commented Jun 11, 2025

And create openupgrade_analysis_work.txt file.

Manually? I've found the how-to.
Thanks.

@sergiocorato sergiocorato force-pushed the 15.0-fix-l10n_it-migration branch 2 times, most recently from 739c9c6 to f7a80db Compare June 11, 2025 10:35
NEW account.account.tag: l10n_it.account_tag_E_PL
NEW account.account.tag: l10n_it.account_tag_IMPEGNI
NEW account.account.tag: l10n_it.account_tag_RISCHI
# DONE Deleted safely
Copy link
Contributor

@MiquelRForgeFlow MiquelRForgeFlow Jun 12, 2025

Choose a reason for hiding this comment

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

Put here # nothing to do, as it references the NEW ones. The # DONE Deleted safely should go below the DEL ones.

Copy link
Member

Choose a reason for hiding this comment

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

@MiquelRForgeFlow this is for not deleting them if they are used. That's why the method is called safely.

Copy link
Contributor

Choose a reason for hiding this comment

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

Still, the message "done" should go below the DEL lines.

"l10n_it.tax_group_iva_22_inde",
"l10n_it.tax_group_iva_4_de_50",
]
openupgrade.delete_records_safely_by_xml_id(env, to_delete_xml_ids)
Copy link
Contributor

Choose a reason for hiding this comment

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

Also, why delete them? Cannot ORM handle it? They are not noupdate records.

Copy link
Contributor

Choose a reason for hiding this comment

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

Also, why in pre-migration (instead of post-migration)?

@sergiocorato sergiocorato force-pushed the 15.0-fix-l10n_it-migration branch from f7a80db to 39d71c5 Compare June 16, 2025 09:17
@sergiocorato sergiocorato marked this pull request as draft June 16, 2025 09:50
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