mirror of
https://github.com/OCA/contract.git
synced 2025-02-13 17:57:24 +02:00
[MIG] contract_sale_generation: Migration to 15.0
This commit is contained in:
committed by
Jesús Feliciano Valdez Cruz [Vauxoo]
parent
42b907c7d2
commit
0730d45f09
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user