-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2113 from prefeiturasp/release/8.3.0
Release/8.3.0
- Loading branch information
Showing
26 changed files
with
966 additions
and
59 deletions.
There are no files selected for viewing
This file contains 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 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
__version__ = "8.2.1" | ||
__version__ = "8.3.0" | ||
|
||
__version_info__ = tuple( | ||
[ | ||
|
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -459,6 +459,21 @@ def associacao_com_presidente_ausente(unidade, periodo_anterior): | |
cargo_substituto_presidente_ausente=MembroEnum.VICE_PRESIDENTE_DIRETORIA_EXECUTIVA.name | ||
) | ||
|
||
@pytest.fixture | ||
def associacao_cadastro_incompleto(unidade, periodo_anterior): | ||
return baker.make( | ||
'Associacao', | ||
nome='', | ||
cnpj='52.302.275/0001-84', | ||
unidade=unidade, | ||
periodo_inicial=periodo_anterior, | ||
ccm='0.000.00-0', | ||
email="[email protected]", | ||
processo_regularidade='000000', | ||
status_presidente='AUSENTE', | ||
cargo_substituto_presidente_ausente=MembroEnum.VICE_PRESIDENTE_DIRETORIA_EXECUTIVA.name | ||
) | ||
|
||
|
||
@pytest.fixture | ||
def outra_associacao(unidade, periodo_anterior): | ||
|
@@ -504,6 +519,33 @@ def conta_associacao(associacao, tipo_conta): | |
numero_cartao='534653264523' | ||
) | ||
|
||
@pytest.fixture | ||
def conta_associacao_tipo_cheque(associacao, tipo_conta_cheque): | ||
return baker.make( | ||
'ContaAssociacao', | ||
associacao=associacao, | ||
tipo_conta=tipo_conta_cheque, | ||
banco_nome='Banco do Brasil', | ||
agencia='12345', | ||
numero_conta='123456-x', | ||
numero_cartao='534653264523' | ||
) | ||
|
||
@pytest.fixture | ||
def conta_associacao_incompleta(associacao_cadastro_incompleto, tipo_conta_cartao): | ||
return baker.make( | ||
'ContaAssociacao', | ||
associacao=associacao_cadastro_incompleto, | ||
tipo_conta=tipo_conta_cartao, | ||
) | ||
|
||
@pytest.fixture | ||
def conta_associacao_incompleta_002(associacao, tipo_conta_cartao): | ||
return baker.make( | ||
'ContaAssociacao', | ||
associacao=associacao, | ||
tipo_conta=tipo_conta_cartao, | ||
) | ||
|
||
@pytest.fixture | ||
def conta_associacao_cheque(associacao, tipo_conta_cheque): | ||
|
@@ -1773,7 +1815,7 @@ def ata_2020_1_cheque_aprovada(prestacao_conta_2020_1_conciliada): | |
@pytest.fixture | ||
def presente_ata_membro(ata_2020_1_cheque_aprovada): | ||
return baker.make( | ||
'PresenteAta', | ||
'Participante', | ||
ata=ata_2020_1_cheque_aprovada, | ||
identificacao="123", | ||
nome="membro", | ||
|
@@ -1798,7 +1840,7 @@ def membro_associacao_presidente_conselho_01(associacao): | |
@pytest.fixture | ||
def presente_ata_membro_e_conselho_fiscal(ata_2020_1_cheque_aprovada): | ||
return baker.make( | ||
'PresenteAta', | ||
'Participante', | ||
ata=ata_2020_1_cheque_aprovada, | ||
identificacao="123", | ||
nome="membro", | ||
|
@@ -1810,7 +1852,7 @@ def presente_ata_membro_e_conselho_fiscal(ata_2020_1_cheque_aprovada): | |
@pytest.fixture | ||
def presente_ata_nao_membro(ata_2020_1_cheque_aprovada): | ||
return baker.make( | ||
'PresenteAta', | ||
'Participante', | ||
ata=ata_2020_1_cheque_aprovada, | ||
identificacao="123", | ||
nome="membro", | ||
|
@@ -2024,6 +2066,51 @@ def observacao_conciliacao(periodo, conta_associacao): | |
saldo_extrato = 1000 | ||
) | ||
|
||
@pytest.fixture | ||
def observacao_conciliacao_campos_nao_preenchidos(periodo_2020_1, conta_associacao): | ||
return baker.make( | ||
'ObservacaoConciliacao', | ||
periodo=periodo_2020_1, | ||
associacao=conta_associacao.associacao, | ||
conta_associacao=conta_associacao, | ||
texto="Observação com campos não preenchidos.", | ||
) | ||
|
||
@pytest.fixture | ||
def observacao_conciliacao_com_saldo_zero(periodo_2020_1, conta_associacao): | ||
return baker.make( | ||
'ObservacaoConciliacao', | ||
periodo=periodo_2020_1, | ||
associacao=conta_associacao.associacao, | ||
conta_associacao=conta_associacao, | ||
data_extrato = date(2020, 7, 1), | ||
saldo_extrato = 0, | ||
texto="Observação com saldo zero." | ||
) | ||
|
||
@pytest.fixture | ||
def observacao_conciliacao_campos_nao_preenchidos_002(periodo_2020_1, conta_associacao_tipo_cheque): | ||
return baker.make( | ||
'ObservacaoConciliacao', | ||
periodo=periodo_2020_1, | ||
associacao=conta_associacao_tipo_cheque.associacao, | ||
conta_associacao=conta_associacao_tipo_cheque, | ||
texto="Observação com campos não preenchidos 002.", | ||
) | ||
|
||
@pytest.fixture | ||
def observacao_conciliacao_campos_preenchidos(periodo_2020_1, conta_associacao): | ||
return baker.make( | ||
'ObservacaoConciliacao', | ||
periodo=periodo_2020_1, | ||
associacao=conta_associacao.associacao, | ||
conta_associacao=conta_associacao, | ||
texto="Observação com campos não preenchidos.", | ||
data_extrato = date(2020, 7, 1), | ||
saldo_extrato = 1000, | ||
comprovante_extrato=None | ||
) | ||
|
||
@pytest.fixture | ||
def devolucao_prestacao_conta_2020_1(prestacao_conta_2020_1_conciliada): | ||
return baker.make( | ||
|
17 changes: 17 additions & 0 deletions
17
sme_ptrf_apps/contrib/sites/migrations/0004_auto_20230612_1636.py
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# Generated by Django 3.1.14 on 2023-06-12 16:36 | ||
|
||
from django.db import migrations | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('sites', '0003_set_site_domain_and_name'), | ||
] | ||
|
||
operations = [ | ||
migrations.AlterModelOptions( | ||
name='site', | ||
options={'ordering': ['domain'], 'verbose_name': 'site', 'verbose_name_plural': 'sites'}, | ||
), | ||
] |
This file contains 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 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 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 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
18 changes: 18 additions & 0 deletions
18
sme_ptrf_apps/core/migrations/0333_presenteata_presente.py
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
# Generated by Django 3.0.14 on 2023-06-05 11:58 | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('core', '0332_merge_20230517_1106'), | ||
] | ||
|
||
operations = [ | ||
migrations.AddField( | ||
model_name='presenteata', | ||
name='presente', | ||
field=models.BooleanField(default=True, verbose_name='Presente ?'), | ||
), | ||
] |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# Generated by Django 3.0.14 on 2023-06-11 20:44 | ||
|
||
from django.db import migrations | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('core', '0333_presenteata_presente'), | ||
] | ||
|
||
operations = [ | ||
migrations.RenameModel( | ||
old_name='PresenteAta', | ||
new_name='Participante', | ||
), | ||
] |
Oops, something went wrong.