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

[17.0][MIG] l10n_fr_siret_lookup #542

Open
wants to merge 16 commits into
base: 17.0
Choose a base branch
from

Conversation

David-Luis-Mora
Copy link

No description provided.

alexis-via and others added 16 commits April 25, 2024 11:48
Rename wizard obj to fr.siret.lookup
Test on stdnum version number
Currently translated at 97.7% (43 of 44 strings)

Translation: l10n-france-14.0/l10n-france-14.0-l10n_fr_siret_lookup
Translate-URL: https://translation.odoo-community.org/projects/l10n-france-14-0/l10n-france-14-0-l10n_fr_siret_lookup/fr/
'codedepartementetablissement' is not always set (in particular for companies in Corsica), so we now only use codepostaletablissement
Currently translated at 100.0% (44 of 44 strings)

Translation: l10n-france-14.0/l10n-france-14.0-l10n_fr_siret_lookup
Translate-URL: https://translation.odoo-community.org/projects/l10n-france-14-0/l10n-france-14-0-l10n_fr_siret_lookup/fr/
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

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

Translation: l10n-france-16.0/l10n-france-16.0-l10n_fr_siret_lookup
Translate-URL: https://translation.odoo-community.org/projects/l10n-france-16-0/l10n-france-16-0-l10n_fr_siret_lookup/es/
@David-Luis-Mora David-Luis-Mora mentioned this pull request Apr 25, 2024
25 tasks
Copy link
Contributor

@remi-filament remi-filament left a comment

Choose a reason for hiding this comment

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

Hi @David-Luis-Mora, thank you for porting this module.
Could you please explain why you moved the readonly attributes on wizard from Python code to XML view ?
Thanks

@remi-filament
Copy link
Contributor

Hi @David-Luis-Mora, thank you for porting this module. Could you please explain why you moved the readonly attributes on wizard from Python code to XML view ? Thanks

Found it in https://github.com/OCA/maintainer-tools/wiki/Migration-to-version-17.0#tasks-to-do-in-the-migration (related to import module functionality) !

Copy link
Contributor

@remi-filament remi-filament left a comment

Choose a reason for hiding this comment

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

Thanks @David-Luis-Mora for porting this module.
Some minor comment related to XML tag not necessary anymore in index.html raising a WARNING during installation.
Apart from this, 👍

@@ -0,0 +1,477 @@
<?xml version="1.0" encoding="utf-8"?>
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
<?xml version="1.0" encoding="utf-8"?>

This line should be removed otherwise you get a warning error when installing the module :
WARNING odoo17 py.warnings: /home/user/dev/odoo17/ocb/odoo/addons/base/models/ir_module.py:178: DeprecationWarning: XML declarations in HTML module descriptions are deprecated since Odoo 17, l10n_fr_siret_lookup can just have a UTF8 description with not need for a declaration.

Note : this was fixed in maintainer-tools with OCA/maintainer-tools#596 back in December 23 so it should not be present anymore when pre-commit reissues the index.html

Copy link
Contributor

Choose a reason for hiding this comment

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

@David-Luis-Mora please can you make this correction so that the module in version 17.0 is available to the community?

@flotho
Copy link
Member

flotho commented Jul 9, 2024

Hi @David-Luis-Mora , any chance to rebase for the CI

@gurneyalex
Copy link
Member

/ocabot migration l10n_fr_siret_lookup

@OCA-git-bot OCA-git-bot added this to the 17.0 milestone Aug 29, 2024
Copy link
Contributor

@alexis-via alexis-via left a comment

Choose a reason for hiding this comment

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

What was the reason from moving the readonly property of partner_id and line_ids from python to views ? I really don't see the advantage...

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.