Commit d2fa953e authored by Nicolas Wavrant's avatar Nicolas Wavrant

fixup! erp5_interface_post: factorizes code used to generate a Post from an Event

parent 0202009a
......@@ -13,7 +13,6 @@ post_message_post_module = portal.getDefaultModuleValue(post_portal_type, None)
message_post = post_message_post_module.newContent(
portal_type=post_portal_type,
title="Post Message for %s" % context.getTitle(),
reference=context.getReference(),
data=post_message_data,
)
message_post.edit(**kw)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment