[Erp5-report] r23661 - in /erp5/trunk/bt5/erp5_mrp: ActionTemplateItem/portal_types/Product...
nobody at svn.erp5.org
nobody at svn.erp5.org
Tue Sep 16 22:11:10 CEST 2008
Author: kazuhiko
Date: Tue Sep 16 22:11:10 2008
New Revision: 23661
URL: http://svn.erp5.org?rev=23661&view=rev
Log:
forgot to remove these.
Removed:
erp5/trunk/bt5/erp5_mrp/ActionTemplateItem/portal_types/Production%20Packing%20List/choose_solve_actions.xml
erp5/trunk/bt5/erp5_mrp/ActionTemplateItem/portal_types/Production%20Report/choose_solve_actions.xml
erp5/trunk/bt5/erp5_mrp/SkinTemplateItem/portal_skins/erp5_mrp/ProductionPackingList_doSolveActions.xml
erp5/trunk/bt5/erp5_mrp/SkinTemplateItem/portal_skins/erp5_mrp/ProductionPackingList_viewSolveActionsDialog/
erp5/trunk/bt5/erp5_mrp/SkinTemplateItem/portal_skins/erp5_mrp/ProductionPackingList_viewSolveActionsDialog.xml
Removed: erp5/trunk/bt5/erp5_mrp/ActionTemplateItem/portal_types/Production%20Packing%20List/choose_solve_actions.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_mrp/ActionTemplateItem/portal_types/Production%2520Packing%2520List/choose_solve_actions.xml?rev=23660&view=auto
==============================================================================
--- erp5/trunk/bt5/erp5_mrp/ActionTemplateItem/portal_types/Production%20Packing%20List/choose_solve_actions.xml (original)
+++ erp5/trunk/bt5/erp5_mrp/ActionTemplateItem/portal_types/Production%20Packing%20List/choose_solve_actions.xml (removed)
@@ -1,101 +1,0 @@
-<?xml version="1.0"?>
-<ZopeData>
- <record id="1" aka="AAAAAAAAAAE=">
- <pickle>
- <tuple>
- <global name="ActionInformation" module="Products.CMFCore.ActionInformation"/>
- <tuple/>
- </tuple>
- </pickle>
- <pickle>
- <dictionary>
- <item>
- <key> <string>__ac_local_roles__</string> </key>
- <value>
- <none/>
- </value>
- </item>
- <item>
- <key> <string>action</string> </key>
- <value>
- <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
- </value>
- </item>
- <item>
- <key> <string>category</string> </key>
- <value> <string>object_action</string> </value>
- </item>
- <item>
- <key> <string>condition</string> </key>
- <value>
- <persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent>
- </value>
- </item>
- <item>
- <key> <string>description</string> </key>
- <value> <string></string> </value>
- </item>
- <item>
- <key> <string>icon</string> </key>
- <value> <string></string> </value>
- </item>
- <item>
- <key> <string>id</string> </key>
- <value> <string>choose_solve_actions</string> </value>
- </item>
- <item>
- <key> <string>permissions</string> </key>
- <value>
- <tuple>
- <string>Modify portal content</string>
- </tuple>
- </value>
- </item>
- <item>
- <key> <string>priority</string> </key>
- <value> <float>1.0</float> </value>
- </item>
- <item>
- <key> <string>title</string> </key>
- <value> <string>Choose Solve Actions</string> </value>
- </item>
- <item>
- <key> <string>visible</string> </key>
- <value> <int>1</int> </value>
- </item>
- </dictionary>
- </pickle>
- </record>
- <record id="2" aka="AAAAAAAAAAI=">
- <pickle>
- <tuple>
- <global name="Expression" module="Products.CMFCore.Expression"/>
- <tuple/>
- </tuple>
- </pickle>
- <pickle>
- <dictionary>
- <item>
- <key> <string>text</string> </key>
- <value> <string>string:${object_url}/ProductionPackingList_viewSolveActionsDialog</string> </value>
- </item>
- </dictionary>
- </pickle>
- </record>
- <record id="3" aka="AAAAAAAAAAM=">
- <pickle>
- <tuple>
- <global name="Expression" module="Products.CMFCore.Expression"/>
- <tuple/>
- </tuple>
- </pickle>
- <pickle>
- <dictionary>
- <item>
- <key> <string>text</string> </key>
- <value> <string>object/isDivergent</string> </value>
- </item>
- </dictionary>
- </pickle>
- </record>
-</ZopeData>
Removed: erp5/trunk/bt5/erp5_mrp/ActionTemplateItem/portal_types/Production%20Report/choose_solve_actions.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_mrp/ActionTemplateItem/portal_types/Production%2520Report/choose_solve_actions.xml?rev=23660&view=auto
==============================================================================
--- erp5/trunk/bt5/erp5_mrp/ActionTemplateItem/portal_types/Production%20Report/choose_solve_actions.xml (original)
+++ erp5/trunk/bt5/erp5_mrp/ActionTemplateItem/portal_types/Production%20Report/choose_solve_actions.xml (removed)
@@ -1,101 +1,0 @@
-<?xml version="1.0"?>
-<ZopeData>
- <record id="1" aka="AAAAAAAAAAE=">
- <pickle>
- <tuple>
- <global name="ActionInformation" module="Products.CMFCore.ActionInformation"/>
- <tuple/>
- </tuple>
- </pickle>
- <pickle>
- <dictionary>
- <item>
- <key> <string>__ac_local_roles__</string> </key>
- <value>
- <none/>
- </value>
- </item>
- <item>
- <key> <string>action</string> </key>
- <value>
- <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
- </value>
- </item>
- <item>
- <key> <string>category</string> </key>
- <value> <string>object_action</string> </value>
- </item>
- <item>
- <key> <string>condition</string> </key>
- <value>
- <persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent>
- </value>
- </item>
- <item>
- <key> <string>description</string> </key>
- <value> <string></string> </value>
- </item>
- <item>
- <key> <string>icon</string> </key>
- <value> <string></string> </value>
- </item>
- <item>
- <key> <string>id</string> </key>
- <value> <string>choose_solve_actions</string> </value>
- </item>
- <item>
- <key> <string>permissions</string> </key>
- <value>
- <tuple>
- <string>Modify portal content</string>
- </tuple>
- </value>
- </item>
- <item>
- <key> <string>priority</string> </key>
- <value> <float>1.0</float> </value>
- </item>
- <item>
- <key> <string>title</string> </key>
- <value> <string>Choose Solve Actions</string> </value>
- </item>
- <item>
- <key> <string>visible</string> </key>
- <value> <int>1</int> </value>
- </item>
- </dictionary>
- </pickle>
- </record>
- <record id="2" aka="AAAAAAAAAAI=">
- <pickle>
- <tuple>
- <global name="Expression" module="Products.CMFCore.Expression"/>
- <tuple/>
- </tuple>
- </pickle>
- <pickle>
- <dictionary>
- <item>
- <key> <string>text</string> </key>
- <value> <string>string:${object_url}/ProductionPackingList_viewSolveActionsDialog</string> </value>
- </item>
- </dictionary>
- </pickle>
- </record>
- <record id="3" aka="AAAAAAAAAAM=">
- <pickle>
- <tuple>
- <global name="Expression" module="Products.CMFCore.Expression"/>
- <tuple/>
- </tuple>
- </pickle>
- <pickle>
- <dictionary>
- <item>
- <key> <string>text</string> </key>
- <value> <string>object/isDivergent</string> </value>
- </item>
- </dictionary>
- </pickle>
- </record>
-</ZopeData>
Removed: erp5/trunk/bt5/erp5_mrp/SkinTemplateItem/portal_skins/erp5_mrp/ProductionPackingList_doSolveActions.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_mrp/SkinTemplateItem/portal_skins/erp5_mrp/ProductionPackingList_doSolveActions.xml?rev=23660&view=auto
==============================================================================
--- erp5/trunk/bt5/erp5_mrp/SkinTemplateItem/portal_skins/erp5_mrp/ProductionPackingList_doSolveActions.xml (original)
+++ erp5/trunk/bt5/erp5_mrp/SkinTemplateItem/portal_skins/erp5_mrp/ProductionPackingList_doSolveActions.xml (removed)
@@ -1,244 +1,0 @@
-<?xml version="1.0"?>
-<ZopeData>
- <record id="1" aka="AAAAAAAAAAE=">
- <pickle>
- <tuple>
- <global name="PythonScript" module="Products.PythonScripts.PythonScript"/>
- <tuple/>
- </tuple>
- </pickle>
- <pickle>
- <dictionary>
- <item>
- <key> <string>Python_magic</string> </key>
- <value>
- <none/>
- </value>
- </item>
- <item>
- <key> <string>Script_magic</string> </key>
- <value> <int>3</int> </value>
- </item>
- <item>
- <key> <string>__ac_local_roles__</string> </key>
- <value>
- <none/>
- </value>
- </item>
- <item>
- <key> <string>_bind_names</string> </key>
- <value>
- <object>
- <klass>
- <global name="NameAssignments" module="Shared.DC.Scripts.Bindings"/>
- </klass>
- <tuple/>
- <state>
- <dictionary>
- <item>
- <key> <string>_asgns</string> </key>
- <value>
- <dictionary>
- <item>
- <key> <string>name_container</string> </key>
- <value> <string>container</string> </value>
- </item>
- <item>
- <key> <string>name_context</string> </key>
- <value> <string>context</string> </value>
- </item>
- <item>
- <key> <string>name_m_self</string> </key>
- <value> <string>script</string> </value>
- </item>
- <item>
- <key> <string>name_subpath</string> </key>
- <value> <string>traverse_subpath</string> </value>
- </item>
- </dictionary>
- </value>
- </item>
- </dictionary>
- </state>
- </object>
- </value>
- </item>
- <item>
- <key> <string>_body</string> </key>
- <value> <string>from Products.ERP5Type.Log import log\n
-request = context.REQUEST\n
-\n
-listbox = request.get(\'listbox\')\n
-start_date = context.getStartDate()\n
-stop_date = context.getStopDate()\n
-tag = context.getPath() + \'_split\'\n
-\n
-portal = context.getPortalObject()\n
-packing_list_portal_type = context.getPortalType()\n
-\n
-simulation_tool = portal.portal_simulation\n
-\n
-split_and_defer = 0\n
-\n
-packing_list_portal_type_delivery_builder_mapping = {\n
- \'Production Packing List\' : \'production_packing_list_builder\',\n
- \'Production Report\' : \'production_report_builder\',\n
-}\n
-order = context.getCausalityValue()\n
-applied_rule = order.getCausalityRelatedValue(portal_type="Applied Rule")\n
-\n
-builder_id = packing_list_portal_type_delivery_builder_mapping.get(\n
- packing_list_portal_type, None)\n
-if builder_id is not None:\n
- delivery_builder = getattr(portal.portal_deliveries,builder_id,None)\n
- if delivery_builder is None:\n
- log(\'ProductionPackingList_doSolveActions\',\'Builder %s not found\'%(builder_id,),200)\n
-\n
-else:\n
- log(\'ProductionPackingList_doSolveActions\',\'Portal type %s has no builder\'%(packing_list_portal_type,),200)\n
-\n
-if listbox is not None:\n
- context.updateAppliedRule()\n
- for line_key in listbox:\n
- line = listbox[line_key]\n
- url = line[\'listbox_key\']\n
- quantity = line[\'quantity\']\n
- movement = context.restrictedTraverse(url)\n
- choice = line[\'choice\'] \n
- if choice == \'SplitAndDefer\':\n
- movement.setProperty(\'quantity\', quantity, type=\'float\')\n
- split_and_defer = 1\n
- simulation_tool.solveMovement(movement, None, "SplitAndDefer", start_date=start_date, stop_date=stop_date, activate_kw={\'tag\':tag})\n
- elif choice == \'CopyToTarget\':\n
- movement.setProperty(\'quantity\', quantity, type=\'float\')\n
- simulation_tool.solveMovement(movement, None,"CopyToTarget")\n
- elif choice == \'AdoptPrevision\':\n
- prevision_quantity = sum([x.getQuantity() for x in movement.getDeliveryRelatedValueList()])\n
- movement.setProperty(\'quantity\', prevision_quantity, type=\'float\')\n
-\n
- context.activate().updateCausalityState()\n
-\n
- if split_and_defer:\n
- # Create delivery\n
- if delivery_builder is not None:\n
- explanation_uid_list = [order.getUid(),context.getUid()]\n
- delivery_builder.activate(activity=\'SQLQueue\',after_tag=tag).build(explanation_uid=explanation_uid_list)\n
-\n
-message = context.Base_translateString(\'%s updated.\'%(packing_list_portal_type,))\n
-return context.Base_redirect(form_id, keep_items = {\'portal_status_message\' : message} )\n
-</string> </value>
- </item>
- <item>
- <key> <string>_code</string> </key>
- <value>
- <none/>
- </value>
- </item>
- <item>
- <key> <string>_filepath</string> </key>
- <value>
- <none/>
- </value>
- </item>
- <item>
- <key> <string>_owner</string> </key>
- <value>
- <none/>
- </value>
- </item>
- <item>
- <key> <string>_params</string> </key>
- <value> <string>form_id, dialog_id=\'\', **kw</string> </value>
- </item>
- <item>
- <key> <string>errors</string> </key>
- <value>
- <tuple/>
- </value>
- </item>
- <item>
- <key> <string>func_code</string> </key>
- <value>
- <object>
- <klass>
- <global name="FuncCode" module="Shared.DC.Scripts.Signature"/>
- </klass>
- <tuple/>
- <state>
- <dictionary>
- <item>
- <key> <string>co_argcount</string> </key>
- <value> <int>2</int> </value>
- </item>
- <item>
- <key> <string>co_varnames</string> </key>
- <value>
- <tuple>
- <string>form_id</string>
- <string>dialog_id</string>
- <string>kw</string>
- <string>Products.ERP5Type.Log</string>
- <string>log</string>
- <string>_getattr_</string>
- <string>context</string>
- <string>request</string>
- <string>listbox</string>
- <string>start_date</string>
- <string>stop_date</string>
- <string>tag</string>
- <string>portal</string>
- <string>packing_list_portal_type</string>
- <string>simulation_tool</string>
- <string>split_and_defer</string>
- <string>packing_list_portal_type_delivery_builder_mapping</string>
- <string>order</string>
- <string>applied_rule</string>
- <string>None</string>
- <string>builder_id</string>
- <string>getattr</string>
- <string>delivery_builder</string>
- <string>_getiter_</string>
- <string>line_key</string>
- <string>_getitem_</string>
- <string>line</string>
- <string>url</string>
- <string>quantity</string>
- <string>movement</string>
- <string>choice</string>
- <string>sum</string>
- <string>append</string>
- <string>$append0</string>
- <string>x</string>
- <string>prevision_quantity</string>
- <string>explanation_uid_list</string>
- <string>message</string>
- </tuple>
- </value>
- </item>
- </dictionary>
- </state>
- </object>
- </value>
- </item>
- <item>
- <key> <string>func_defaults</string> </key>
- <value>
- <tuple>
- <string></string>
- </tuple>
- </value>
- </item>
- <item>
- <key> <string>id</string> </key>
- <value> <string>ProductionPackingList_doSolveActions</string> </value>
- </item>
- <item>
- <key> <string>warnings</string> </key>
- <value>
- <tuple/>
- </value>
- </item>
- </dictionary>
- </pickle>
- </record>
-</ZopeData>
Removed: erp5/trunk/bt5/erp5_mrp/SkinTemplateItem/portal_skins/erp5_mrp/ProductionPackingList_viewSolveActionsDialog.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_mrp/SkinTemplateItem/portal_skins/erp5_mrp/ProductionPackingList_viewSolveActionsDialog.xml?rev=23660&view=auto
==============================================================================
--- erp5/trunk/bt5/erp5_mrp/SkinTemplateItem/portal_skins/erp5_mrp/ProductionPackingList_viewSolveActionsDialog.xml (original)
+++ erp5/trunk/bt5/erp5_mrp/SkinTemplateItem/portal_skins/erp5_mrp/ProductionPackingList_viewSolveActionsDialog.xml (removed)
@@ -1,170 +1,0 @@
-<?xml version="1.0"?>
-<ZopeData>
- <record id="1" aka="AAAAAAAAAAE=">
- <pickle>
- <tuple>
- <global name="ERP5Form" module="Products.ERP5Form.Form"/>
- <tuple/>
- </tuple>
- </pickle>
- <pickle>
- <dictionary>
- <item>
- <key> <string>__ac_local_roles__</string> </key>
- <value>
- <none/>
- </value>
- </item>
- <item>
- <key> <string>_bind_names</string> </key>
- <value>
- <object>
- <klass>
- <global name="NameAssignments" module="Shared.DC.Scripts.Bindings"/>
- </klass>
- <tuple/>
- <state>
- <dictionary>
- <item>
- <key> <string>_asgns</string> </key>
- <value>
- <dictionary/>
- </value>
- </item>
- </dictionary>
- </state>
- </object>
- </value>
- </item>
- <item>
- <key> <string>_objects</string> </key>
- <value>
- <tuple/>
- </value>
- </item>
- <item>
- <key> <string>_owner</string> </key>
- <value>
- <none/>
- </value>
- </item>
- <item>
- <key> <string>action</string> </key>
- <value> <string>ProductionPackingList_doSolveActions</string> </value>
- </item>
- <item>
- <key> <string>description</string> </key>
- <value> <string></string> </value>
- </item>
- <item>
- <key> <string>edit_order</string> </key>
- <value>
- <list/>
- </value>
- </item>
- <item>
- <key> <string>encoding</string> </key>
- <value> <string>UTF-8</string> </value>
- </item>
- <item>
- <key> <string>enctype</string> </key>
- <value> <string>multipart/form-data</string> </value>
- </item>
- <item>
- <key> <string>group_list</string> </key>
- <value>
- <list>
- <string>left</string>
- <string>right</string>
- <string>center</string>
- <string>bottom</string>
- <string>hidden</string>
- </list>
- </value>
- </item>
- <item>
- <key> <string>groups</string> </key>
- <value>
- <dictionary>
- <item>
- <key> <string>bottom</string> </key>
- <value>
- <list>
- <string>listbox</string>
- </list>
- </value>
- </item>
- <item>
- <key> <string>center</string> </key>
- <value>
- <list>
- <string>my_title</string>
- </list>
- </value>
- </item>
- <item>
- <key> <string>hidden</string> </key>
- <value>
- <list>
- <string>listbox_choice</string>
- <string>listbox_quantity</string>
- <string>listbox_prevision_quantity</string>
- <string>listbox_quantity_unit</string>
- </list>
- </value>
- </item>
- <item>
- <key> <string>left</string> </key>
- <value>
- <list/>
- </value>
- </item>
- <item>
- <key> <string>right</string> </key>
- <value>
- <list/>
- </value>
- </item>
- </dictionary>
- </value>
- </item>
- <item>
- <key> <string>id</string> </key>
- <value> <string>ProductionPackingList_viewSolveActionsDialog</string> </value>
- </item>
- <item>
- <key> <string>method</string> </key>
- <value> <string>POST</string> </value>
- </item>
- <item>
- <key> <string>name</string> </key>
- <value> <string>ProductionPackingList_viewSolveActionsDialog</string> </value>
- </item>
- <item>
- <key> <string>pt</string> </key>
- <value> <string>form_dialog</string> </value>
- </item>
- <item>
- <key> <string>row_length</string> </key>
- <value> <int>4</int> </value>
- </item>
- <item>
- <key> <string>stored_encoding</string> </key>
- <value> <string>UTF-8</string> </value>
- </item>
- <item>
- <key> <string>title</string> </key>
- <value> <string>Solve Actions</string> </value>
- </item>
- <item>
- <key> <string>unicode_mode</string> </key>
- <value> <int>0</int> </value>
- </item>
- <item>
- <key> <string>update_action</string> </key>
- <value> <string></string> </value>
- </item>
- </dictionary>
- </pickle>
- </record>
-</ZopeData>
More information about the Erp5-report
mailing list