From 12f001c9636f0d7219f66833b8ca0ef7e4eacd93 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9rome=20Perrin?= <jerome@nexedi.com> Date: Wed, 6 Aug 2008 15:23:00 +0000 Subject: [PATCH] Trade Conditions can contain Supply Line, so add them to supply type list git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@22911 20353a03-c40f-0410-a6d1-a30d3c3de9de --- .../portal_types/Purchase%20Trade%20Condition.xml | 4 +++- .../portal_types/Sale%20Trade%20Condition.xml | 12 ++++++++++++ bt5/erp5_trade/bt/revision | 2 +- 3 files changed, 16 insertions(+), 2 deletions(-) diff --git a/bt5/erp5_trade/PortalTypeTemplateItem/portal_types/Purchase%20Trade%20Condition.xml b/bt5/erp5_trade/PortalTypeTemplateItem/portal_types/Purchase%20Trade%20Condition.xml index 5ea94b5f0b..a1c1838549 100644 --- a/bt5/erp5_trade/PortalTypeTemplateItem/portal_types/Purchase%20Trade%20Condition.xml +++ b/bt5/erp5_trade/PortalTypeTemplateItem/portal_types/Purchase%20Trade%20Condition.xml @@ -97,7 +97,9 @@ <item> <key> <string>group_list</string> </key> <value> - <tuple/> + <tuple> + <string>supply</string> + </tuple> </value> </item> <item> diff --git a/bt5/erp5_trade/PortalTypeTemplateItem/portal_types/Sale%20Trade%20Condition.xml b/bt5/erp5_trade/PortalTypeTemplateItem/portal_types/Sale%20Trade%20Condition.xml index d4526d3328..f34c97ea6b 100644 --- a/bt5/erp5_trade/PortalTypeTemplateItem/portal_types/Sale%20Trade%20Condition.xml +++ b/bt5/erp5_trade/PortalTypeTemplateItem/portal_types/Sale%20Trade%20Condition.xml @@ -94,6 +94,14 @@ <key> <string>filter_content_types</string> </key> <value> <int>1</int> </value> </item> + <item> + <key> <string>group_list</string> </key> + <value> + <tuple> + <string>supply</string> + </tuple> + </value> + </item> <item> <key> <string>hidden_content_type_list</string> </key> <value> @@ -108,6 +116,10 @@ <key> <string>init_script</string> </key> <value> <string></string> </value> </item> + <item> + <key> <string>permission</string> </key> + <value> <string></string> </value> + </item> <item> <key> <string>property_sheet_list</string> </key> <value> diff --git a/bt5/erp5_trade/bt/revision b/bt5/erp5_trade/bt/revision index 88101bccd4..a6d80d5841 100644 --- a/bt5/erp5_trade/bt/revision +++ b/bt5/erp5_trade/bt/revision @@ -1 +1 @@ -465 \ No newline at end of file +466 \ No newline at end of file -- 2.30.9