Files
sgl/gestion_produit/__pycache__/models.cpython-310.pyc

24 lines
4.5 KiB
Plaintext
Raw Normal View History

2025-12-19 09:43:33 +00:00
o
Ei<45><00>@s<>dZddlmZddlmZddlmZGdd<06>dej<07>ZGdd<08>dej<07>Z Gd d
<EFBFBD>d
ej<07>Z
Gd d <0C>d ej<07>Z Gd d<0E>dej<07>Z dS)u*Modèles de l'application gestion_produit.<2E>)<01>models)<01>timezone)<01>Profilec@s&eZdZdZejddd<04>Zdd<06>ZdS)<08> Categorieu0Modèle représentant une catégorie de produit.<2E><>T)<02>
max_length<EFBFBD>uniquecC<00>|jS)u!Retourne le nom de la catégorie.)<01> categorie<69><01>self<6C>r <00>4/home/sorel/logistique/SGL/gestion_produit/models.py<70>__str__ <00>zCategorie.__str__N)<08>__name__<5F>
__module__<EFBFBD> __qualname__<5F>__doc__r<00> CharFieldr
rr r r rrs rc@sreZdZdZdZejddd<05>Zejdd<07>Z ejdded <09>Z
ejd
d<07>Z ej d d d d <0A>Z ejeejd<0E>Zdd<10>ZdS)<12>Produitu!Modèle représentant un produit.))<02>boite<74>Boite)<02>paquet<65>Paquet)<02>pieceuPièce)<02>rouleau<61>Rouleau)<02>carton<6F>CartonuLibellér)<02> verbose_nameruQuantité actuellement en stock<63>r zConditionnement du produit)r r<00>choicesuSeuil de pré-rupturezproduit_image/T)<03> upload_to<74>blank<6E>null<6C><01> on_deletecCr )u Retourne le libellé du produit.)<01>libeller r r rr0rzProduit.__str__N)rrrr<00>CONDITIONNEMENT_CHOICESrrr(<00>PositiveIntegerField<6C>quantite_stock<63>conditionnement<6E>seuil_pre_rupture<72>
ImageField<EFBFBD>image<67>
ForeignKeyr<00>CASCADEr
rr r r rrs,<06><06><06><06> rc@s<>eZdZdZejeejddd<03>Zeje ej
d<04>Z ej ddd<07>Z ejdd <09>Zejd
ejd<07>Zejd d <0C>Zejd d <0C>Zejddd <0A>Zejddd<0F>Zejddd<0F>Zejddd<11>Zejd d <0C>Zdd<13>ZdS)<14>Demanderu-Modèle représentant une demande de produit.T)r'r%r$r&uQuantité demandée<C3A9><00>r <00>default<6C>Motifr!u&Date de mise à disposition souhaitéeF<65>r5)r$r%N)r5r%<00>)r5r$cCsd|jj<01><00>S)u5Retourne une représentation textuelle de la demande.z Demande de )<02>produitr(r r r rrNszDemander.__str__)rrrrrr0r<00>SET_NULL<4C>userrr1r9r*<00>quantite<74> TextField<6C>motifs<66> DateFieldr<00>now<6F>date_de_mise_a_dispo_souhaite<74> BooleanField<6C>a_rendre<72>rendu<64>
date_rendu<EFBFBD>valider_par_chef<65>valider_par_logisticien<65> motif_refus<75>livrerrr r r rr25s0<06><06> <06>    r2c@s<>eZdZdZejddd<04>Zejddddd<08>Zejd d
ddd<08>Z ejd d d<04>Z
ejd dd<04>Z ejddd<04>Z ej dd<12>Zejdd<14>Zejedd<12>Zdd<17>ZdS)<19> Fournisseuru%Modèle représentant un fournisseur.<2E>dzNom de l'entreprise)rr zLe RCCM du fournisseur :zfournisseur/rccm/T)r r#r$r%zLe NIFp du fournisseur :zfournisseur/nifp/ruNom et prénom du representant<6E>uFonction du représentant<6E>uTéléphone du représentantzAdresse e-mailr!rr7uCatégorie de produit fournicCr )z/Retourne le nom de l'entreprise du fournisseur.)<01>nom_entrepriser r r rrurzFournisseur.__str__N)rrrrrrrN<00> FileField<6C>rccm<63>nifp<66>nom_prenom_representant<6E>fonction<6F> telephone<6E>
EmailField<EFBFBD>emailr*<00>note<74>ManyToManyFieldrr
rr r r rrJSsB<06><06><06><06><06><06>  <06> rJc@s|eZdZdZejeejd<02>Zeje ejd<02>Z
ej ddd<05>Z ej ddd<05>Z ejejd<08>Zejejd<08>Zejd d<08>Zd
d <0B>Zd S) <0A> Commanderu.Modèle représentant une commande de produit.r&zPrix d'achat unitaire :rr4uQuantité à commanderr3r7FcCs d|j<00>d|jj<02>d|jj<04><00>S)u6Retourne une représentation textuelle de la commande.z Commande de z x z chez )<05>quantite_commanderr9r(<00> fournisseurrNr r r rr<00>s<04><02>zCommander.__str__N)rrrrrr0rr1r9rJr[r*<00>
prix_achatrZr?rr@<00> date_commande<64>date_livraisonrBrIrr r r rrYzs<06><06>  rYN) r<00> django.dbr<00> django.utilsr<00>authentification.modelsr<00>Modelrrr2rJrYr r r r<00><module>s   
#'