Commit 1b0f7388 authored by Jérome Perrin's avatar Jérome Perrin

added a validator to make sure we do not have 2 currencies with the same reference


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@5372 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 5706dfb4
......@@ -22,7 +22,7 @@
<dictionary>
<item>
<key> <string>external_validator_failed</string> </key>
<value> <string>The input failed the external validator.</string> </value>
<value> <string>Another currency already exists for this currency code.</string> </value>
</item>
<item>
<key> <string>required_not_found</string> </key>
......@@ -223,7 +223,9 @@
</item>
<item>
<key> <string>external_validator</string> </key>
<value> <string></string> </value>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
</value>
</item>
<item>
<key> <string>extra</string> </key>
......@@ -263,4 +265,23 @@
</dictionary>
</pickle>
</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>
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