Commit 5016f968 authored by Jérome Perrin's avatar Jérome Perrin

TextDocument: lazily convert substitution mapping to unicode

This way, the substitution mapping method can return a dynamic mapping,
the only requirement is to implement __getitem__

ne use case is to be able to use the same substitution script for
different CRM notification messages and only compute the "heavy"
substitution variables when they are actually needed.

See nexedi/erp5!1047
parent 7e775f3c
Pipeline #7964 passed with stage