Fix: Gewicht-Eintrag schlug fehl (bezeichnung Pflichtfeld + Komma-Dezimal)
- health.py: bezeichnung Optional statt required (Gewicht braucht keinen Titel) - _buildPayload: Komma → Punkt bei wert und kosten (deutsche Lokalisierung) - Gewicht-Einträge setzen automatisch bezeichnung = "9.9 kg" - SW-Cache → by-v10
This commit is contained in:
parent
75529cbdab
commit
1a5f1f7ee2
3 changed files with 7 additions and 4 deletions
|
|
@ -20,7 +20,7 @@ TYPEN = {"impfung", "entwurmung", "tierarzt", "medikament", "gewicht", "allergie
|
|||
# ------------------------------------------------------------------
|
||||
class HealthCreate(BaseModel):
|
||||
typ: str
|
||||
bezeichnung: str
|
||||
bezeichnung: Optional[str] = None
|
||||
datum: str
|
||||
naechstes: Optional[str] = None
|
||||
notiz: Optional[str] = None
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue