diff --git a/bt5/erp5_invoicing/ActionTemplateItem/portal_types/Invoice%20Line/view_trade_model.xml b/bt5/erp5_invoicing/ActionTemplateItem/portal_types/Invoice%20Line/view_trade_model.xml new file mode 100644 index 0000000000000000000000000000000000000000..ffc738be5c601b76266b5b8c36bf25268d1a08cb --- /dev/null +++ b/bt5/erp5_invoicing/ActionTemplateItem/portal_types/Invoice%20Line/view_trade_model.xml @@ -0,0 +1,77 @@ +<?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>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_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>2.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> + <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_viewAggregatedAmountList</string> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_invoicing/bt/revision b/bt5/erp5_invoicing/bt/revision index dd4a90065ceb3d30cc38d69c0e85d96466c90bd1..b8e817d4f8350da183e38145325940a42494db8a 100644 --- a/bt5/erp5_invoicing/bt/revision +++ b/bt5/erp5_invoicing/bt/revision @@ -1 +1 @@ -254 \ No newline at end of file +255 \ No newline at end of file diff --git a/bt5/erp5_invoicing/bt/template_action_path_list b/bt5/erp5_invoicing/bt/template_action_path_list index ae60a0a843d3033f65fbb5888368f0a7b1cc1cca..f03761ead6d1496b09129d5e0559fb7240a03f95 100644 --- a/bt5/erp5_invoicing/bt/template_action_path_list +++ b/bt5/erp5_invoicing/bt/template_action_path_list @@ -1,6 +1,7 @@ Invoice Line | price Invoice Line | quantity Invoice Line | view +Invoice Line | view_trade_model Invoice Transaction Rule | divergence Invoice Transaction Rule | view Invoicing Rule | view