diff --git a/bt5/erp5_item/ActionTemplateItem/portal_types/Purchase%20Packing%20List/aggregate_item.xml b/bt5/erp5_item/ActionTemplateItem/portal_types/Purchase%20Packing%20List/aggregate_item.xml index 4978b7a5782e23842d4c889e48e1bc8ff31d4f4a..2b3fbc95acdef020f23f93402fb37d05150f41f1 100644 --- a/bt5/erp5_item/ActionTemplateItem/portal_types/Purchase%20Packing%20List/aggregate_item.xml +++ b/bt5/erp5_item/ActionTemplateItem/portal_types/Purchase%20Packing%20List/aggregate_item.xml @@ -50,7 +50,7 @@ </item> <item> <key> <string>priority</string> </key> - <value> <float>9.0</float> </value> + <value> <float>10.0</float> </value> </item> <item> <key> <string>title</string> </key> diff --git a/bt5/erp5_item/ActionTemplateItem/portal_types/Returned%20Purchase%20Packing%20List%20Line/item_creation.xml b/bt5/erp5_item/ActionTemplateItem/portal_types/Returned%20Purchase%20Packing%20List%20Line/item_creation.xml new file mode 100644 index 0000000000000000000000000000000000000000..c032e7956fae15c14a05a1b6fd4fd7fb1b1c3372 --- /dev/null +++ b/bt5/erp5_item/ActionTemplateItem/portal_types/Returned%20Purchase%20Packing%20List%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_item/ActionTemplateItem/portal_types/Returned%20Purchase%20Packing%20List/aggregate_item.xml b/bt5/erp5_item/ActionTemplateItem/portal_types/Returned%20Purchase%20Packing%20List/aggregate_item.xml new file mode 100644 index 0000000000000000000000000000000000000000..4978b7a5782e23842d4c889e48e1bc8ff31d4f4a --- /dev/null +++ b/bt5/erp5_item/ActionTemplateItem/portal_types/Returned%20Purchase%20Packing%20List/aggregate_item.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>aggregate_item</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>9.0</float> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string>Aggregated 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}/Delivery_viewAggregatedItemList</string> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_item/ActionTemplateItem/portal_types/Sale%20Packing%20List/aggregate_item.xml b/bt5/erp5_item/ActionTemplateItem/portal_types/Sale%20Packing%20List/aggregate_item.xml index 4978b7a5782e23842d4c889e48e1bc8ff31d4f4a..2b3fbc95acdef020f23f93402fb37d05150f41f1 100644 --- a/bt5/erp5_item/ActionTemplateItem/portal_types/Sale%20Packing%20List/aggregate_item.xml +++ b/bt5/erp5_item/ActionTemplateItem/portal_types/Sale%20Packing%20List/aggregate_item.xml @@ -50,7 +50,7 @@ </item> <item> <key> <string>priority</string> </key> - <value> <float>9.0</float> </value> + <value> <float>10.0</float> </value> </item> <item> <key> <string>title</string> </key> diff --git a/bt5/erp5_item/bt/revision b/bt5/erp5_item/bt/revision index 2d828461b6912dc00f044b46a61b4336403c56f4..eff3954851315ae44a180cce680a290c307a0899 100644 --- a/bt5/erp5_item/bt/revision +++ b/bt5/erp5_item/bt/revision @@ -1 +1 @@ -289 \ No newline at end of file +290 \ No newline at end of file diff --git a/bt5/erp5_item/bt/template_action_path_list b/bt5/erp5_item/bt/template_action_path_list index 69ed892ec33f2119559c1aff933b89903ce5c629..4d23a1f851f6bcda9654eed7f05b274eca46d486 100644 --- a/bt5/erp5_item/bt/template_action_path_list +++ b/bt5/erp5_item/bt/template_action_path_list @@ -10,6 +10,8 @@ Purchase Order Line | item_creation Purchase Order | aggregate_item Purchase Packing List Line | item_creation Purchase Packing List | aggregate_item +Returned Purchase Packing List Line | item_creation +Returned Purchase Packing List | aggregate_item Returned Sale Packing List Line | item_creation Returned Sale Packing List | aggregate_item Sale Order Line | item_creation