Fix: Raw material cost detail report borked on sort at the end as order was not in RawMaterialCost schema. Although it is not needed in the frontend, added it as optional.
This commit is contained in:
@ -20,6 +20,7 @@ class RawMaterialCostItem(BaseModel):
|
||||
quantity: Optional[Decimal]
|
||||
net: Optional[Decimal]
|
||||
gross: Optional[Decimal]
|
||||
order: Optional[int]
|
||||
|
||||
heading: Optional[bool]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user