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] l10n_fr_siret + add glue module l10n_fr_siret_account #584

Open
wants to merge 102 commits into
base: 18.0
Choose a base branch
from

Conversation

alexis-via
Copy link
Contributor

Since v18, l10n_fr doesn't depend on account (only on base) and there is a glue module l10n_fr_account.
So, we should follow this movement in OCA and have l10n_fr_siret and l10n_fr_siret_account
Fixes #38 which was opened 9 years ago !!!
Small improvements: add siren/siret/nic in list view as optional=hide

This migration PR is an alternative to #578

oca-transbot and others added 27 commits November 26, 2024 20:11
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: l10n-france-14.0/l10n-france-14.0-l10n_fr_siret
Translate-URL: https://translation.odoo-community.org/projects/l10n-france-14-0/l10n-france-14-0-l10n_fr_siret/
Currently translated at 100.0% (23 of 23 strings)

Translation: l10n-france-16.0/l10n-france-16.0-l10n_fr_siret
Translate-URL: https://translation.odoo-community.org/projects/l10n-france-16-0/l10n-france-16-0-l10n_fr_siret/fr/
Currently translated at 100.0% (23 of 23 strings)

Translation: l10n-france-16.0/l10n-france-16.0-l10n_fr_siret
Translate-URL: https://translation.odoo-community.org/projects/l10n-france-16-0/l10n-france-16-0-l10n_fr_siret/es/
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: l10n-france-16.0/l10n-france-16.0-l10n_fr_siret
Translate-URL: https://translation.odoo-community.org/projects/l10n-france-16-0/l10n-france-16-0-l10n_fr_siret/
Currently translated at 100.0% (21 of 21 strings)

Translation: l10n-france-16.0/l10n-france-16.0-l10n_fr_siret
Translate-URL: https://translation.odoo-community.org/projects/l10n-france-16-0/l10n-france-16-0-l10n_fr_siret/es/
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: l10n-france-17.0/l10n-france-17.0-l10n_fr_siret
Translate-URL: https://translation.odoo-community.org/projects/l10n-france-17-0/l10n-france-17-0-l10n_fr_siret/
Fixes OCA#38  l10n_fr_siret: unrequired dependency on account
This is now possible because l10n_fr doesn't depend on account anymore
and there is a new official module l10n_fr_account that acts as a glue
module between l10n_fr and account.
Comment on lines +11 to +12
siren = fields.Char(tracking=50)
nic = fields.Char(tracking=51)
Copy link
Contributor

@legalsylvain legalsylvain Nov 26, 2024

Choose a reason for hiding this comment

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

I don't get why you redefine this two fields on the glue module. Why not in base module ?
also I'm not very familiar with this new tracking values. could you elaborate ?

@legalsylvain
Copy link
Contributor

Since v18, l10n_fr doesn't depend on account (only on base) and there is a glue module l10n_fr_account.

Very nice modular move.

So, we should follow this movement in OCA and have l10n_fr_siret and l10n_fr_siret_account

+1, indeed.

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.