Commit 13c52bb3 authored by Romain Courteaud's avatar Romain Courteaud

[erp5_administration] Allow edition from erp5js too

parent 9172e24b
......@@ -15,6 +15,14 @@ class Message:
def getListItemUrl(self, *args, **kw):
return self.edit_url
def getListItemUrlDict(self, *args, **kw):
return {
'command': 'raw',
'options': {
'url': self.edit_url
}
}
def __repr__(self):
return "{}:{}".format(self.location, self.message)
......
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