2
0
This commit is contained in:
Andrea 2018-12-27 10:05:35 +01:00 committed by Andrea Stirpe
parent 319b4c4110
commit 8f85126e64

View File

@ -430,7 +430,7 @@ class AccountSpread(models.Model):
self.invoice_line_id.name, inv_link) self.invoice_line_id.name, inv_link)
self.message_post(body=msg_body) self.message_post(body=msg_body)
spread_link = '<a href=# data-oe-model=account.spread ' \ spread_link = '<a href=# data-oe-model=account.spread ' \
'data-oe-id=%d>%s</a>' % (self.id, _("Spread Board")) 'data-oe-id=%d>%s</a>' % (self.id, _("Spread Board"))
msg_body = _("Unlinked '%s' (invoice line %s).") % ( msg_body = _("Unlinked '%s' (invoice line %s).") % (
spread_link, self.invoice_line_id.name) spread_link, self.invoice_line_id.name)
self.invoice_id.message_post(body=msg_body) self.invoice_id.message_post(body=msg_body)