Skip to content

Commit a2b8a40

Browse files
author
oca-ci
committed
[UPD] Update jsonifier.pot
1 parent 0f6047b commit a2b8a40

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

jsonifier/i18n/jsonifier.pot

+8-1
Original file line numberDiff line numberDiff line change
@@ -32,13 +32,20 @@ msgstr ""
3232
#: model:ir.model.fields,help:jsonifier.field_ir_exports_resolver__python_code
3333
msgid ""
3434
"Compute the result from 'value' by setting the variable 'result'.\n"
35+
"\n"
3536
"For fields resolvers:\n"
37+
":param record: the record\n"
3638
":param name: name of the field\n"
3739
":param value: value of the field\n"
3840
":param field_type: type of the field\n"
41+
"\n"
3942
"For global resolvers:\n"
4043
":param value: JSON dict\n"
41-
":param record: the record"
44+
":param record: the record\n"
45+
"\n"
46+
"In both types, you can override the final json key.\n"
47+
"To achieve this, simply return a dict like: \n"
48+
"{'result': {'_value': $value, '_json_key': $new_json_key}}"
4249
msgstr ""
4350

4451
#. module: jsonifier

0 commit comments

Comments
 (0)