From ec7dd9cfb14328f179deb12c61dc913a7a66b995 Mon Sep 17 00:00:00 2001 From: Nicolas Delaby <nicolas@nexedi.com> Date: Mon, 6 Dec 2010 13:27:15 +0000 Subject: [PATCH] Add default views on Cells portal_types Add missing actions on Open Internal Order Line (copy/paste from Internal Order Line) git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@41166 20353a03-c40f-0410-a6d1-a30d3c3de9de --- .../Open%20Internal%20Order%20Cell/view.xml | 79 ++++++++++++++++ .../create_task.xml | 94 +++++++++++++++++++ .../item_creation.xml | 94 +++++++++++++++++++ .../price_view.xml | 94 +++++++++++++++++++ .../profile_view.xml | 81 ++++++++++++++++ .../project.xml | 79 ++++++++++++++++ .../quantity_view.xml | 94 +++++++++++++++++++ .../select_item_fast_input.xml | 79 ++++++++++++++++ .../Open%20Internal%20Order%20Line/view.xml | 79 ++++++++++++++++ .../view_trade_model.xml | 79 ++++++++++++++++ .../Open%20Purchase%20Order%20Cell/view.xml | 79 ++++++++++++++++ .../Open%20Sale%20Order%20Cell/view.xml | 79 ++++++++++++++++ bt5/erp5_open_trade/bt/revision | 2 +- .../bt/template_action_path_list | 12 +++ 14 files changed, 1023 insertions(+), 1 deletion(-) create mode 100644 bt5/erp5_open_trade/ActionTemplateItem/portal_types/Open%20Internal%20Order%20Cell/view.xml create mode 100644 bt5/erp5_open_trade/ActionTemplateItem/portal_types/Open%20Internal%20Order%20Line/create_task.xml create mode 100644 bt5/erp5_open_trade/ActionTemplateItem/portal_types/Open%20Internal%20Order%20Line/item_creation.xml create mode 100644 bt5/erp5_open_trade/ActionTemplateItem/portal_types/Open%20Internal%20Order%20Line/price_view.xml create mode 100644 bt5/erp5_open_trade/ActionTemplateItem/portal_types/Open%20Internal%20Order%20Line/profile_view.xml create mode 100644 bt5/erp5_open_trade/ActionTemplateItem/portal_types/Open%20Internal%20Order%20Line/project.xml create mode 100644 bt5/erp5_open_trade/ActionTemplateItem/portal_types/Open%20Internal%20Order%20Line/quantity_view.xml create mode 100644 bt5/erp5_open_trade/ActionTemplateItem/portal_types/Open%20Internal%20Order%20Line/select_item_fast_input.xml create mode 100644 bt5/erp5_open_trade/ActionTemplateItem/portal_types/Open%20Internal%20Order%20Line/view.xml create mode 100644 bt5/erp5_open_trade/ActionTemplateItem/portal_types/Open%20Internal%20Order%20Line/view_trade_model.xml create mode 100644 bt5/erp5_open_trade/ActionTemplateItem/portal_types/Open%20Purchase%20Order%20Cell/view.xml create mode 100644 bt5/erp5_open_trade/ActionTemplateItem/portal_types/Open%20Sale%20Order%20Cell/view.xml diff --git a/bt5/erp5_open_trade/ActionTemplateItem/portal_types/Open%20Internal%20Order%20Cell/view.xml b/bt5/erp5_open_trade/ActionTemplateItem/portal_types/Open%20Internal%20Order%20Cell/view.xml new file mode 100644 index 0000000000..6fae3ee199 --- /dev/null +++ b/bt5/erp5_open_trade/ActionTemplateItem/portal_types/Open%20Internal%20Order%20Cell/view.xml @@ -0,0 +1,79 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <global name="ActionInformation" module="Products.CMFCore.ActionInformation"/> + </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_view</string> + </tuple> + </value> + </item> + <item> + <key> <string>category</string> </key> + <value> <string>object_view</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>view</string> </value> + </item> + <item> + <key> <string>permissions</string> </key> + <value> + <tuple> + <string>View</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>View</string> </value> + </item> + <item> + <key> <string>visible</string> </key> + <value> <int>1</int> </value> + </item> + </dictionary> + </pickle> + </record> + <record id="2" aka="AAAAAAAAAAI="> + <pickle> + <global name="Expression" module="Products.CMFCore.Expression"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>text</string> </key> + <value> <string>string:${object_url}/DeliveryCell_view</string> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_open_trade/ActionTemplateItem/portal_types/Open%20Internal%20Order%20Line/create_task.xml b/bt5/erp5_open_trade/ActionTemplateItem/portal_types/Open%20Internal%20Order%20Line/create_task.xml new file mode 100644 index 0000000000..46da76f1e7 --- /dev/null +++ b/bt5/erp5_open_trade/ActionTemplateItem/portal_types/Open%20Internal%20Order%20Line/create_task.xml @@ -0,0 +1,94 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <global name="ActionInformation" module="Products.CMFCore.ActionInformation"/> + </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> + <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>create_task</string> </value> + </item> + <item> + <key> <string>permissions</string> </key> + <value> + <tuple> + <string>View</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>Create a Task</string> </value> + </item> + <item> + <key> <string>visible</string> </key> + <value> <int>1</int> </value> + </item> + </dictionary> + </pickle> + </record> + <record id="2" aka="AAAAAAAAAAI="> + <pickle> + <global name="Expression" module="Products.CMFCore.Expression"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>text</string> </key> + <value> <string>string:${object_url}/SaleOrderLine_viewCreateTaskDialog</string> </value> + </item> + </dictionary> + </pickle> + </record> + <record id="3" aka="AAAAAAAAAAM="> + <pickle> + <global name="Expression" module="Products.CMFCore.Expression"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>text</string> </key> + <value> <string>here/isMovement</string> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_open_trade/ActionTemplateItem/portal_types/Open%20Internal%20Order%20Line/item_creation.xml b/bt5/erp5_open_trade/ActionTemplateItem/portal_types/Open%20Internal%20Order%20Line/item_creation.xml new file mode 100644 index 0000000000..c032e7956f --- /dev/null +++ b/bt5/erp5_open_trade/ActionTemplateItem/portal_types/Open%20Internal%20Order%20Line/item_creation.xml @@ -0,0 +1,94 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <global name="ActionInformation" module="Products.CMFCore.ActionInformation"/> + </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_fast_input</string> + </tuple> + </value> + </item> + <item> + <key> <string>category</string> </key> + <value> <string>object_fast_input</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> + <global name="Expression" module="Products.CMFCore.Expression"/> + </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> + <global name="Expression" module="Products.CMFCore.Expression"/> + </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_open_trade/ActionTemplateItem/portal_types/Open%20Internal%20Order%20Line/price_view.xml b/bt5/erp5_open_trade/ActionTemplateItem/portal_types/Open%20Internal%20Order%20Line/price_view.xml new file mode 100644 index 0000000000..f5cf5c4f95 --- /dev/null +++ b/bt5/erp5_open_trade/ActionTemplateItem/portal_types/Open%20Internal%20Order%20Line/price_view.xml @@ -0,0 +1,94 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <global name="ActionInformation" module="Products.CMFCore.ActionInformation"/> + </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_view</string> + </tuple> + </value> + </item> + <item> + <key> <string>category</string> </key> + <value> <string>object_view</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>price_view</string> </value> + </item> + <item> + <key> <string>permissions</string> </key> + <value> + <tuple> + <string>View</string> + </tuple> + </value> + </item> + <item> + <key> <string>priority</string> </key> + <value> <float>3.0</float> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string>Price</string> </value> + </item> + <item> + <key> <string>visible</string> </key> + <value> <int>1</int> </value> + </item> + </dictionary> + </pickle> + </record> + <record id="2" aka="AAAAAAAAAAI="> + <pickle> + <global name="Expression" module="Products.CMFCore.Expression"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>text</string> </key> + <value> <string>string:${object_url}/DeliveryLine_viewPrice</string> </value> + </item> + </dictionary> + </pickle> + </record> + <record id="3" aka="AAAAAAAAAAM="> + <pickle> + <global name="Expression" module="Products.CMFCore.Expression"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>text</string> </key> + <value> <string>object/hasCellContent</string> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_open_trade/ActionTemplateItem/portal_types/Open%20Internal%20Order%20Line/profile_view.xml b/bt5/erp5_open_trade/ActionTemplateItem/portal_types/Open%20Internal%20Order%20Line/profile_view.xml new file mode 100644 index 0000000000..d2fd68a4ec --- /dev/null +++ b/bt5/erp5_open_trade/ActionTemplateItem/portal_types/Open%20Internal%20Order%20Line/profile_view.xml @@ -0,0 +1,81 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <global name="ActionInformation" module="Products.CMFCore.ActionInformation"/> + </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_view</string> + </tuple> + </value> + </item> + <item> + <key> <string>category</string> </key> + <value> <string>object_view</string> </value> + </item> + <item> + <key> <string>condition</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>description</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>icon</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>profile_view</string> </value> + </item> + <item> + <key> <string>permissions</string> </key> + <value> + <tuple> + <string>View</string> + </tuple> + </value> + </item> + <item> + <key> <string>priority</string> </key> + <value> <float>5.0</float> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string>Profile</string> </value> + </item> + <item> + <key> <string>visible</string> </key> + <value> <int>1</int> </value> + </item> + </dictionary> + </pickle> + </record> + <record id="2" aka="AAAAAAAAAAI="> + <pickle> + <global name="Expression" module="Products.CMFCore.Expression"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>text</string> </key> + <value> <string>string:${object_url}/SaleOrderLine_viewProfile</string> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_open_trade/ActionTemplateItem/portal_types/Open%20Internal%20Order%20Line/project.xml b/bt5/erp5_open_trade/ActionTemplateItem/portal_types/Open%20Internal%20Order%20Line/project.xml new file mode 100644 index 0000000000..0a8ffa3f2f --- /dev/null +++ b/bt5/erp5_open_trade/ActionTemplateItem/portal_types/Open%20Internal%20Order%20Line/project.xml @@ -0,0 +1,79 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <global name="ActionInformation" module="Products.CMFCore.ActionInformation"/> + </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_view</string> + </tuple> + </value> + </item> + <item> + <key> <string>category</string> </key> + <value> <string>object_view</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>project</string> </value> + </item> + <item> + <key> <string>permissions</string> </key> + <value> + <tuple> + <string>View</string> + </tuple> + </value> + </item> + <item> + <key> <string>priority</string> </key> + <value> <float>7.0</float> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string>Project</string> </value> + </item> + <item> + <key> <string>visible</string> </key> + <value> <int>0</int> </value> + </item> + </dictionary> + </pickle> + </record> + <record id="2" aka="AAAAAAAAAAI="> + <pickle> + <global name="Expression" module="Products.CMFCore.Expression"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>text</string> </key> + <value> <string>string:${object_url}/TradeLine_viewProject</string> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_open_trade/ActionTemplateItem/portal_types/Open%20Internal%20Order%20Line/quantity_view.xml b/bt5/erp5_open_trade/ActionTemplateItem/portal_types/Open%20Internal%20Order%20Line/quantity_view.xml new file mode 100644 index 0000000000..c92b1c1675 --- /dev/null +++ b/bt5/erp5_open_trade/ActionTemplateItem/portal_types/Open%20Internal%20Order%20Line/quantity_view.xml @@ -0,0 +1,94 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <global name="ActionInformation" module="Products.CMFCore.ActionInformation"/> + </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_view</string> + </tuple> + </value> + </item> + <item> + <key> <string>category</string> </key> + <value> <string>object_view</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>quantity_view</string> </value> + </item> + <item> + <key> <string>permissions</string> </key> + <value> + <tuple> + <string>View</string> + </tuple> + </value> + </item> + <item> + <key> <string>priority</string> </key> + <value> <float>2.0</float> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string>Quantity</string> </value> + </item> + <item> + <key> <string>visible</string> </key> + <value> <int>1</int> </value> + </item> + </dictionary> + </pickle> + </record> + <record id="2" aka="AAAAAAAAAAI="> + <pickle> + <global name="Expression" module="Products.CMFCore.Expression"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>text</string> </key> + <value> <string>string:${object_url}/DeliveryLine_viewQuantity</string> </value> + </item> + </dictionary> + </pickle> + </record> + <record id="3" aka="AAAAAAAAAAM="> + <pickle> + <global name="Expression" module="Products.CMFCore.Expression"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>text</string> </key> + <value> <string>object/hasCellContent</string> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_open_trade/ActionTemplateItem/portal_types/Open%20Internal%20Order%20Line/select_item_fast_input.xml b/bt5/erp5_open_trade/ActionTemplateItem/portal_types/Open%20Internal%20Order%20Line/select_item_fast_input.xml new file mode 100644 index 0000000000..fc209dd319 --- /dev/null +++ b/bt5/erp5_open_trade/ActionTemplateItem/portal_types/Open%20Internal%20Order%20Line/select_item_fast_input.xml @@ -0,0 +1,79 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <global name="ActionInformation" module="Products.CMFCore.ActionInformation"/> + </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_fast_input</string> + </tuple> + </value> + </item> + <item> + <key> <string>category</string> </key> + <value> <string>object_fast_input</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>select_item_fast_input</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>3.0</float> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string>Select 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> + <global name="Expression" module="Products.CMFCore.Expression"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>text</string> </key> + <value> <string>string:${object_url}/DeliveryLine_viewSelectItemListDialog?reset=1</string> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_open_trade/ActionTemplateItem/portal_types/Open%20Internal%20Order%20Line/view.xml b/bt5/erp5_open_trade/ActionTemplateItem/portal_types/Open%20Internal%20Order%20Line/view.xml new file mode 100644 index 0000000000..2544dfb712 --- /dev/null +++ b/bt5/erp5_open_trade/ActionTemplateItem/portal_types/Open%20Internal%20Order%20Line/view.xml @@ -0,0 +1,79 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <global name="ActionInformation" module="Products.CMFCore.ActionInformation"/> + </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_view</string> + </tuple> + </value> + </item> + <item> + <key> <string>category</string> </key> + <value> <string>object_view</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>view</string> </value> + </item> + <item> + <key> <string>permissions</string> </key> + <value> + <tuple> + <string>View</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>View</string> </value> + </item> + <item> + <key> <string>visible</string> </key> + <value> <int>1</int> </value> + </item> + </dictionary> + </pickle> + </record> + <record id="2" aka="AAAAAAAAAAI="> + <pickle> + <global name="Expression" module="Products.CMFCore.Expression"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>text</string> </key> + <value> <string>string:${object_url}/OrderLine_view</string> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_open_trade/ActionTemplateItem/portal_types/Open%20Internal%20Order%20Line/view_trade_model.xml b/bt5/erp5_open_trade/ActionTemplateItem/portal_types/Open%20Internal%20Order%20Line/view_trade_model.xml new file mode 100644 index 0000000000..8d3f58fb57 --- /dev/null +++ b/bt5/erp5_open_trade/ActionTemplateItem/portal_types/Open%20Internal%20Order%20Line/view_trade_model.xml @@ -0,0 +1,79 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <global name="ActionInformation" module="Products.CMFCore.ActionInformation"/> + </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_view</string> + </tuple> + </value> + </item> + <item> + <key> <string>category</string> </key> + <value> <string>object_view</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>view_trade_model</string> </value> + </item> + <item> + <key> <string>permissions</string> </key> + <value> + <tuple> + <string>View</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>Trade Model</string> </value> + </item> + <item> + <key> <string>visible</string> </key> + <value> <int>1</int> </value> + </item> + </dictionary> + </pickle> + </record> + <record id="2" aka="AAAAAAAAAAI="> + <pickle> + <global name="Expression" module="Products.CMFCore.Expression"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>text</string> </key> + <value> <string>string:${object_url}/DeliveryLine_viewAggregatedAmountList</string> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_open_trade/ActionTemplateItem/portal_types/Open%20Purchase%20Order%20Cell/view.xml b/bt5/erp5_open_trade/ActionTemplateItem/portal_types/Open%20Purchase%20Order%20Cell/view.xml new file mode 100644 index 0000000000..6fae3ee199 --- /dev/null +++ b/bt5/erp5_open_trade/ActionTemplateItem/portal_types/Open%20Purchase%20Order%20Cell/view.xml @@ -0,0 +1,79 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <global name="ActionInformation" module="Products.CMFCore.ActionInformation"/> + </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_view</string> + </tuple> + </value> + </item> + <item> + <key> <string>category</string> </key> + <value> <string>object_view</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>view</string> </value> + </item> + <item> + <key> <string>permissions</string> </key> + <value> + <tuple> + <string>View</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>View</string> </value> + </item> + <item> + <key> <string>visible</string> </key> + <value> <int>1</int> </value> + </item> + </dictionary> + </pickle> + </record> + <record id="2" aka="AAAAAAAAAAI="> + <pickle> + <global name="Expression" module="Products.CMFCore.Expression"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>text</string> </key> + <value> <string>string:${object_url}/DeliveryCell_view</string> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_open_trade/ActionTemplateItem/portal_types/Open%20Sale%20Order%20Cell/view.xml b/bt5/erp5_open_trade/ActionTemplateItem/portal_types/Open%20Sale%20Order%20Cell/view.xml new file mode 100644 index 0000000000..6fae3ee199 --- /dev/null +++ b/bt5/erp5_open_trade/ActionTemplateItem/portal_types/Open%20Sale%20Order%20Cell/view.xml @@ -0,0 +1,79 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <global name="ActionInformation" module="Products.CMFCore.ActionInformation"/> + </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_view</string> + </tuple> + </value> + </item> + <item> + <key> <string>category</string> </key> + <value> <string>object_view</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>view</string> </value> + </item> + <item> + <key> <string>permissions</string> </key> + <value> + <tuple> + <string>View</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>View</string> </value> + </item> + <item> + <key> <string>visible</string> </key> + <value> <int>1</int> </value> + </item> + </dictionary> + </pickle> + </record> + <record id="2" aka="AAAAAAAAAAI="> + <pickle> + <global name="Expression" module="Products.CMFCore.Expression"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>text</string> </key> + <value> <string>string:${object_url}/DeliveryCell_view</string> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_open_trade/bt/revision b/bt5/erp5_open_trade/bt/revision index 7c091989d0..c24b6ae77d 100644 --- a/bt5/erp5_open_trade/bt/revision +++ b/bt5/erp5_open_trade/bt/revision @@ -1 +1 @@ -37 \ No newline at end of file +38 \ No newline at end of file diff --git a/bt5/erp5_open_trade/bt/template_action_path_list b/bt5/erp5_open_trade/bt/template_action_path_list index 214ff56689..0036a38ada 100644 --- a/bt5/erp5_open_trade/bt/template_action_path_list +++ b/bt5/erp5_open_trade/bt/template_action_path_list @@ -1,3 +1,13 @@ +Open Internal Order Cell | view +Open Internal Order Line | create_task +Open Internal Order Line | item_creation +Open Internal Order Line | price_view +Open Internal Order Line | profile_view +Open Internal Order Line | project +Open Internal Order Line | quantity_view +Open Internal Order Line | select_item_fast_input +Open Internal Order Line | view +Open Internal Order Line | view_trade_model Open Internal Order Module | view Open Internal Order | apply_trade_condition Open Internal Order | detailed_report @@ -10,6 +20,7 @@ Open Internal Order | reference_generate Open Internal Order | view Open Internal Order | view_stock Open Order Rule | view +Open Purchase Order Cell | view Open Purchase Order Line | price_view Open Purchase Order Line | quantity_view Open Purchase Order Line | view @@ -24,6 +35,7 @@ Open Purchase Order | profile_view Open Purchase Order | reference_generate Open Purchase Order | view Open Purchase Order | view_stock +Open Sale Order Cell | view Open Sale Order Line | price_view Open Sale Order Line | quantity_view Open Sale Order Line | view -- 2.30.9