Commit 8e734bde authored by Jérome Perrin's avatar Jérome Perrin

display ratio price properly


git-svn-id: https://svn.erp5.org/repos/public/erp5/sandbox/amount_generator@37519 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 9d41a90b
......@@ -14,6 +14,7 @@
<value>
<list>
<string>enabled</string>
<string>input_style</string>
<string>precision</string>
</list>
</value>
......@@ -71,11 +72,17 @@
<value> <string></string> </value>
</item>
<item>
<key> <string>precision</string> </key>
<key> <string>input_style</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent>
</value>
</item>
<item>
<key> <string>precision</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAQ=</string> </persistent>
</value>
</item>
<item>
<key> <string>target</string> </key>
<value> <string></string> </value>
......@@ -99,6 +106,10 @@
<key> <string>form_id</string> </key>
<value> <string>Base_viewFieldLibrary</string> </value>
</item>
<item>
<key> <string>input_style</string> </key>
<value> <string>-1 234.5</string> </value>
</item>
<item>
<key> <string>precision</string> </key>
<value> <string></string> </value>
......@@ -130,6 +141,22 @@
</pickle>
</record>
<record id="3" aka="AAAAAAAAAAM=">
<pickle>
<tuple>
<global name="TALESMethod" module="Products.Formulator.TALESField"/>
<tuple/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_text</string> </key>
<value> <string>python: cell.getUse(base=True) in preferences.getPreferredPriceRatioUseList() and \'-12.3%\' or preferences.getPreference(\'preferred_money_quantity_style\', \'-1 234.5\')</string> </value>
</item>
</dictionary>
</pickle>
</record>
<record id="4" aka="AAAAAAAAAAQ=">
<pickle>
<tuple>
<global name="TALESMethod" module="Products.Formulator.TALESField"/>
......
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