diff --git a/bt5/erp5_short_message/SkinTemplateItem/portal_skins/erp5_short_message/ShortMessage_send.xml b/bt5/erp5_short_message/SkinTemplateItem/portal_skins/erp5_short_message/ShortMessage_send.xml index 26f474ef685e137c03b54a098677e54b26fb3a9a..a6470b24c3f11e8d8e948766dd5ddfb83dfe5dc3 100644 --- a/bt5/erp5_short_message/SkinTemplateItem/portal_skins/erp5_short_message/ShortMessage_send.xml +++ b/bt5/erp5_short_message/SkinTemplateItem/portal_skins/erp5_short_message/ShortMessage_send.xml @@ -74,13 +74,12 @@ if not from_url:\n #We use title of sender\n from_title = sender_phone.getTitle() \n from_url = sender_phone.asURL()\n -\n - \n \n if not body:\n body = context.getTextContent()\n \n -context.portal_sms.send(text=body, recipient=to_url, sender=from_url, sender_title=from_title,message_type="text", test=download, **kw)\n +context.portal_sms.send(text=body,recipient=to_url,sender=from_url,sender_title=from_title,message_type="text", \n + test=download, document_relative_url=context.getRelativeUrl(), **kw)\n </string> </value> </item> <item> diff --git a/bt5/erp5_short_message/bt/revision b/bt5/erp5_short_message/bt/revision index 7813681f5b41c028345ca62a2be376bae70b7f61..62f9457511f879886bb7728c986fe10b0ece6bcb 100644 --- a/bt5/erp5_short_message/bt/revision +++ b/bt5/erp5_short_message/bt/revision @@ -1 +1 @@ -5 \ No newline at end of file +6 \ No newline at end of file