changes
This commit is contained in:
@@ -722,7 +722,10 @@ class AssessmentPortal(CustomerPortal):
|
||||
|
||||
# Post message to chatter with photos
|
||||
sale_order.message_post(
|
||||
body=f"<p><strong>Assessment Photos</strong><br/>Photos from assessment {assessment.reference} by {request.env.user.name}</p>",
|
||||
body=Markup(
|
||||
'<p><strong>Assessment Photos</strong><br/>'
|
||||
'Photos from assessment %s by %s</p>'
|
||||
) % (assessment.reference, request.env.user.name),
|
||||
message_type='comment',
|
||||
subtype_xmlid='mail.mt_comment',
|
||||
attachment_ids=attachment_ids,
|
||||
|
||||
Reference in New Issue
Block a user