From 0abc6282e2a928cd6d284195d13b84e86a23b954 Mon Sep 17 00:00:00 2001 From: Rafael Monnerat <rafael@nexedi.com> Date: Tue, 3 Jun 2008 15:59:18 +0000 Subject: [PATCH] Item creation was moved into erp5_item. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@21294 20353a03-c40f-0410-a6d1-a30d3c3de9de --- .../Purchase%20Order%20Line/item_creation.xml | 101 ------------------ .../item_creation.xml | 101 ------------------ .../Sale%20Order%20Line/item_creation.xml | 101 ------------------ .../item_creation.xml | 101 ------------------ bt5/erp5_trade/bt/revision | 2 +- bt5/erp5_trade/bt/template_action_path_list | 4 - 6 files changed, 1 insertion(+), 409 deletions(-) delete mode 100644 bt5/erp5_trade/ActionTemplateItem/portal_types/Purchase%20Order%20Line/item_creation.xml delete mode 100644 bt5/erp5_trade/ActionTemplateItem/portal_types/Purchase%20Packing%20List%20Line/item_creation.xml delete mode 100644 bt5/erp5_trade/ActionTemplateItem/portal_types/Sale%20Order%20Line/item_creation.xml delete mode 100644 bt5/erp5_trade/ActionTemplateItem/portal_types/Sale%20Packing%20List%20Line/item_creation.xml diff --git a/bt5/erp5_trade/ActionTemplateItem/portal_types/Purchase%20Order%20Line/item_creation.xml b/bt5/erp5_trade/ActionTemplateItem/portal_types/Purchase%20Order%20Line/item_creation.xml deleted file mode 100644 index e8cdf3bf37..0000000000 --- a/bt5/erp5_trade/ActionTemplateItem/portal_types/Purchase%20Order%20Line/item_creation.xml +++ /dev/null @@ -1,101 +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>__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>item_creation</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>4.0</float> </value> - </item> - <item> - <key> <string>title</string> </key> - <value> <string>Create Items</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}/DeliveryLine_viewItemCreationDialog</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>python: object.getResource() and object.getResourceValue().getAggregatedPortalTypeList()</string> </value> - </item> - </dictionary> - </pickle> - </record> -</ZopeData> diff --git a/bt5/erp5_trade/ActionTemplateItem/portal_types/Purchase%20Packing%20List%20Line/item_creation.xml b/bt5/erp5_trade/ActionTemplateItem/portal_types/Purchase%20Packing%20List%20Line/item_creation.xml deleted file mode 100644 index e8cdf3bf37..0000000000 --- a/bt5/erp5_trade/ActionTemplateItem/portal_types/Purchase%20Packing%20List%20Line/item_creation.xml +++ /dev/null @@ -1,101 +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>__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>item_creation</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>4.0</float> </value> - </item> - <item> - <key> <string>title</string> </key> - <value> <string>Create Items</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}/DeliveryLine_viewItemCreationDialog</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>python: object.getResource() and object.getResourceValue().getAggregatedPortalTypeList()</string> </value> - </item> - </dictionary> - </pickle> - </record> -</ZopeData> diff --git a/bt5/erp5_trade/ActionTemplateItem/portal_types/Sale%20Order%20Line/item_creation.xml b/bt5/erp5_trade/ActionTemplateItem/portal_types/Sale%20Order%20Line/item_creation.xml deleted file mode 100644 index e8cdf3bf37..0000000000 --- a/bt5/erp5_trade/ActionTemplateItem/portal_types/Sale%20Order%20Line/item_creation.xml +++ /dev/null @@ -1,101 +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>__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>item_creation</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>4.0</float> </value> - </item> - <item> - <key> <string>title</string> </key> - <value> <string>Create Items</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}/DeliveryLine_viewItemCreationDialog</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>python: object.getResource() and object.getResourceValue().getAggregatedPortalTypeList()</string> </value> - </item> - </dictionary> - </pickle> - </record> -</ZopeData> diff --git a/bt5/erp5_trade/ActionTemplateItem/portal_types/Sale%20Packing%20List%20Line/item_creation.xml b/bt5/erp5_trade/ActionTemplateItem/portal_types/Sale%20Packing%20List%20Line/item_creation.xml deleted file mode 100644 index e8cdf3bf37..0000000000 --- a/bt5/erp5_trade/ActionTemplateItem/portal_types/Sale%20Packing%20List%20Line/item_creation.xml +++ /dev/null @@ -1,101 +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>__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>item_creation</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>4.0</float> </value> - </item> - <item> - <key> <string>title</string> </key> - <value> <string>Create Items</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}/DeliveryLine_viewItemCreationDialog</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>python: object.getResource() and object.getResourceValue().getAggregatedPortalTypeList()</string> </value> - </item> - </dictionary> - </pickle> - </record> -</ZopeData> diff --git a/bt5/erp5_trade/bt/revision b/bt5/erp5_trade/bt/revision index 8c19d14d40..1c3e15e55e 100644 --- a/bt5/erp5_trade/bt/revision +++ b/bt5/erp5_trade/bt/revision @@ -1 +1 @@ -369 \ No newline at end of file +371 \ No newline at end of file diff --git a/bt5/erp5_trade/bt/template_action_path_list b/bt5/erp5_trade/bt/template_action_path_list index 1634ef8069..013b909a25 100644 --- a/bt5/erp5_trade/bt/template_action_path_list +++ b/bt5/erp5_trade/bt/template_action_path_list @@ -34,7 +34,6 @@ Person | jump_to_purchase_packing_list Person | jump_to_sale_order Person | jump_to_sale_packing_list Purchase Order Cell | view -Purchase Order Line | item_creation Purchase Order Line | price_view Purchase Order Line | quantity_view Purchase Order Line | view @@ -51,7 +50,6 @@ Purchase Order | view_tax Purchase Packing List Cell | apparel_fabric_item_fast_input Purchase Packing List Cell | view Purchase Packing List Line | apparel_fabric_item_fast_input -Purchase Packing List Line | item_creation Purchase Packing List Line | quantity_view Purchase Packing List Line | view Purchase Packing List Line | view_price @@ -79,7 +77,6 @@ Returned Sale Packing List | choose_solve_actions Returned Sale Packing List | jump_related_sale_invoice Returned Sale Packing List | view Sale Order Cell | view -Sale Order Line | item_creation Sale Order Line | price_view Sale Order Line | quantity_view Sale Order Line | view @@ -98,7 +95,6 @@ Sale Order | view_discount Sale Order | view_stock Sale Order | view_tax Sale Packing List Cell | view -Sale Packing List Line | item_creation Sale Packing List Line | price_view Sale Packing List Line | quantity_view Sale Packing List Line | view -- 2.30.9