[MIG] contract_sale_generation: Migration to 15.0

This commit is contained in:
ntsirintanis
2022-06-22 11:54:53 +02:00
committed by Jesús Feliciano Valdez Cruz [Vauxoo]
parent 42b907c7d2
commit 0730d45f09
10 changed files with 67 additions and 55 deletions

View File

@@ -75,11 +75,11 @@ class ContractContract(models.Model):
self.message_post(
body=_(
"Contract manually sale order: "
'<a href="#" data-oe-model="%s" data-oe-id="%s">'
'<a href="#" data-oe-model="%(model)s" data-oe-id="%(id)s">'
"Sale Order"
"</a>"
)
% (sale_rec._name, sale_rec.id)
% {"model": sale_rec._name, "id": sale_rec.id}
)
return sales