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

[14.0][FIX] nfce - serie and check anonymous customer #3380

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

Conversation

mileo
Copy link
Member

@mileo mileo commented Sep 25, 2024

This pull request includes changes to the l10n_br_fiscal and l10n_br_pos_nfce modules to enhance validation and simplify the codebase. The most important changes include adding a constraint to ensure anonymous consumers cannot have a CNPJ/CPF number and modifying how the next document series number is determined.

Enhancements to validation:

Codebase simplification:

  • l10n_br_pos_nfce/models/pos_config.py: Removed the _default_next_number method and updated the nfce_document_serie_sequence_number_next field to use a related field for determining the next document series number.

Minor changes:

@mileo mileo marked this pull request as draft September 25, 2024 01:58
@mileo mileo changed the title 14.0 fix nfce2 [14.0][FIX] nfce - serie and check anonymous customer Sep 25, 2024
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.

1 participant