Commit 0af860e6 authored by Cédric Le Ninivin's avatar Cédric Le Ninivin

erp5_property_sheets: Production Order Line Update Constraint on Resource match Transformation

parent 729f6a09
......@@ -6,13 +6,25 @@
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_identity_criterion</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
</value>
</item>
<item>
<key> <string>_range_criterion</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent>
</value>
</item>
<item>
<key> <string>description</string> </key>
<value> <string>Transformation must match chosen resource</string> </value>
</item>
<item>
<key> <string>expression</string> </key>
<value> <string>python: object.getResourceValue() is not None and object.getSpecialise() in object.getResourceValue().getResourceRelatedList(portal_type=object.getPortalTransformationTypeList())</string> </value>
<value> <string>python: object.getResourceValue() is not None and object.getSpecialise(portal_type=object.getPortalTransformationTypeList()) is not None and object.getResourceValue() == object.getSpecialiseValue(portal_type=object.getPortalTransformationTypeList()).getResourceValue()</string> </value>
</item>
<item>
<key> <string>id</string> </key>
......@@ -29,4 +41,34 @@
</dictionary>
</pickle>
</record>
<record id="2" aka="AAAAAAAAAAI=">
<pickle>
<global name="PersistentMapping" module="Persistence.mapping"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>data</string> </key>
<value>
<dictionary/>
</value>
</item>
</dictionary>
</pickle>
</record>
<record id="3" aka="AAAAAAAAAAM=">
<pickle>
<global name="PersistentMapping" module="Persistence.mapping"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>data</string> </key>
<value>
<dictionary/>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
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