Commit c2ef4e57 authored by Fabien Morin's avatar Fabien Morin

fix some mistakes in ApparelModel scripts

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@32066 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 3f9f68eb
...@@ -275,7 +275,7 @@ ...@@ -275,7 +275,7 @@
<dictionary> <dictionary>
<item> <item>
<key> <string>_text</string> </key> <key> <string>_text</string> </key>
<value> <string>python: here.ApparelModel_getPrototype() is not None and here.ApparelModel_getPrototype().getDestinationReference() or here.ApparelModel_getPrototype().getTitle()</string> </value> <value> <string>python: here.ApparelModel_getPrototype() is not None and here.ApparelModel_getPrototype().getDestinationReference() or \'\'</string> </value>
</item> </item>
</dictionary> </dictionary>
</pickle> </pickle>
......
...@@ -126,7 +126,7 @@ data_dict = {\n ...@@ -126,7 +126,7 @@ data_dict = {\n
\'morphology_title\': getMorphologyTitle() or \'\',\n \'morphology_title\': getMorphologyTitle() or \'\',\n
\'shape_main_image_path\': getShapeMainImagePath() or \'\',\n \'shape_main_image_path\': getShapeMainImagePath() or \'\',\n
\'prototype_title\': getPrototype() is not None and \\\n \'prototype_title\': getPrototype() is not None and \\\n
getPrototype().getDestinationReference() or getPrototype().getTitle(),\n getPrototype().getDestinationReference() or \'\',\n
\'prototype_image_path\': getPrototype() is not None and getPrototype().absolute_url() or \'\',\n \'prototype_image_path\': getPrototype() is not None and getPrototype().absolute_url() or \'\',\n
\'preferred_organisation_image_path\': getPreferredOrganisation() is not None\\\n \'preferred_organisation_image_path\': getPreferredOrganisation() is not None\\\n
and getPreferredOrganisation().getDefaultImageAbsoluteUrl() or \'\',\n and getPreferredOrganisation().getDefaultImageAbsoluteUrl() or \'\',\n
......
250 251
\ No newline at end of file \ 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