Skip to content
Extraits de code Groupes Projets

Evolutions mai 2023

Fusionnées Hervé Silvant - CGScop a demandé de fusionner hsilvant/cgscop_gendoc_api:14-RV_evolutions_mai_2023 vers 14.0
1 file
+ 120
31
Comparer les modifications
  • Côte à côte
  • En ligne
+ 120
31
@@ -124,15 +124,9 @@ class CgScopGendocFileServices(Component):
@@ -124,15 +124,9 @@ class CgScopGendocFileServices(Component):
"coop_nom_forme_juridique": self._getstring(
"coop_nom_forme_juridique": self._getstring(
gfile.coop_nom_forme_juridique
gfile.coop_nom_forme_juridique
),
),
"coop_forme_juridique_anterieure": self._getstring(
"coop_sa_cs_dir": self._getstring(gfile.coop_sa_cs_dir),
gfile.coop_forme_juridique_anterieure
"coop_rna": self._getstring(gfile.coop_rna),
),
"coop_prefecture": self._getstring(gfile.coop_prefecture),
"coop_type_capital_anterieur": self._getstring(
gfile.coop_type_capital_anterieur
),
"coop_montant_capital_anterieur": self._getdecimal(
gfile.coop_montant_capital_anterieur
),
"coop_date_creation_transformation": self._getdate(
"coop_date_creation_transformation": self._getdate(
gfile.coop_date_creation_transformation
gfile.coop_date_creation_transformation
),
),
@@ -145,6 +139,7 @@ class CgScopGendocFileServices(Component):
@@ -145,6 +139,7 @@ class CgScopGendocFileServices(Component):
"coop_objet_societe": self._getstring(gfile.coop_objet_societe),
"coop_objet_societe": self._getstring(gfile.coop_objet_societe),
"coop_duree_societe": self._getinteger(gfile.coop_duree_societe),
"coop_duree_societe": self._getinteger(gfile.coop_duree_societe),
"coop_datefin_societe": self._getstring(gfile.coop_datefin_societe),
"coop_datefin_societe": self._getstring(gfile.coop_datefin_societe),
 
"coop_date_depot_capital": self._getstring(gfile.coop_date_depot_capital),
"coop_date_cloture": self._getstring(gfile.coop_date_cloture),
"coop_date_cloture": self._getstring(gfile.coop_date_cloture),
"coop_date_premiere_cloture": self._getdate(
"coop_date_premiere_cloture": self._getdate(
gfile.coop_date_premiere_cloture
gfile.coop_date_premiere_cloture
@@ -192,6 +187,7 @@ class CgScopGendocFileServices(Component):
@@ -192,6 +187,7 @@ class CgScopGendocFileServices(Component):
gfile.coop_banque_depositaire
gfile.coop_banque_depositaire
),
),
"coop_nom_signataire": self._getstring(gfile.coop_nom_signataire),
"coop_nom_signataire": self._getstring(gfile.coop_nom_signataire),
 
"coop_duree_reviseur": self._getstring(gfile.coop_duree_reviseur),
"sa_ca_duree": self._getinteger(gfile.coop_sa_ca_duree),
"sa_ca_duree": self._getinteger(gfile.coop_sa_ca_duree),
"sa_ca_renouvellement": self._getstring(
"sa_ca_renouvellement": self._getstring(
gfile.coop_sa_ca_renouvellement
gfile.coop_sa_ca_renouvellement
@@ -207,8 +203,27 @@ class CgScopGendocFileServices(Component):
@@ -207,8 +203,27 @@ class CgScopGendocFileServices(Component):
"oi_nom": self._getstring(gfile.coop_oi_nom),
"oi_nom": self._getstring(gfile.coop_oi_nom),
"oi_duree": self._getinteger(gfile.coop_oi_duree),
"oi_duree": self._getinteger(gfile.coop_oi_duree),
"oi_pouvoir": self._getstring(gfile.coop_oi_pouvoir),
"oi_pouvoir": self._getstring(gfile.coop_oi_pouvoir),
 
"coop_forme_juridique_anterieure": self._getstring(
 
gfile.coop_forme_juridique_anterieure
 
),
 
"coop_type_capital_anterieur": self._getstring(
 
gfile.coop_type_capital_anterieur
 
),
 
"coop_valeur_part_sociale_anterieur": self._getdecimal(
 
gfile.coop_valeur_part_sociale_anterieur
 
),
 
"coop_nb_parts_anterieur": self._getinteger(gfile.coop_nb_parts_anterieur),
 
"coop_montant_capital_anterieur": self._getdecimal(
 
gfile.coop_montant_capital_anterieur
 
),
 
"coop_nb_voix_anterieur": self._getinteger(gfile.coop_nb_voix_anterieur),
 
"coop_montant_rbst_ps_anterieur": self._getdecimal(
 
gfile.coop_montant_rbst_ps_anterieur
 
),
}
}
)
)
 
