mirror of
https://github.com/OCA/contract.git
synced 2025-02-13 17:57:24 +02:00
[IMP] contract: black, isort, prettier
This commit is contained in:
@@ -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."""
|
||||
|
||||
Reference in New Issue
Block a user