Commit 7b90515c authored by Jérome Perrin's avatar Jérome Perrin

Preference_getReportFormatItemList:

Also get the field value as unvalidated value from the REQUEST, because this script will be called when validating a dialog using Base_viewDialogFieldLibrary/your_format



git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@18740 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent c21f0cf8
......@@ -67,9 +67,11 @@
<key> <string>_body</string> </key>
<value> <string>portal = context.getPortalObject()\n
N_ = portal.Base_translateString\n
request = container.REQUEST\n
\n
style = container.REQUEST.get(\'your_portal_skin\',\n
context.getPreferredReportStyle())\n
style = request.get(\'your_portal_skin\',\n
request.get(\'field_your_portal_skin\',\n
context.getPreferredReportStyle()))\n
\n
item_list = [(\'\', \'\')]\n
\n
......@@ -134,6 +136,7 @@ return item_list\n
<string>portal</string>
<string>N_</string>
<string>container</string>
<string>request</string>
<string>style</string>
<string>item_list</string>
</tuple>
......
671
\ No newline at end of file
673
\ No newline at end of file
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