Commit 12df604c authored by Nicolas Wavrant's avatar Nicolas Wavrant

ERP5Type: introduces 'type_definition', a grouping type to identify portal...

ERP5Type: introduces 'type_definition', a grouping type to identify portal types defining other types

ie: Base Type and portal types of portal types
parent a659b01c
......@@ -20,6 +20,14 @@
<key> <string>description</string> </key>
<value> <string>Delivery Type is a Base Type which allows its portal type instances to define a list of ledger to which they can belong to.</string> </value>
</item>
<item>
<key> <string>group_list</string> </key>
<value>
<tuple>
<string>type_definition</string>
</tuple>
</value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>Delivery Type</string> </value>
......
......@@ -48,7 +48,9 @@
<item>
<key> <string>group_list</string> </key>
<value>
<tuple/>
<tuple>
<string>type_definition</string>
</tuple>
</value>
</item>
<item>
......
......@@ -261,6 +261,9 @@ class ERP5TypeInformation(XMLObject,
# Documents need to have portal types associated to them
# just to be able to spawn temporary objects with the same behavior
'abstract',
# Types defining other types: it includes Base Type but also
# portal types of portal types
'type_definition',
# Trade
'discount', 'payment_condition', 'payment_node',
'supply', 'supply_path', 'inventory_movement',
......
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