diff --git a/bt5/erp5_pdm/ActionTemplateItem/portal_types/Component/jump_to_related_transformation.xml b/bt5/erp5_pdm/ActionTemplateItem/portal_types/Component/jump_to_related_transformation.xml index 392bc7b0793af87fc099f4a6e0bd2d822c75a70c..fa7b91638920dd8ed26e893444562e8cf25ea0f5 100644 --- a/bt5/erp5_pdm/ActionTemplateItem/portal_types/Component/jump_to_related_transformation.xml +++ b/bt5/erp5_pdm/ActionTemplateItem/portal_types/Component/jump_to_related_transformation.xml @@ -51,7 +51,7 @@ </item> <item> <key> <string>priority</string> </key> - <value> <float>4.0</float> </value> + <value> <float>5.0</float> </value> </item> <item> <key> <string>title</string> </key> diff --git a/bt5/erp5_pdm/ActionTemplateItem/portal_types/Component/view_stock.xml b/bt5/erp5_pdm/ActionTemplateItem/portal_types/Component/view_stock.xml new file mode 100644 index 0000000000000000000000000000000000000000..a062cddcb98944f3578af1191df523ab0e745837 --- /dev/null +++ b/bt5/erp5_pdm/ActionTemplateItem/portal_types/Component/view_stock.xml @@ -0,0 +1,83 @@ +<?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_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_stock</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>Stock</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}/Resource_viewInventory</string> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_pdm/bt/revision b/bt5/erp5_pdm/bt/revision index 0acdeb509ddefc9e5fcc09877e239a0863e211a9..e99fdcc524490dab1572edae62443278a789b5e9 100644 --- a/bt5/erp5_pdm/bt/revision +++ b/bt5/erp5_pdm/bt/revision @@ -1 +1 @@ -216 \ No newline at end of file +217 \ No newline at end of file diff --git a/bt5/erp5_pdm/bt/template_action_path_list b/bt5/erp5_pdm/bt/template_action_path_list index 54d632bf0eee509b0e500290ff7c29af5c56e902..92a2821412860aa60b6d8c1e95f2a2ef34637ce1 100644 --- a/bt5/erp5_pdm/bt/template_action_path_list +++ b/bt5/erp5_pdm/bt/template_action_path_list @@ -7,6 +7,7 @@ Component | sale_price_view Component | view Component | view_flow_capacity Component | view_measure +Component | view_stock Measure | view Product Individual Variation | view Product Module | converted_inventory_report