[IMP] contract: black, isort, prettier

This commit is contained in:
Christopher Rogos
2024-03-23 12:33:38 +00:00
parent ef13064deb
commit fcaddfcb46
24 changed files with 217 additions and 190 deletions

View File

@@ -198,7 +198,7 @@ class ContractContract(models.Model):
def _compute_access_url(self):
for record in self:
record.access_url = "/my/contracts/{}".format(record.id)
record.access_url = f"/my/contracts/{record.id}"
def action_preview(self):
"""Invoked when 'Preview' button in contract form view is clicked."""