res["membres_anterieurs_pp"] = self._getmembrepp(gfile.membrepp_ids)
 
res["membres_anterieurs_pm"] = self._getmembrepm(gfile.membrepm_ids)
res["associes_pp"] = self._getassopp(gfile.assopp_ids)
res["associes_pp"] = self._getassopp(gfile.assopp_ids)
res["associes_pm"] = self._getassopm(gfile.assopm_ids)
res["associes_pm"] = self._getassopm(gfile.assopm_ids)
res["mandataires_sarl"] = self._getmandsarl(gfile.mand_sarl_ids)
res["mandataires_sarl"] = self._getmandsarl(gfile.mand_sarl_ids)
@@ -221,6 +236,54 @@ class CgScopGendocFileServices(Component):
@@ -221,6 +236,54 @@ class CgScopGendocFileServices(Component):
res["ur"] = self._getnested(gfile.ur_id)
res["ur"] = self._getnested(gfile.ur_id)
return res
return res
 
def _getmembrepp(self, ids):
 
res = []
 
if ids:
 
for membre in ids:
 
res.append(
 
{
 
"nom": self._getstring(membre.membrepp_nom),
 
"adresse": self._getstring(membre.membrepp_adresse),
 
"naissance": self._getstring(membre.membrepp_naissance),
 
"nationalite": self._getstring(membre.membrepp_nationalite),
 
"valeur_part_sociale": self._getdecimal(
 
membre.membrepp_valeur_part_sociale
 
),
 
"montant_capital": self._getdecimal(
 
membre.membrepp_montant_capital
 
),
 
"nb_parts": self._getinteger(membre.membrepp_nb_parts),
 
"mail": self._getstring(membre.membrepp_mail),
 
"mobile": self._getstring(membre.membrepp_mobile),
 
}
 
)
 
return res
 
 
def _getmembrepm(self, ids):
 
res = []
 
if ids:
 
for membre in ids:
 
res.append(
 
{
 
"nom": self._getstring(membre.membrepm_nom),
 
"adresse": self._getstring(membre.membrepm_adresse),
 
"identite": self._getstring(membre.membrepm_identite),
 
"valeur_part_sociale": self._getdecimal(
 
membre.membrepm_valeur_part_sociale
 
),
 
"montant_capital": self._getdecimal(
 
membre.membrepm_montant_capital
 
),
 
"nb_parts": self._getinteger(membre.membrepm_nb_parts),
 
"representant": self._getstring(membre.membrepm_representant),
 
"repr_qualite": self._getstring(membre.membrepm_repr_qualite),
 
"repr_nationalite": self._getstring(membre.membrepm_repr_nationalite),
 
"mail": self._getstring(membre.membrepm_mail),
 
"mobile": self._getstring(membre.membrepm_mobile),
 
}
 
)
 
return res
 
def _getassopp(self, ids):
def _getassopp(self, ids):
res = []
res = []
if ids:
if ids:
@@ -254,6 +317,8 @@ class CgScopGendocFileServices(Component):
@@ -254,6 +317,8 @@ class CgScopGendocFileServices(Component):
"mobile": self._getstring(asso.assopp_mobile),
"mobile": self._getstring(asso.assopp_mobile),
"marital": self._getstring(asso.assopp_marital),
"marital": self._getstring(asso.assopp_marital),
"conjoint": self._getstring(asso.assopp_conj),
"conjoint": self._getstring(asso.assopp_conj),
 
"categorie": self._getstring(asso.assopp_categorie),
 
