Adding translation for Cratract draft creation form
This commit is contained in:
@@ -15,13 +15,17 @@ class ContractDraftRead(ContractDraft):
|
|||||||
|
|
||||||
|
|
||||||
class ContractDraftCreate(Writer):
|
class ContractDraftCreate(Writer):
|
||||||
name: str
|
name: str = Field(title='Nom')
|
||||||
title: str
|
title: str = Field(title='Titre')
|
||||||
parties: List[DraftParty]
|
parties: List[DraftParty] = Field(title='Parties')
|
||||||
provisions: List[DraftProvision]
|
provisions: List[DraftProvision] = Field(
|
||||||
|
props={"items-per-row": "1", "numbered": True},
|
||||||
|
title='Clauses'
|
||||||
|
)
|
||||||
variables: List[DictionaryEntry] = Field(
|
variables: List[DictionaryEntry] = Field(
|
||||||
default=[],
|
default=[],
|
||||||
format="dictionary",
|
format="dictionary",
|
||||||
|
title='Variables'
|
||||||
)
|
)
|
||||||
|
|
||||||
async def validate_foreign_key(self):
|
async def validate_foreign_key(self):
|
||||||
|
|||||||
Reference in New Issue
Block a user