Commit 3ee1b59e authored by Romain Courteaud's avatar Romain Courteaud

slapos_pdm: rename Software Type to Software Product Type Variation

parent 7601b29a
......@@ -32,12 +32,12 @@ from Products.ERP5Type import Permissions, PropertySheet
from erp5.component.document.Variation import Variation
class SoftwareType(Variation):
class SoftwareProductTypeVariation(Variation):
"""
A Variation
"""
meta_type = 'ERP5 Software Type'
portal_type = 'Software Type'
meta_type = 'ERP5 Software Product Type Variation'
portal_type = 'Software Product Type Variation'
add_permission = Permissions.AddPortalContent
# Declarative security
......
......@@ -8,7 +8,7 @@
<dictionary>
<item>
<key> <string>default_reference</string> </key>
<value> <string>SoftwareType</string> </value>
<value> <string>SoftwareProductTypeVariation</string> </value>
</item>
<item>
<key> <string>default_source_reference</string> </key>
......@@ -24,7 +24,7 @@
</item>
<item>
<key> <string>id</string> </key>
<value> <string>document.erp5.SoftwareType</string> </value>
<value> <string>document.erp5.SoftwareProductTypeVariation</string> </value>
</item>
<item>
<key> <string>portal_type</string> </key>
......
......@@ -2,7 +2,7 @@
<portal_type id="Software Product">
<item>Embedded File</item>
<item>Software Product Individual Variation</item>
<item>Software Type</item>
<item>Software Product Type Variation</item>
</portal_type>
<portal_type id="Upgrade Decision">
<item>Upgrade Decision Line</item>
......
......@@ -8,12 +8,12 @@
<portal_type id="Software Product Individual Variation">
<item>SlaposCapacity</item>
</portal_type>
<portal_type id="Software Product Type Variation">
<item>SlaposCapacity</item>
</portal_type>
<portal_type id="Software Release">
<item>SlapOSSoftwareReleaseConstraint</item>
</portal_type>
<portal_type id="Software Type">
<item>SlaposCapacity</item>
</portal_type>
<portal_type id="Upgrade Decision">
<item>SlapOSVirtualMasterSourceProjectConstraint</item>
</portal_type>
......
......@@ -40,7 +40,7 @@
</item>
<item>
<key> <string>id</string> </key>
<value> <string>Software Type</string> </value>
<value> <string>Software Product Type Variation</string> </value>
</item>
<item>
<key> <string>init_script</string> </key>
......@@ -60,7 +60,7 @@
</item>
<item>
<key> <string>type_class</string> </key>
<value> <string>SoftwareType</string> </value>
<value> <string>SoftwareProductTypeVariation</string> </value>
</item>
<item>
<key> <string>type_interface</string> </key>
......
Compute Node | view_related_upgrade_decision
Instance Tree | view_upgrade
Software Product Individual Variation | view
Software Product Type Variation | view
Software Product | capacity
Software Product | mass_upgrade
Software Type | view
Upgrade Decision Line | view
Upgrade Decision Module | rss_view
Upgrade Decision Module | view
......
document.erp5.SoftwareType
document.erp5.SoftwareProductTypeVariation
document.erp5_slapos.SoftwareProduct
\ No newline at end of file
Software Product | Embedded File
Software Product | Software Product Individual Variation
Software Product | Software Type
Software Product | Software Product Type Variation
Upgrade Decision Module | Upgrade Decision
Upgrade Decision | Upgrade Decision Line
\ No newline at end of file
Software Product Individual Variation
Software Type
Software Product Type Variation
Upgrade Decision
Upgrade Decision Line
Upgrade Decision Module
\ No newline at end of file
Software Product Individual Variation | SlaposCapacity
Software Product Type Variation | SlaposCapacity
Software Product | DefaultImage
Software Product | SlapOSSoftwareProductConstraint
Software Product | SlapOSVirtualMasterConstraint
Software Product | SlaposCapacity
Software Release | SlapOSSoftwareReleaseConstraint
Software Type | SlaposCapacity
Upgrade Decision | SlapOSVirtualMasterSourceProjectConstraint
\ 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