You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So far, origins can be of two kind, through the is_generic boolean. Different rules apply to rat registration under a given prefix depending on this boolean:
generic: do not correspond to a specific birthplace but to unregistered groups of similar birth/adoption places (all petshops, all laboratory rats, etc.) => mandatory comment
non generic: specific registered birthplace => mandatory mother
Professional breeders do not fall in any of these categories (ex: René Baastians, Alain Caron), which currently prevents to register rats under their prefix. Setting them as generic ratteries would have other side effects (reduced statistics, automatic appearance in the origin selectbox of rat registration form). Other solutions could be:
adding a new boolean is_professional
allowing to declare litters of "Unknown mother" (rat_id=1)
The text was updated successfully, but these errors were encountered:
ajouter un champ is_professional qui permettrait de squizzer les règles de gestion
basculer les rats concernés en origine Animalerie et supprimer les rateries (sans impact sur le pedigree des rats) et mettre l'info de l'origine en commentaire
ajouter un champ "Enseigne" (liste déroulante fermée) pour préciser le champ Animalerie puis supprimer les rateries pro
Ajouter un tag pour préciser l'enseigne d'origine puis supprimer les rateries pro
Fix temporaire dans #198 (champ is_dam_required dans la table ratteries).
A terme, une révision plus complète de la gestion des origines semblera souhaitable (origin id dans la tables des rats et tables des origines: "Origines : Animalerie, Grossiste, Sauvage, Raterie, ...", suppression de rattery_id dans la table rat, table des rateries uniquement liées aux rats via les birth litters si origin = Raterie). Pour une future version.
So far, origins can be of two kind, through the
is_generic
boolean. Different rules apply to rat registration under a given prefix depending on this boolean:Professional breeders do not fall in any of these categories (ex: René Baastians, Alain Caron), which currently prevents to register rats under their prefix. Setting them as generic ratteries would have other side effects (reduced statistics, automatic appearance in the origin selectbox of rat registration form). Other solutions could be:
is_professional
The text was updated successfully, but these errors were encountered: