Commit 040dc8f0 authored by Romain Courteaud's avatar Romain Courteaud

erp5_base: no need to fetch all Notification Message

parent 1b8dbe1f
...@@ -5,6 +5,7 @@ notification_message_list = portal.portal_catalog.getDocumentValueList( ...@@ -5,6 +5,7 @@ notification_message_list = portal.portal_catalog.getDocumentValueList(
reference=reference, reference=reference,
language=language, language=language,
strict_language=strict_language, strict_language=strict_language,
limit=limit,
**kw **kw
) )
if notification_message_list: if notification_message_list:
......
...@@ -50,7 +50,7 @@ ...@@ -50,7 +50,7 @@
</item> </item>
<item> <item>
<key> <string>_params</string> </key> <key> <string>_params</string> </key>
<value> <string>reference, language=None, strict_language=False, validation_state=None, **kw</string> </value> <value> <string>reference, language=None, strict_language=False, validation_state=None, limit=1, **kw</string> </value>
</item> </item>
<item> <item>
<key> <string>id</string> </key> <key> <string>id</string> </key>
......
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