Commit 90a4fa38 authored by Jérome Perrin's avatar Jérome Perrin

base: do not use external validator to prevent duplicated currency references

This is the job of a constraint evaluated during workflow transition,
no need for an external validator here.
parent e817e33f
...@@ -11,7 +11,6 @@ ...@@ -11,7 +11,6 @@
<value> <value>
<list> <list>
<string>description</string> <string>description</string>
<string>external_validator</string>
<string>title</string> <string>title</string>
</list> </list>
</value> </value>
...@@ -85,12 +84,6 @@ ...@@ -85,12 +84,6 @@
<key> <string>description</string> </key> <key> <string>description</string> </key>
<value> <string>ISO code of the currency or something similar</string> </value> <value> <string>ISO code of the currency or something similar</string> </value>
</item> </item>
<item>
<key> <string>external_validator</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
</value>
</item>
<item> <item>
<key> <string>field_id</string> </key> <key> <string>field_id</string> </key>
<value> <string>my_string_field</string> </value> <value> <string>my_string_field</string> </value>
...@@ -113,23 +106,4 @@ ...@@ -113,23 +106,4 @@
</dictionary> </dictionary>
</pickle> </pickle>
</record> </record>
<record id="2" aka="AAAAAAAAAAI=">
<pickle>
<tuple>
<tuple>
<string>Products.Formulator.MethodField</string>
<string>Method</string>
</tuple>
<none/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>method_name</string> </key>
<value> <string>Base_uniqueReferenceInFolderValidator</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData> </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