Commit 00c01f8a authored by Nicolas Delaby's avatar Nicolas Delaby

Add "internal use preference" in fallback values

parent e8697380
......@@ -60,7 +60,9 @@ elif context.getPortalType() in portal.getPortalPurchaseTypeList():\n
elif context.getPortalType() in portal.getPortalInternalTypeList():\n
use_list = portal.portal_preferences.getPreferredInternalUseList()\n
else:\n
use_list = portal.portal_preferences.getPreferredPurchaseUseList() + portal.portal_preferences.getPreferredSaleUseList()\n
use_list = portal.portal_preferences.getPreferredPurchaseUseList()\\\n
+ portal.portal_preferences.getPreferredSaleUseList()\\\n
+ portal.portal_preferences.getPreferredInternalUseList()\n
\n
if not use_list:\n
return []\n
......
1123
\ No newline at end of file
1124
\ 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