Skip to content

[19.0][MIG] base_location_nuts: Migration to 19.0#2285

Open
Borruso wants to merge 39 commits intoOCA:19.0from
Borruso:19.0-mig-base_location_nuts
Open

[19.0][MIG] base_location_nuts: Migration to 19.0#2285
Borruso wants to merge 39 commits intoOCA:19.0from
Borruso:19.0-mig-base_location_nuts

Conversation

@Borruso
Copy link
Contributor

@Borruso Borruso commented Feb 8, 2026

Antonio Espinosa and others added 30 commits February 8, 2026 12:48
[MIG] Rename manifest files
This makes NUTS labels and levels to be stored in the res.country object.
Now creating l10n submodules is a piece of cake!

Relational fields now follow guidelines on naming. Old name attribute used
for backwards compatibility wherever needed.

Also some methods have been renamed, and refactored to be smarter. Most cases
l10n modules will just need to fill the res.contry table, and regions and
substates domains will work out of the box. In case you still need to
overwrite any method, splitting in smaller methods makes it easier too.

Oh! And no need for recursive dictionary updates.

Return dict() to make it easier for submodules to add domains.

Fix KeyError: 'substate_id_level'.
Currently translated at 82.1% (32 of 39 strings)

Translation: partner-contact-12.0/partner-contact-12.0-base_location_nuts
Translate-URL: https://translation.odoo-community.org/projects/partner-contact-12-0/partner-contact-12-0-base_location_nuts/it/
Currently translated at 100.0% (39 of 39 strings)

Translation: partner-contact-13.0/partner-contact-13.0-base_location_nuts
Translate-URL: https://translation.odoo-community.org/projects/partner-contact-13-0/partner-contact-13-0-base_location_nuts/es_AR/
Currently translated at 69.2% (27 of 39 strings)

Translation: partner-contact-15.0/partner-contact-15.0-base_location_nuts
Translate-URL: https://translation.odoo-community.org/projects/partner-contact-15-0/partner-contact-15-0-base_location_nuts/sl/
Currently translated at 43.5% (17 of 39 strings)

Translation: partner-contact-15.0/partner-contact-15.0-base_location_nuts
Translate-URL: https://translation.odoo-community.org/projects/partner-contact-15-0/partner-contact-15-0-base_location_nuts/pt_BR/
Currently translated at 100.0% (39 of 39 strings)

Translation: partner-contact-15.0/partner-contact-15.0-base_location_nuts
Translate-URL: https://translation.odoo-community.org/projects/partner-contact-15-0/partner-contact-15-0-base_location_nuts/es/
Currently translated at 100.0% (41 of 41 strings)

Translation: partner-contact-15.0/partner-contact-15.0-base_location_nuts
Translate-URL: https://translation.odoo-community.org/projects/partner-contact-15-0/partner-contact-15-0-base_location_nuts/es/
Currently translated at 100.0% (41 of 41 strings)

Translation: partner-contact-16.0/partner-contact-16.0-base_location_nuts
Translate-URL: https://translation.odoo-community.org/projects/partner-contact-16-0/partner-contact-16-0-base_location_nuts/it/
mymage and others added 8 commits February 8, 2026 12:49
Currently translated at 100.0% (37 of 37 strings)

Translation: partner-contact-17.0/partner-contact-17.0-base_location_nuts
Translate-URL: https://translation.odoo-community.org/projects/partner-contact-17-0/partner-contact-17-0-base_location_nuts/it/
…on of Nuts

Only users with administrator rights should be able to create and edit Nuts. Users without administrator permissions should only have read access to Nuts.
With `base_vat` module installed, the fields appear disorganized and also shift the VAT field.
Currently translated at 100.0% (37 of 37 strings)

Translation: partner-contact-18.0/partner-contact-18.0-base_location_nuts
Translate-URL: https://translation.odoo-community.org/projects/partner-contact-18-0/partner-contact-18-0-base_location_nuts/it/
@Borruso Borruso force-pushed the 19.0-mig-base_location_nuts branch from 3a9f48d to 85de3bb Compare February 8, 2026 12:32
Copy link

@luisDIXMIT luisDIXMIT left a comment

Choose a reason for hiding this comment

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

Looks strange the nuts group in res country form view.

Image

@Borruso Borruso force-pushed the 19.0-mig-base_location_nuts branch from 85de3bb to e882ace Compare February 9, 2026 10:28
@Borruso
Copy link
Contributor Author

Borruso commented Feb 9, 2026

Looks strange the nuts group in res country form view.

Image

thanks for issue

Copy link

@luisDIXMIT luisDIXMIT left a comment

Choose a reason for hiding this comment

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

Code review and tested on runboat, LGTM!

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.