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

erp5_base: no need to fetch all Notification Message

parent 1b8dbe1f
Pipeline #33151 failed with stage
in 0 seconds
......@@ -5,6 +5,7 @@ notification_message_list = portal.portal_catalog.getDocumentValueList(
reference=reference,
language=language,
strict_language=strict_language,
limit=limit,
**kw
)
if notification_message_list:
......
......@@ -50,7 +50,7 @@
</item>
<item>
<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>
<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