Commit afe3069f authored by 's avatar

Updated from 2.3 branch

parent c32bb816
......@@ -183,7 +183,8 @@ class Product(Folder, PermissionManager):
'manage_subclassableClassNames']
manage_options=(
Folder.manage_options+
(Folder.manage_options[0],) +
tuple(Folder.manage_options[2:]) +
(
{'label':'Distribution', 'action':'manage_distributionView',
'help':('OFSP','Product_Distribution.stx')},
......@@ -454,7 +455,8 @@ def initializeProduct(productp, name, home, app):
product.version=fver
product.home=home
if disable_distribution:
product.manage_options=Folder.manage_options
product.manage_options=(Folder.manage_options[0],) + \
tuple(Folder.manage_options[2:])
product._distribution=None
product.manage_distribution=None
product.thisIsAnInstalledProduct=1
......
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