-
Notifications
You must be signed in to change notification settings - Fork 97
#3821 centralizar geração próximo número para create de matérias legislativas #3822
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
Merged
edwardoliveira
merged 17 commits into
interlegis:3.1.x
from
LeandroJatai:3821_centralizar_geracao_proximo_numero_ml
Mar 26, 2026
Merged
Changes from all commits
Commits
Show all changes
17 commits
Select commit
Hold shift + click to select a range
61f1a8b
refact: cria método get_proximo_numero
LeandroJatai 6dc4991
feat: impl numeração automática em cadastros via API
LeandroJatai a85a83e
Update sapl/materia/models.py
LeandroJatai e9a9ab5
Update sapl/api/serializers.py
LeandroJatai 43e6850
Update sapl/api/views_materia.py
LeandroJatai 51a2ccd
Update sapl/materia/models.py
LeandroJatai 346e833
Update sapl/materia/models.py
LeandroJatai e9da827
Add transaction atomic no endpoint create
LeandroJatai a9f66a9
add validação de tipo se tipo não é objeto do model TipoMateriaLegisl…
LeandroJatai 9d36879
refact: aplica solicitações de reviewer e cria testes
LeandroJatai a66c052
fix: altera numero_preferido para numero_candidato
LeandroJatai 00c6400
fix: remove espaços entre classes
LeandroJatai fef28d2
fix: corrige uso de transaction e ausencia dele
LeandroJatai 17302b3
fix: corrige testes devido mudança de norme de variável
LeandroJatai 5899636
fix: altera seleção para select_for_update
LeandroJatai fa3d7aa
fix: mudança de nome remanescente para numero_candidato
LeandroJatai c9c58f1
fix: retorna decorator na view function recuperar_materia
LeandroJatai File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.