Skip to content

Commit

Permalink
Merge branch 'ingadhoc:17.0' into 17.0
Browse files Browse the repository at this point in the history
  • Loading branch information
aparragithub committed Apr 17, 2024
2 parents 82e0a5c + fffc5cd commit de218a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion stock_ux/models/stock_picking.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ def action_done(self):
res = super().action_done()
for rec in self.with_context(mail_notify_force_send=False).filtered('picking_type_id.mail_template_id'):
try:
rec.message_post_with_template(rec.picking_type_id.mail_template_id.id)
rec.message_post_with_source(rec.picking_type_id.mail_template_id)
except Exception as error:
title = _(
"ERROR: Picking was not sent via email"
Expand Down

0 comments on commit de218a9

Please sign in to comment.