[Erp5-report] r25614 - in /erp5/trunk/bt5/erp5_budget: ActionTemplateItem/portal_types/Sect...
nobody at svn.erp5.org
nobody at svn.erp5.org
Wed Feb 18 18:43:00 CET 2009
Author: jerome
Date: Wed Feb 18 18:42:59 2009
New Revision: 25614
URL: http://svn.erp5.org?rev=25614&view=rev
Log:
Simplify budget model variations, only 2 simple class are used:
- NodeBudgetVariation that explicitly lists the possible values one by one,
either by selecting them of specifying a script to return this list of
values
- CategoryBudgetVariation that uses a base category
for each one, you specify what will be the "axis" used for getInventory (node,
mirror_node, node_category etc)
"SectionCategoryBudgetVariation" is therefore useless, it's a
CategoryBudgetVariation where the axis is "section_category"
Budget Cell, Budget Line and now Budget itself can be variated
Removed:
erp5/trunk/bt5/erp5_budget/ActionTemplateItem/portal_types/Section%20Category%20Budget%20Variation/
erp5/trunk/bt5/erp5_budget/PathTemplateItem/portal_categories/budget_variation/cell.xml
erp5/trunk/bt5/erp5_budget/PathTemplateItem/portal_categories/budget_variation/line.xml
erp5/trunk/bt5/erp5_budget/PortalTypeTemplateItem/portal_types/Section%20Category%20Budget%20Variation.xml
erp5/trunk/bt5/erp5_budget/SkinTemplateItem/portal_skins/erp5_budget/SectionCategoryBudgetVariation_view/
erp5/trunk/bt5/erp5_budget/SkinTemplateItem/portal_skins/erp5_budget/SectionCategoryBudgetVariation_view.xml
Removed: erp5/trunk/bt5/erp5_budget/PathTemplateItem/portal_categories/budget_variation/cell.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_budget/PathTemplateItem/portal_categories/budget_variation/cell.xml?rev=25613&view=auto
==============================================================================
--- erp5/trunk/bt5/erp5_budget/PathTemplateItem/portal_categories/budget_variation/cell.xml [utf8] (original)
+++ erp5/trunk/bt5/erp5_budget/PathTemplateItem/portal_categories/budget_variation/cell.xml (removed)
@@ -1,41 +1,0 @@
-<?xml version="1.0"?>
-<ZopeData>
- <record id="1" aka="AAAAAAAAAAE=">
- <pickle>
- <tuple>
- <global name="Category" module="Products.ERP5Type.Document.Category"/>
- <tuple/>
- </tuple>
- </pickle>
- <pickle>
- <dictionary>
- <item>
- <key> <string>categories</string> </key>
- <value>
- <tuple>
- <string>budget_variation/cell</string>
- </tuple>
- </value>
- </item>
- <item>
- <key> <string>description</string> </key>
- <value>
- <none/>
- </value>
- </item>
- <item>
- <key> <string>id</string> </key>
- <value> <string>cell</string> </value>
- </item>
- <item>
- <key> <string>portal_type</string> </key>
- <value> <string>Category</string> </value>
- </item>
- <item>
- <key> <string>title</string> </key>
- <value> <string>Cell</string> </value>
- </item>
- </dictionary>
- </pickle>
- </record>
-</ZopeData>
Removed: erp5/trunk/bt5/erp5_budget/PathTemplateItem/portal_categories/budget_variation/line.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_budget/PathTemplateItem/portal_categories/budget_variation/line.xml?rev=25613&view=auto
==============================================================================
--- erp5/trunk/bt5/erp5_budget/PathTemplateItem/portal_categories/budget_variation/line.xml [utf8] (original)
+++ erp5/trunk/bt5/erp5_budget/PathTemplateItem/portal_categories/budget_variation/line.xml (removed)
@@ -1,41 +1,0 @@
-<?xml version="1.0"?>
-<ZopeData>
- <record id="1" aka="AAAAAAAAAAE=">
- <pickle>
- <tuple>
- <global name="Category" module="Products.ERP5Type.Document.Category"/>
- <tuple/>
- </tuple>
- </pickle>
- <pickle>
- <dictionary>
- <item>
- <key> <string>categories</string> </key>
- <value>
- <tuple>
- <string>budget_variation/line</string>
- </tuple>
- </value>
- </item>
- <item>
- <key> <string>description</string> </key>
- <value>
- <none/>
- </value>
- </item>
- <item>
- <key> <string>id</string> </key>
- <value> <string>line</string> </value>
- </item>
- <item>
- <key> <string>portal_type</string> </key>
- <value> <string>Category</string> </value>
- </item>
- <item>
- <key> <string>title</string> </key>
- <value> <string>Line</string> </value>
- </item>
- </dictionary>
- </pickle>
- </record>
-</ZopeData>
Removed: erp5/trunk/bt5/erp5_budget/PortalTypeTemplateItem/portal_types/Section%20Category%20Budget%20Variation.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_budget/PortalTypeTemplateItem/portal_types/Section%2520Category%2520Budget%2520Variation.xml?rev=25613&view=auto
==============================================================================
--- erp5/trunk/bt5/erp5_budget/PortalTypeTemplateItem/portal_types/Section%20Category%20Budget%20Variation.xml [utf8] (original)
+++ erp5/trunk/bt5/erp5_budget/PortalTypeTemplateItem/portal_types/Section%20Category%20Budget%20Variation.xml (removed)
@@ -1,105 +1,0 @@
-<?xml version="1.0"?>
-<ZopeData>
- <record id="1" aka="AAAAAAAAAAE=">
- <pickle>
- <tuple>
- <global name="ERP5TypeInformation" module="Products.ERP5Type.ERP5Type"/>
- <tuple/>
- </tuple>
- </pickle>
- <pickle>
- <dictionary>
- <item>
- <key> <string>_actions</string> </key>
- <value>
- <tuple/>
- </value>
- </item>
- <item>
- <key> <string>_aliases</string> </key>
- <value>
- <dictionary/>
- </value>
- </item>
- <item>
- <key> <string>_roles</string> </key>
- <value>
- <list/>
- </value>
- </item>
- <item>
- <key> <string>acquire_local_roles</string> </key>
- <value> <int>1</int> </value>
- </item>
- <item>
- <key> <string>allowed_content_types</string> </key>
- <value>
- <tuple/>
- </value>
- </item>
- <item>
- <key> <string>base_category_list</string> </key>
- <value>
- <tuple/>
- </value>
- </item>
- <item>
- <key> <string>content_icon</string> </key>
- <value> <string>document_icon.gif</string> </value>
- </item>
- <item>
- <key> <string>content_meta_type</string> </key>
- <value> <string>ERP5 Section Category Budget Variation</string> </value>
- </item>
- <item>
- <key> <string>description</string> </key>
- <value> <string> </string> </value>
- </item>
- <item>
- <key> <string>factory</string> </key>
- <value> <string>addSectionCategoryBudgetVariation</string> </value>
- </item>
- <item>
- <key> <string>filter_content_types</string> </key>
- <value> <int>1</int> </value>
- </item>
- <item>
- <key> <string>group_list</string> </key>
- <value>
- <tuple>
- <string>budget_variation</string>
- </tuple>
- </value>
- </item>
- <item>
- <key> <string>hidden_content_type_list</string> </key>
- <value>
- <tuple/>
- </value>
- </item>
- <item>
- <key> <string>id</string> </key>
- <value> <string>Section Category Budget Variation</string> </value>
- </item>
- <item>
- <key> <string>init_script</string> </key>
- <value> <string></string> </value>
- </item>
- <item>
- <key> <string>permission</string> </key>
- <value> <string></string> </value>
- </item>
- <item>
- <key> <string>property_sheet_list</string> </key>
- <value>
- <tuple/>
- </value>
- </item>
- <item>
- <key> <string>title</string> </key>
- <value> <string></string> </value>
- </item>
- </dictionary>
- </pickle>
- </record>
-</ZopeData>
Removed: erp5/trunk/bt5/erp5_budget/SkinTemplateItem/portal_skins/erp5_budget/SectionCategoryBudgetVariation_view.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_budget/SkinTemplateItem/portal_skins/erp5_budget/SectionCategoryBudgetVariation_view.xml?rev=25613&view=auto
==============================================================================
--- erp5/trunk/bt5/erp5_budget/SkinTemplateItem/portal_skins/erp5_budget/SectionCategoryBudgetVariation_view.xml [utf8] (original)
+++ erp5/trunk/bt5/erp5_budget/SkinTemplateItem/portal_skins/erp5_budget/SectionCategoryBudgetVariation_view.xml (removed)
@@ -1,155 +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>_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>action</string> </key>
- <value> <string>Base_edit</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/>
- </value>
- </item>
- <item>
- <key> <string>center</string> </key>
- <value>
- <list/>
- </value>
- </item>
- <item>
- <key> <string>hidden</string> </key>
- <value>
- <list/>
- </value>
- </item>
- <item>
- <key> <string>left</string> </key>
- <value>
- <list>
- <string>my_title</string>
- <string>my_int_index</string>
- <string>my_translated_portal_type</string>
- <string>my_budget_variation</string>
- <string>my_variation_base_category_list</string>
- </list>
- </value>
- </item>
- <item>
- <key> <string>right</string> </key>
- <value>
- <list/>
- </value>
- </item>
- </dictionary>
- </value>
- </item>
- <item>
- <key> <string>id</string> </key>
- <value> <string>SectionCategoryBudgetVariation_view</string> </value>
- </item>
- <item>
- <key> <string>method</string> </key>
- <value> <string>POST</string> </value>
- </item>
- <item>
- <key> <string>name</string> </key>
- <value> <string>SectionCategoryBudgetVariation_view</string> </value>
- </item>
- <item>
- <key> <string>pt</string> </key>
- <value> <string>form_view</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>Section Category Budget Variation</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