Commit dbe801bd authored by Romain Courteaud's avatar Romain Courteaud

crm more actions

parent e91b43a2
......@@ -16,13 +16,13 @@
<key> <string>categories</string> </key>
<value>
<tuple>
<string>action_type/object_action</string>
<string>action_type/object_jio_action</string>
</tuple>
</value>
</item>
<item>
<key> <string>category</string> </key>
<value> <string>object_action</string> </value>
<value> <string>object_jio_action</string> </value>
</item>
<item>
<key> <string>condition</string> </key>
......@@ -32,7 +32,9 @@
</item>
<item>
<key> <string>description</string> </key>
<value> <string></string> </value>
<value>
<none/>
</value>
</item>
<item>
<key> <string>icon</string> </key>
......
......@@ -21,4 +21,5 @@ bug = module.newContent(portal_type=portal_type,
portal_status_message = Base_translateString(
"Created and associated a new ${portal_type} to the ticket.",
mapping = dict(portal_type=Base_translateString(portal_type)))
return bug.Base_redirect('view', keep_items = dict(portal_status_message=portal_status_message), **kw)
kw['keep_items'] = dict(portal_status_message=portal_status_message)
return bug.Base_redirect('view', **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