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 ...@@ -57,6 +57,8 @@ if context.getPortalType() in portal.getPortalSaleTypeList():\n
use_list = context.portal_preferences.getPreferredSaleUseList()\n use_list = context.portal_preferences.getPreferredSaleUseList()\n
elif context.getPortalType() in portal.getPortalPurchaseTypeList():\n elif context.getPortalType() in portal.getPortalPurchaseTypeList():\n
use_list = portal.portal_preferences.getPreferredPurchaseUseList()\n use_list = portal.portal_preferences.getPreferredPurchaseUseList()\n
elif context.getPortalType() in portal.getPortalInternalTypeList():\n
use_list = portal.portal_preferences.getPreferredInternalUseList()\n
else:\n else:\n
use_list = portal.portal_preferences.getPreferredPurchaseUseList() + portal.portal_preferences.getPreferredSaleUseList()\n use_list = portal.portal_preferences.getPreferredPurchaseUseList() + portal.portal_preferences.getPreferredSaleUseList()\n
\n \n
......
1122 1123
\ 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