Skip to content

Conversation

@SilvioC2C
Copy link
Contributor

@SilvioC2C SilvioC2C commented Dec 18, 2025

  • move the check upon partner's siret to its own @api.constrains-decorated method
  • refactor constraints to check its specific field (either siren or nic)
  • add helper methods to check SIRET, SIREN and NIC validity
  • lesser refactoring of _compute_siret() and _inverse_siret()

@OCA-git-bot
Copy link
Contributor

Hi @alexis-via,
some modules you are maintaining are being modified, check this out!

@SilvioC2C SilvioC2C force-pushed the 17.0-IMP-l10n_fr_siret branch 2 times, most recently from 345de03 to 74e23dc Compare December 18, 2025 20:42
@SilvioC2C SilvioC2C changed the title [17.0][IMP] l10n_fr_siret: decouple constraint from inverse method [17.0][IMP] l10n_fr_siret: decouple fields constraints Dec 18, 2025
- move the check upon partner's ``siret`` to its own ``@api.constrains``-decorated method
- refactor constraints to check its specific field (either ``siren`` or ``nic``)
- add helper methods to check SIRET, SIREN and NIC validity
- lesser refactoring of ``_compute_siret()`` and ``_inverse_siret()``
@SilvioC2C SilvioC2C force-pushed the 17.0-IMP-l10n_fr_siret branch from 74e23dc to 6859ab0 Compare December 19, 2025 07:18
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.

2 participants