|
@ -525,7 +525,7 @@ class ConfirmarProposicao(PermissionRequiredForAppCrudMixin, UpdateView): |
|
|
|
|
|
|
|
|
class UnidadeTramitacaoCrud(CrudAux): |
|
|
class UnidadeTramitacaoCrud(CrudAux): |
|
|
model = UnidadeTramitacao |
|
|
model = UnidadeTramitacao |
|
|
help_path = 'unidade_tramitacao' |
|
|
help_topic = 'unidade_tramitacao' |
|
|
|
|
|
|
|
|
class BaseMixin(Crud.BaseMixin): |
|
|
class BaseMixin(Crud.BaseMixin): |
|
|
list_field_names = ['comissao', 'orgao', 'parlamentar'] |
|
|
list_field_names = ['comissao', 'orgao', 'parlamentar'] |
|
@ -551,7 +551,7 @@ class UnidadeTramitacaoCrud(CrudAux): |
|
|
|
|
|
|
|
|
class ProposicaoCrud(Crud): |
|
|
class ProposicaoCrud(Crud): |
|
|
model = Proposicao |
|
|
model = Proposicao |
|
|
help_path = '' |
|
|
help_topic = '' |
|
|
container_field = 'autor__user' |
|
|
container_field = 'autor__user' |
|
|
|
|
|
|
|
|
class BaseMixin(Crud.BaseMixin): |
|
|
class BaseMixin(Crud.BaseMixin): |
|
@ -838,7 +838,7 @@ class ReciboProposicaoView(TemplateView): |
|
|
class RelatoriaCrud(MasterDetailCrud): |
|
|
class RelatoriaCrud(MasterDetailCrud): |
|
|
model = Relatoria |
|
|
model = Relatoria |
|
|
parent_field = 'materia' |
|
|
parent_field = 'materia' |
|
|
help_path = '' |
|
|
help_topic = '' |
|
|
public = [RP_LIST, RP_DETAIL] |
|
|
public = [RP_LIST, RP_DETAIL] |
|
|
|
|
|
|
|
|
class CreateView(MasterDetailCrud.CreateView): |
|
|
class CreateView(MasterDetailCrud.CreateView): |
|
@ -913,7 +913,7 @@ class RelatoriaCrud(MasterDetailCrud): |
|
|
class TramitacaoCrud(MasterDetailCrud): |
|
|
class TramitacaoCrud(MasterDetailCrud): |
|
|
model = Tramitacao |
|
|
model = Tramitacao |
|
|
parent_field = 'materia' |
|
|
parent_field = 'materia' |
|
|
help_path = '' |
|
|
help_topic = '' |
|
|
public = [RP_LIST, RP_DETAIL] |
|
|
public = [RP_LIST, RP_DETAIL] |
|
|
|
|
|
|
|
|
class BaseMixin(MasterDetailCrud.BaseMixin): |
|
|
class BaseMixin(MasterDetailCrud.BaseMixin): |
|
@ -1058,7 +1058,7 @@ def montar_helper_documento_acessorio(self): |
|
|
class DocumentoAcessorioCrud(MasterDetailCrud): |
|
|
class DocumentoAcessorioCrud(MasterDetailCrud): |
|
|
model = DocumentoAcessorio |
|
|
model = DocumentoAcessorio |
|
|
parent_field = 'materia' |
|
|
parent_field = 'materia' |
|
|
help_path = '' |
|
|
help_topic = '' |
|
|
public = [RP_LIST, RP_DETAIL] |
|
|
public = [RP_LIST, RP_DETAIL] |
|
|
|
|
|
|
|
|
class BaseMixin(MasterDetailCrud.BaseMixin): |
|
|
class BaseMixin(MasterDetailCrud.BaseMixin): |
|
@ -1094,7 +1094,7 @@ class DocumentoAcessorioCrud(MasterDetailCrud): |
|
|
class AutoriaCrud(MasterDetailCrud): |
|
|
class AutoriaCrud(MasterDetailCrud): |
|
|
model = Autoria |
|
|
model = Autoria |
|
|
parent_field = 'materia' |
|
|
parent_field = 'materia' |
|
|
help_path = '' |
|
|
help_topic = '' |
|
|
public = [RP_LIST, RP_DETAIL] |
|
|
public = [RP_LIST, RP_DETAIL] |
|
|
list_field_names = ['autor', 'autor__tipo__descricao', 'primeiro_autor'] |
|
|
list_field_names = ['autor', 'autor__tipo__descricao', 'primeiro_autor'] |
|
|
|
|
|
|
|
@ -1169,7 +1169,7 @@ class AutoriaMultiCreateView(PermissionRequiredForAppCrudMixin, FormView): |
|
|
class DespachoInicialCrud(MasterDetailCrud): |
|
|
class DespachoInicialCrud(MasterDetailCrud): |
|
|
model = DespachoInicial |
|
|
model = DespachoInicial |
|
|
parent_field = 'materia' |
|
|
parent_field = 'materia' |
|
|
help_path = '' |
|
|
help_topic = '' |
|
|
public = [RP_LIST, RP_DETAIL] |
|
|
public = [RP_LIST, RP_DETAIL] |
|
|
|
|
|
|
|
|
class CreateView(MasterDetailCrud.CreateView): |
|
|
class CreateView(MasterDetailCrud.CreateView): |
|
@ -1182,7 +1182,7 @@ class DespachoInicialCrud(MasterDetailCrud): |
|
|
class LegislacaoCitadaCrud(MasterDetailCrud): |
|
|
class LegislacaoCitadaCrud(MasterDetailCrud): |
|
|
model = LegislacaoCitada |
|
|
model = LegislacaoCitada |
|
|
parent_field = 'materia' |
|
|
parent_field = 'materia' |
|
|
help_path = '' |
|
|
help_topic = '' |
|
|
public = [RP_LIST, RP_DETAIL] |
|
|
public = [RP_LIST, RP_DETAIL] |
|
|
|
|
|
|
|
|
class BaseMixin(MasterDetailCrud.BaseMixin): |
|
|
class BaseMixin(MasterDetailCrud.BaseMixin): |
|
@ -1267,14 +1267,14 @@ class LegislacaoCitadaCrud(MasterDetailCrud): |
|
|
class NumeracaoCrud(MasterDetailCrud): |
|
|
class NumeracaoCrud(MasterDetailCrud): |
|
|
model = Numeracao |
|
|
model = Numeracao |
|
|
parent_field = 'materia' |
|
|
parent_field = 'materia' |
|
|
help_path = '' |
|
|
help_topic = '' |
|
|
public = [RP_LIST, RP_DETAIL] |
|
|
public = [RP_LIST, RP_DETAIL] |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
class AnexadaCrud(MasterDetailCrud): |
|
|
class AnexadaCrud(MasterDetailCrud): |
|
|
model = Anexada |
|
|
model = Anexada |
|
|
parent_field = 'materia_principal' |
|
|
parent_field = 'materia_principal' |
|
|
help_path = '' |
|
|
help_topic = '' |
|
|
public = [RP_LIST, RP_DETAIL] |
|
|
public = [RP_LIST, RP_DETAIL] |
|
|
|
|
|
|
|
|
class BaseMixin(MasterDetailCrud.BaseMixin): |
|
|
class BaseMixin(MasterDetailCrud.BaseMixin): |
|
@ -1302,7 +1302,7 @@ class AnexadaCrud(MasterDetailCrud): |
|
|
class MateriaAssuntoCrud(MasterDetailCrud): |
|
|
class MateriaAssuntoCrud(MasterDetailCrud): |
|
|
model = MateriaAssunto |
|
|
model = MateriaAssunto |
|
|
parent_field = 'materia' |
|
|
parent_field = 'materia' |
|
|
help_path = '' |
|
|
help_topic = '' |
|
|
public = [RP_LIST, RP_DETAIL] |
|
|
public = [RP_LIST, RP_DETAIL] |
|
|
|
|
|
|
|
|
class BaseMixin(MasterDetailCrud.BaseMixin): |
|
|
class BaseMixin(MasterDetailCrud.BaseMixin): |
|
@ -1326,7 +1326,7 @@ class MateriaAssuntoCrud(MasterDetailCrud): |
|
|
|
|
|
|
|
|
class MateriaLegislativaCrud(Crud): |
|
|
class MateriaLegislativaCrud(Crud): |
|
|
model = MateriaLegislativa |
|
|
model = MateriaLegislativa |
|
|
help_path = 'materia_legislativa' |
|
|
help_topic = 'materia_legislativa' |
|
|
public = [RP_LIST, RP_DETAIL] |
|
|
public = [RP_LIST, RP_DETAIL] |
|
|
|
|
|
|
|
|
class BaseMixin(Crud.BaseMixin): |
|
|
class BaseMixin(Crud.BaseMixin): |
|
|