feat: the art grade becomes configurable, off by default (front 8.5)
Gestão sets in the Site tab below which grade the designer is warned and below which the designer treatment is required (only while it is offered). The decision is stored with the approved quote, so a later change never rewrites old orders; the card shows 'Nota N: conferir a arte', the Site forces the treatment box with the reason. With no rule nothing changes. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -401,6 +401,12 @@ class CouponUpdate(StrictModel):
|
||||
paused: bool | None = None
|
||||
|
||||
|
||||
class GradeRules(StrictModel):
|
||||
"""As regras da nota da arte: um limite por ação, ou nada (null)."""
|
||||
aviso: int | None = Field(ge=1, le=100, strict=True)
|
||||
tratamento: int | None = Field(ge=1, le=100, strict=True)
|
||||
|
||||
|
||||
class Contraction(StrictModel):
|
||||
item_index: int = Field(ge=0, le=100)
|
||||
# None returns the item to the class the browser measured.
|
||||
|
||||
Reference in New Issue
Block a user