We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0f6047b commit a2b8a40Copy full SHA for a2b8a40
jsonifier/i18n/jsonifier.pot
@@ -32,13 +32,20 @@ msgstr ""
32
#: model:ir.model.fields,help:jsonifier.field_ir_exports_resolver__python_code
33
msgid ""
34
"Compute the result from 'value' by setting the variable 'result'.\n"
35
+"\n"
36
"For fields resolvers:\n"
37
+":param record: the record\n"
38
":param name: name of the field\n"
39
":param value: value of the field\n"
40
":param field_type: type of the field\n"
41
42
"For global resolvers:\n"
43
":param value: JSON dict\n"
-":param record: the record"
44
45
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}}"
49
msgstr ""
50
51
#. module: jsonifier
0 commit comments