Adding auto creation of opening transaction on create
This commit is contained in:
@@ -63,6 +63,9 @@ class CategoryWrite(BaseAccountWrite):
|
||||
}
|
||||
})
|
||||
|
||||
opening_date: SkipJsonSchema[date] = Field(default=date(1970, 1, 1))
|
||||
opening_balance: SkipJsonSchema[Decimal] = Field(default=0)
|
||||
|
||||
class CategoryCreate(CategoryWrite):
|
||||
pass
|
||||
|
||||
|
||||
Reference in New Issue
Block a user