[Erp5-report] r36365 jerome - in /erp5/trunk/bt5/erp5_budget: ActionTemplateItem/portal_typ...
nobody at svn.erp5.org
nobody at svn.erp5.org
Tue Jun 15 18:18:33 CEST 2010
Author: jerome
Date: Tue Jun 15 18:18:32 2010
New Revision: 36365
URL: http://svn.erp5.org?rev=36365&view=rev
Log:
this action is not implemented with budget model
Removed:
erp5/trunk/bt5/erp5_budget/ActionTemplateItem/portal_types/Budget/generate_structure.xml
erp5/trunk/bt5/erp5_budget/SkinTemplateItem/portal_skins/erp5_budget/Budget_generateBudgetLineList.xml
Removed: erp5/trunk/bt5/erp5_budget/ActionTemplateItem/portal_types/Budget/generate_structure.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_budget/ActionTemplateItem/portal_types/Budget/generate_structure.xml?rev=36364&view=auto
==============================================================================
--- erp5/trunk/bt5/erp5_budget/ActionTemplateItem/portal_types/Budget/generate_structure.xml [utf8] (original)
+++ erp5/trunk/bt5/erp5_budget/ActionTemplateItem/portal_types/Budget/generate_structure.xml (removed)
@@ -1,85 +0,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>action</string> </key>
- <value>
- <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
- </value>
- </item>
- <item>
- <key> <string>categories</string> </key>
- <value>
- <tuple>
- <string>action_type/object_action</string>
- </tuple>
- </value>
- </item>
- <item>
- <key> <string>category</string> </key>
- <value> <string>object_action</string> </value>
- </item>
- <item>
- <key> <string>condition</string> </key>
- <value> <string></string> </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>generate_structure</string> </value>
- </item>
- <item>
- <key> <string>permissions</string> </key>
- <value>
- <tuple>
- <string>Add portal content</string>
- </tuple>
- </value>
- </item>
- <item>
- <key> <string>priority</string> </key>
- <value> <float>4.0</float> </value>
- </item>
- <item>
- <key> <string>title</string> </key>
- <value> <string>Generate Budget Line Structure</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}/Budget_generateBudgetLineList</string> </value>
- </item>
- </dictionary>
- </pickle>
- </record>
-</ZopeData>
Removed: erp5/trunk/bt5/erp5_budget/SkinTemplateItem/portal_skins/erp5_budget/Budget_generateBudgetLineList.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_budget/SkinTemplateItem/portal_skins/erp5_budget/Budget_generateBudgetLineList.xml?rev=36364&view=auto
==============================================================================
--- erp5/trunk/bt5/erp5_budget/SkinTemplateItem/portal_skins/erp5_budget/Budget_generateBudgetLineList.xml [utf8] (original)
+++ erp5/trunk/bt5/erp5_budget/SkinTemplateItem/portal_skins/erp5_budget/Budget_generateBudgetLineList.xml (removed)
@@ -1,152 +0,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>Script_magic</string> </key>
- <value> <int>3</int> </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.CMFCore.utils import getToolByName\n
-\n
-ctool = getToolByName(context, \'portal_categories\')\n
-_ = context.Base_translateString\n
-\n
-if context.isMemberOf(\n
- \'budget_line_variation/budget_variation/node_category_financial_section\'):\n
- for cat in ctool.financial_section.getCategoryChildValueList(include_if_child=0):\n
- context.newContent(portal_type=\'Budget Line\',\n
- title=cat.getTitle(),\n
- financial_section_value=cat)\n
-\n
-if context.isMemberOf(\n
- \'budget_line_variation/budget_variation/node_category_budget_section\'):\n
- for cat in ctool.budget_section.getCategoryChildValueList(include_if_child=0):\n
- context.newContent(portal_type=\'Budget Line\',\n
- title=cat.getTitle(),\n
- budget_section_value=cat)\n
-\n
-return context.Base_redirect(form_id,\n
- keep_items=dict(portal_status_message=_(\'Budget Lines generated\')))\n
-</string> </value>
- </item>
- <item>
- <key> <string>_code</string> </key>
- <value>
- <none/>
- </value>
- </item>
- <item>
- <key> <string>_params</string> </key>
- <value> <string>form_id=\'view\'</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>1</int> </value>
- </item>
- <item>
- <key> <string>co_varnames</string> </key>
- <value>
- <tuple>
- <string>form_id</string>
- <string>Products.CMFCore.utils</string>
- <string>getToolByName</string>
- <string>context</string>
- <string>ctool</string>
- <string>_getattr_</string>
- <string>_</string>
- <string>_getiter_</string>
- <string>cat</string>
- <string>dict</string>
- </tuple>
- </value>
- </item>
- </dictionary>
- </state>
- </object>
- </value>
- </item>
- <item>
- <key> <string>func_defaults</string> </key>
- <value>
- <tuple>
- <string>view</string>
- </tuple>
- </value>
- </item>
- <item>
- <key> <string>id</string> </key>
- <value> <string>Budget_generateBudgetLineList</string> </value>
- </item>
- <item>
- <key> <string>warnings</string> </key>
- <value>
- <tuple/>
- </value>
- </item>
- </dictionary>
- </pickle>
- </record>
-</ZopeData>
More information about the Erp5-report
mailing list