[Erp5-report] r36932 kazuhiko - in /erp5/trunk/bt5/erp5_simulation: PathTemplateItem/portal...
nobody at svn.erp5.org
nobody at svn.erp5.org
Wed Jul 7 11:34:44 CEST 2010
Author: kazuhiko
Date: Wed Jul 7 11:34:43 2010
New Revision: 36932
URL: http://svn.erp5.org?rev=36932&view=rev
Log:
* add a field to select a delivery solver in QuantitySplitSolver_viewConfigurationFormBox.
* configure a sample tester and a sample solver.
Added:
erp5/trunk/bt5/erp5_simulation/SkinTemplateItem/portal_skins/erp5_simulation/QuantitySplitSolver_viewConfigurationFormBox/my_delivery_solver.xml
Modified:
erp5/trunk/bt5/erp5_simulation/PathTemplateItem/portal_rules/new_delivery_simulation_rule/quantity_tester.xml
erp5/trunk/bt5/erp5_simulation/PortalTypeTemplateItem/portal_solvers/Quantity%20Split%20Solver.xml
erp5/trunk/bt5/erp5_simulation/SkinTemplateItem/portal_skins/erp5_simulation/QuantitySplitSolver_viewConfigurationFormBox.xml
erp5/trunk/bt5/erp5_simulation/bt/revision
Modified: erp5/trunk/bt5/erp5_simulation/PathTemplateItem/portal_rules/new_delivery_simulation_rule/quantity_tester.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_simulation/PathTemplateItem/portal_rules/new_delivery_simulation_rule/quantity_tester.xml?rev=36932&r1=36931&r2=36932&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_simulation/PathTemplateItem/portal_rules/new_delivery_simulation_rule/quantity_tester.xml [utf8] (original)
+++ erp5/trunk/bt5/erp5_simulation/PathTemplateItem/portal_rules/new_delivery_simulation_rule/quantity_tester.xml [utf8] Wed Jul 7 11:34:43 2010
@@ -49,6 +49,14 @@
</value>
</item>
<item>
+ <key> <string>categories</string> </key>
+ <value>
+ <tuple>
+ <string>solver/portal_solvers/Quantity Split Solver</string>
+ </tuple>
+ </value>
+ </item>
+ <item>
<key> <string>id</string> </key>
<value> <string>quantity_tester</string> </value>
</item>
Modified: erp5/trunk/bt5/erp5_simulation/PortalTypeTemplateItem/portal_solvers/Quantity%20Split%20Solver.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_simulation/PortalTypeTemplateItem/portal_solvers/Quantity%2520Split%2520Solver.xml?rev=36932&r1=36931&r2=36932&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_simulation/PortalTypeTemplateItem/portal_solvers/Quantity%20Split%20Solver.xml [utf8] (original)
+++ erp5/trunk/bt5/erp5_simulation/PortalTypeTemplateItem/portal_solvers/Quantity%20Split%20Solver.xml [utf8] Wed Jul 7 11:34:43 2010
@@ -14,9 +14,17 @@
<value> <int>1</int> </value>
</item>
<item>
+ <key> <string>automatic_solver</string> </key>
+ <value> <int>0</int> </value>
+ </item>
+ <item>
<key> <string>categories</string> </key>
<value>
- <tuple/>
+ <tuple>
+ <string>delivery_solver/portal_solvers/FIFO Delivery Solver</string>
+ <string>delivery_solver/portal_solvers/LIFO Delivery Solver</string>
+ <string>delivery_solver/portal_solvers/Minimise Price Delivery Solver</string>
+ </tuple>
</value>
</item>
<item>
@@ -24,18 +32,13 @@
<value> <string>QuantitySplitSolver_viewConfigurationFormBox</string> </value>
</item>
<item>
- <key> <string>configuration_property_list</string> </key>
- <value>
- <tuple/>
- </value>
+ <key> <string>configuration_groupable</string> </key>
+ <value> <int>0</int> </value>
</item>
<item>
- <key> <string>delivery_solver</string> </key>
+ <key> <string>configuration_property_list</string> </key>
<value>
- <tuple>
- <string>FIFO</string>
- <string>LIFO</string>
- </tuple>
+ <tuple/>
</value>
</item>
<item>
@@ -83,6 +86,10 @@
<value> <string>Solver Type</string> </value>
</item>
<item>
+ <key> <string>process_exclusive</string> </key>
+ <value> <int>0</int> </value>
+ </item>
+ <item>
<key> <string>solver_action_title</string> </key>
<value> <string>Split and Differ</string> </value>
</item>
Modified: erp5/trunk/bt5/erp5_simulation/SkinTemplateItem/portal_skins/erp5_simulation/QuantitySplitSolver_viewConfigurationFormBox.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_simulation/SkinTemplateItem/portal_skins/erp5_simulation/QuantitySplitSolver_viewConfigurationFormBox.xml?rev=36932&r1=36931&r2=36932&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_simulation/SkinTemplateItem/portal_skins/erp5_simulation/QuantitySplitSolver_viewConfigurationFormBox.xml [utf8] (original)
+++ erp5/trunk/bt5/erp5_simulation/SkinTemplateItem/portal_skins/erp5_simulation/QuantitySplitSolver_viewConfigurationFormBox.xml [utf8] Wed Jul 7 11:34:43 2010
@@ -98,6 +98,7 @@
<list>
<string>my_start_date</string>
<string>my_stop_date</string>
+ <string>my_delivery_solver</string>
</list>
</value>
</item>
Added: erp5/trunk/bt5/erp5_simulation/SkinTemplateItem/portal_skins/erp5_simulation/QuantitySplitSolver_viewConfigurationFormBox/my_delivery_solver.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_simulation/SkinTemplateItem/portal_skins/erp5_simulation/QuantitySplitSolver_viewConfigurationFormBox/my_delivery_solver.xml?rev=36932&view=auto
==============================================================================
--- erp5/trunk/bt5/erp5_simulation/SkinTemplateItem/portal_skins/erp5_simulation/QuantitySplitSolver_viewConfigurationFormBox/my_delivery_solver.xml (added)
+++ erp5/trunk/bt5/erp5_simulation/SkinTemplateItem/portal_skins/erp5_simulation/QuantitySplitSolver_viewConfigurationFormBox/my_delivery_solver.xml [utf8] Wed Jul 7 11:34:43 2010
@@ -0,0 +1,163 @@
+<?xml version="1.0"?>
+<ZopeData>
+ <record id="1" aka="AAAAAAAAAAE=">
+ <pickle>
+ <tuple>
+ <global name="ProxyField" module="Products.ERP5Form.ProxyField"/>
+ <tuple/>
+ </tuple>
+ </pickle>
+ <pickle>
+ <dictionary>
+ <item>
+ <key> <string>delegated_list</string> </key>
+ <value>
+ <list>
+ <string>items</string>
+ <string>required</string>
+ <string>title</string>
+ </list>
+ </value>
+ </item>
+ <item>
+ <key> <string>id</string> </key>
+ <value> <string>my_delivery_solver</string> </value>
+ </item>
+ <item>
+ <key> <string>message_values</string> </key>
+ <value>
+ <dictionary>
+ <item>
+ <key> <string>external_validator_failed</string> </key>
+ <value> <string>The input failed the external validator.</string> </value>
+ </item>
+ </dictionary>
+ </value>
+ </item>
+ <item>
+ <key> <string>overrides</string> </key>
+ <value>
+ <dictionary>
+ <item>
+ <key> <string>field_id</string> </key>
+ <value> <string></string> </value>
+ </item>
+ <item>
+ <key> <string>form_id</string> </key>
+ <value> <string></string> </value>
+ </item>
+ <item>
+ <key> <string>target</string> </key>
+ <value> <string></string> </value>
+ </item>
+ </dictionary>
+ </value>
+ </item>
+ <item>
+ <key> <string>tales</string> </key>
+ <value>
+ <dictionary>
+ <item>
+ <key> <string>field_id</string> </key>
+ <value> <string></string> </value>
+ </item>
+ <item>
+ <key> <string>form_id</string> </key>
+ <value> <string></string> </value>
+ </item>
+ <item>
+ <key> <string>items</string> </key>
+ <value>
+ <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
+ </value>
+ </item>
+ <item>
+ <key> <string>required</string> </key>
+ <value>
+ <persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent>
+ </value>
+ </item>
+ <item>
+ <key> <string>target</string> </key>
+ <value> <string></string> </value>
+ </item>
+ <item>
+ <key> <string>title</string> </key>
+ <value> <string></string> </value>
+ </item>
+ </dictionary>
+ </value>
+ </item>
+ <item>
+ <key> <string>values</string> </key>
+ <value>
+ <dictionary>
+ <item>
+ <key> <string>field_id</string> </key>
+ <value> <string>my_radio_field</string> </value>
+ </item>
+ <item>
+ <key> <string>form_id</string> </key>
+ <value> <string>Base_viewFieldLibrary</string> </value>
+ </item>
+ <item>
+ <key> <string>items</string> </key>
+ <value>
+ <list/>
+ </value>
+ </item>
+ <item>
+ <key> <string>required</string> </key>
+ <value> <int>1</int> </value>
+ </item>
+ <item>
+ <key> <string>size</string> </key>
+ <value> <int>3</int> </value>
+ </item>
+ <item>
+ <key> <string>target</string> </key>
+ <value> <string>Click to edit the target</string> </value>
+ </item>
+ <item>
+ <key> <string>title</string> </key>
+ <value> <string>Priority</string> </value>
+ </item>
+ </dictionary>
+ </value>
+ </item>
+ </dictionary>
+ </pickle>
+ </record>
+ <record id="2" aka="AAAAAAAAAAI=">
+ <pickle>
+ <tuple>
+ <global name="TALESMethod" module="Products.Formulator.TALESField"/>
+ <tuple/>
+ </tuple>
+ </pickle>
+ <pickle>
+ <dictionary>
+ <item>
+ <key> <string>_text</string> </key>
+ <value> <string>python:[(here.Base_translateString(x.getSolverActionTitle()), x.getId()) for x in cell.searchDeliverySolverList()]</string> </value>
+ </item>
+ </dictionary>
+ </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:request.has_key(\'Base_callDialogMethod\')</string> </value>
+ </item>
+ </dictionary>
+ </pickle>
+ </record>
+</ZopeData>
Modified: erp5/trunk/bt5/erp5_simulation/bt/revision
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_simulation/bt/revision?rev=36932&r1=36931&r2=36932&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_simulation/bt/revision [utf8] (original)
+++ erp5/trunk/bt5/erp5_simulation/bt/revision [utf8] Wed Jul 7 11:34:43 2010
@@ -1 +1 @@
-129
\ No newline at end of file
+130
\ No newline at end of file
More information about the Erp5-report
mailing list