Log a Note using Python Code
Using Automated Action
Probuse Admin
Sample Code (You have to adjust based on your id and urls):
records.message_post(body='TEST <a href="http://localhost:8069/web#model=res.partner&id=3" class="o_mail_redirect" data-oe-id="3" data-oe-model="res.partner" target="_blank">@Mitchell Admin</a> PO Created', subtype="mail.mt_note", message_type='comment', partner_ids=[3])
records.message_post(body='TEST <a href="http://localhost:8069/web#model=res.partner&id=3" class="o_mail_redirect" data-oe-id="3" data-oe-model="res.partner" target="_blank">@Mitchell Admin</a> PO Created', subtype="mail.mt_note", message_type='comment', partner_ids=[3])