"college": self._getstring(asso.assopp_college),
}
}
)
)
return res
return res
@@ -266,8 +331,7 @@ class CgScopGendocFileServices(Component):
@@ -266,8 +331,7 @@ class CgScopGendocFileServices(Component):
{
{
"nom": self._getstring(asso.assopm_nom),
"nom": self._getstring(asso.assopm_nom),
"adresse": self._getstring(asso.assopm_adresse),
"adresse": self._getstring(asso.assopm_adresse),
"naissance": self._getstring(asso.assopm_naissance),
"identite": self._getstring(asso.assopm_identite),
"nationalite": self._getstring(asso.assopm_nationalite),
"valeur_part_sociale": self._getdecimal(
"valeur_part_sociale": self._getdecimal(
asso.assopm_valeur_part_sociale
asso.assopm_valeur_part_sociale
),
),
@@ -290,7 +354,11 @@ class CgScopGendocFileServices(Component):
@@ -290,7 +354,11 @@ class CgScopGendocFileServices(Component):
"mail": self._getstring(asso.assopm_mail),
"mail": self._getstring(asso.assopm_mail),
"mobile": self._getstring(asso.assopm_mobile),
"mobile": self._getstring(asso.assopm_mobile),
"representant": self._getstring(asso.assopm_representant),
"representant": self._getstring(asso.assopm_representant),
"repres_qualite": self._getstring(asso.assopm_repres_qualite),
"repr_qualite": self._getstring(asso.assopm_repr_qualite),
 
"repr_naissance": self._getstring(asso.assopm_repr_naissance),
 
"repr_nationalite": self._getstring(asso.assopm_repr_nationalite),
 
"categorie": self._getstring(asso.assopm_categorie),
 
"college": self._getstring(asso.assopm_college),
}
}
)
)
return res
return res
@@ -319,16 +387,23 @@ class CgScopGendocFileServices(Component):
@@ -319,16 +387,23 @@ class CgScopGendocFileServices(Component):
for mand in ids:
for mand in ids:
res.append(
res.append(
{
{
 
"type": self._getstring(mand.mand_type),
"nom": self._getstring(mand.mand_nom),
"nom": self._getstring(mand.mand_nom),
"adresse": self._getstring(mand.mand_adresse),
"adresse": self._getstring(mand.mand_adresse),
 
"identite": self._getstring(mand.mand_identite),
"naissance": self._getstring(mand.mand_naissance),
"naissance": self._getstring(mand.mand_naissance),
"nationalite": self._getstring(mand.mand_nationalite),
"nationalite": self._getstring(mand.mand_nationalite),
"titre": self._getstring(mand.mand_titre),
"type": self._getstring(mand.mand_type),
"duree": self._getinteger(mand.mand_duree),
"identite_pere": self._getstring(mand.mand_identite_pere),
"identite_pere": self._getstring(mand.mand_identite_pere),
"identite_mere": self._getstring(mand.mand_identite_mere),
"identite_mere": self._getstring(mand.mand_identite_mere),
 
"titre": self._getstring(mand.mand_titre),
 
"duree": self._getinteger(mand.mand_duree),
"representant": self._getstring(mand.mand_representant),
"representant": self._getstring(mand.mand_representant),
 
"repr_adresse": self._getstring(mand.mand_repr_adresse),
 
"repr_qualite": self._getstring(mand.mand_repr_qualite),
 
"repr_naissance": self._getstring(mand.mand_repr_naissance),
 
"repr_nationalite": self._getstring(mand.mand_repr_nationalite),
 
"repr_identite_pere": self._getstring(mand.mand_repr_identite_pere),
 
"repr_identite_mere": self._getstring(mand.mand_repr_identite_mere),
}
}
)
)
return res
return res
@@ -339,19 +414,26 @@ class CgScopGendocFileServices(Component):
@@ -339,19 +414,26 @@ class CgScopGendocFileServices(Component):
for mand in ids:
for mand in ids:
res.append(
res.append(
{
{
"administrateur": self._getboolean(mand.mand_administrateur),
"direction": self._getboolean(mand.mand_direction),
"type": self._getstring(mand.mand_type),
"type": self._getstring(mand.mand_type),
"nom": self._getstring(mand.mand_nom),
"nom": self._getstring(mand.mand_nom),
"adresse": self._getstring(mand.mand_adresse),
"adresse": self._getstring(mand.mand_adresse),
 
"identite": self._getstring(mand.mand_identite),
"naissance": self._getstring(mand.mand_naissance),
"naissance": self._getstring(mand.mand_naissance),
"nationalite": self._getstring(mand.mand_nationalite),
"nationalite": self._getstring(mand.mand_nationalite),
"representant": self._getstring(mand.mand_representant),
"identite_pere": self._getstring(mand.mand_identite_pere),
 
"identite_mere": self._getstring(mand.mand_identite_mere),
 
"administrateur": self._getboolean(mand.mand_administrateur),
 
"direction": self._getboolean(mand.mand_direction),
"duree_premier_mandat": self._getinteger(
"duree_premier_mandat": self._getinteger(
mand.mand_duree_premier_mandat
mand.mand_duree_premier_mandat
),
),
"identite_pere": self._getstring(mand.mand_identite_pere),
"representant": self._getstring(mand.mand_representant),
"identite_mere": self._getstring(mand.mand_identite_mere),
"repr_adresse": self._getstring(mand.mand_repr_adresse),
 
"repr_qualite": self._getstring(mand.mand_repr_qualite),
 
"repr_naissance": self._getstring(mand.mand_repr_naissance),
 
"repr_nationalite": self._getstring(mand.mand_repr_nationalite),
 
"repr_identite_pere": self._getstring(mand.mand_repr_identite_pere),
 
"repr_identite_mere": self._getstring(mand.mand_repr_identite_mere),
}
}
)
)
return res
return res
@@ -362,23 +444,23 @@ class CgScopGendocFileServices(Component):
@@ -362,23 +444,23 @@ class CgScopGendocFileServices(Component):
for mand in ids:
for mand in ids:
res.append(
res.append(
{
{
"type_organe": self._getstring(mand.mand_type_organe),
"type_direction": self._getstring(mand.mand_type_direction),
"type": self._getstring(mand.mand_type),
"type": self._getstring(mand.mand_type),
"nom": self._getstring(mand.mand_nom),
"nom": self._getstring(mand.mand_nom),
"adresse": self._getstring(mand.mand_adresse),
"adresse": self._getstring(mand.mand_adresse),
 
"identite": self._getstring(mand.mand_identite),
"naissance": self._getstring(mand.mand_naissance),
"naissance": self._getstring(mand.mand_naissance),
"nationalite": self._getstring(mand.mand_nationalite),
"nationalite": self._getstring(mand.mand_nationalite),
"representant": self._getstring(mand.mand_representant),
"representant_adresse": self._getstring(mand.mand_rep_adresse),
"representant_naissance": self._getstring(
mand.mand_rep_naissance
),
"representant_nationalite": self._getstring(
mand.mand_rep_nationalite
),
"identite_pere": self._getstring(mand.mand_identite_pere),
"identite_pere": self._getstring(mand.mand_identite_pere),
"identite_mere": self._getstring(mand.mand_identite_mere),
"identite_mere": self._getstring(mand.mand_identite_mere),
 
"type_organe": self._getstring(mand.mand_type_organe),
 
"type_direction": self._getstring(mand.mand_type_direction),
 
"representant": self._getstring(mand.mand_representant),
 
"repr_adresse": self._getstring(mand.mand_repr_adresse),
 
"repr_qualite": self._getstring(mand.mand_repr_qualite),
 
"repr_naissance": self._getstring(mand.mand_repr_naissance),
 
"repr_nationalite": self._getstring(mand.mand_repr_nationalite),
 
"repr_identite_pere": self._getstring(mand.mand_repr_identite_pere),
 
"repr_identite_mere": self._getstring(mand.mand_repr_identite_mere),
}
}
)
)
return res
return res
@@ -392,11 +474,18 @@ class CgScopGendocFileServices(Component):
@@ -392,11 +474,18 @@ class CgScopGendocFileServices(Component):
"type": self._getstring(oi.oi_type),
"type": self._getstring(oi.oi_type),
"nom": self._getstring(oi.oi_nom),
"nom": self._getstring(oi.oi_nom),
"adresse": self._getstring(oi.oi_adresse),
"adresse": self._getstring(oi.oi_adresse),
 
"identite": self._getstring(oi.oi_identite),
"naissance": self._getstring(oi.oi_naissance),
"naissance": self._getstring(oi.oi_naissance),
"nationalite": self._getstring(oi.oi_nationalite),
"nationalite": self._getstring(oi.oi_nationalite),
"representant": self._getstring(oi.oi_representant),
"identite_pere": self._getstring(oi.oi_identite_pere),
"identite_pere": self._getstring(oi.oi_identite_pere),
"identite_mere": self._getstring(oi.oi_identite_mere),
"identite_mere": self._getstring(oi.oi_identite_mere),
 
"representant": self._getstring(oi.oi_representant),
 
"repr_adresse": self._getstring(oi.oi_repr_adresse),
 
"repr_qualite": self._getstring(oi.oi_repr_qualite),
 
"repr_naissance": self._getstring(oi.oi_repr_naissance),
 
"repr_nationalite": self._getstring(oi.oi_repr_nationalite),
 
"repr_identite_pere": self._getstring(oi.oi_repr_identite_pere),
 
"repr_identite_mere": self._getstring(oi.oi_repr_identite_mere),
}
}
)
)
return res
return res
Chargement en cours