Commit e8697380 authored by Nicolas Delaby's avatar Nicolas Delaby

Support typology of "internal" resources

parent 7bd63712
......@@ -57,6 +57,8 @@ if context.getPortalType() in portal.getPortalSaleTypeList():\n
use_list = context.portal_preferences.getPreferredSaleUseList()\n
elif context.getPortalType() in portal.getPortalPurchaseTypeList():\n
use_list = portal.portal_preferences.getPreferredPurchaseUseList()\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
\n
......
1122
\ No newline at end of file
1123
\ 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