i have below code to send message in Automated Action and want to convert into link to open corresponding form view:
record.message_post(body="Internal Transfer created successfully... "+str(record.x_stock_picking_id)+' '+new_stock_picking.name)
it is working correctly to show the stock.picking id and name both. how i can convert new_stock_picking.name into a Link to open Internal Transfer form view with record.x_stock_picking_id (many2one) which contains value of stock.picking id field.
please help.
note: my previous topic has been Deleted without information " why and what was the wrong " so i cannot repeat the mistake. i am struggling to achieve something and as per my knowledge, i can made mistakes too, so please be humble and inform us.
regards
i tried as below, it is generating related link but it appears as text how i can convert this into actual clickable link?
record.message_post(body=f'{base_url}/web#id={record.x_stock_picking_id.id}&view_type=form&model=stock.picking')
regards