Commit b2bc477b authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

* add a field to select a delivery solver in QuantitySplitSolver_viewConfigurationFormBox.

* configure a sample tester and a sample solver.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@36932 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 05d00bb2
......@@ -48,6 +48,14 @@
<persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent>
</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>
......
......@@ -13,10 +13,18 @@
<key> <string>acquire_local_roles</string> </key>
<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>
......@@ -82,6 +85,10 @@
<key> <string>portal_type</string> </key>
<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>
......
......@@ -98,6 +98,7 @@
<list>
<string>my_start_date</string>
<string>my_stop_date</string>
<string>my_delivery_solver</string>
</list>
</value>
</item>
......
<?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>
129
\ No newline at end of file
130
\ No newline at end of file
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