From e421b02068509ca65033ab937858995fde1df55b Mon Sep 17 00:00:00 2001 From: Kazuhiko Shiozaki <kazuhiko@nexedi.com> Date: Wed, 24 Mar 2010 15:05:34 +0000 Subject: [PATCH] configure rounding for Trade Model Simulation Rule. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@34056 20353a03-c40f-0410-a6d1-a30d3c3de9de --- .../quantity_tester.xml | 12 ++++++++++++ bt5/erp5_simulation/bt/revision | 2 +- 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/bt5/erp5_simulation/PathTemplateItem/portal_rules/new_trade_model_simulation_rule/quantity_tester.xml b/bt5/erp5_simulation/PathTemplateItem/portal_rules/new_trade_model_simulation_rule/quantity_tester.xml index 6bc1bb7b9a6..6a1800bb334 100644 --- a/bt5/erp5_simulation/PathTemplateItem/portal_rules/new_trade_model_simulation_rule/quantity_tester.xml +++ b/bt5/erp5_simulation/PathTemplateItem/portal_rules/new_trade_model_simulation_rule/quantity_tester.xml @@ -48,6 +48,18 @@ <persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent> </value> </item> + <item> + <key> <string>decimal_alignment_enabled</string> </key> + <value> <int>1</int> </value> + </item> + <item> + <key> <string>decimal_exponent</string> </key> + <value> <string>0.000001</string> </value> + </item> + <item> + <key> <string>decimal_rounding_option</string> </key> + <value> <string>ROUND_DOWN</string> </value> + </item> <item> <key> <string>id</string> </key> <value> <string>quantity_tester</string> </value> diff --git a/bt5/erp5_simulation/bt/revision b/bt5/erp5_simulation/bt/revision index e77a96349c0..0aeb5485442 100644 --- a/bt5/erp5_simulation/bt/revision +++ b/bt5/erp5_simulation/bt/revision @@ -1 +1 @@ -73 \ No newline at end of file +74 \ No newline at end of file -- 2.30.9