Changing the contract file name to the contract label. Updating label content with a dash
This commit is contained in:
@@ -190,7 +190,7 @@ class Contract(CrudDocument):
|
||||
for p in values['parties']:
|
||||
contract_label = contract_label + f" - {p.entity.label}"
|
||||
|
||||
contract_label = contract_label + f" {values['date'].strftime('%m/%d/%Y')}"
|
||||
contract_label = contract_label + f" - {values['date'].strftime('%m/%d/%Y')}"
|
||||
return contract_label
|
||||
|
||||
return v
|
||||
|
||||
Reference in New Issue
Block a user