From 68253a927a4cace10fabd66d255e2f41c61554dc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9rome=20Perrin?= <jerome@nexedi.com> Date: Mon, 4 Feb 2008 18:31:15 +0000 Subject: [PATCH] Don't allow Discount in Invoice Lines, it's not allowed in Order Lines git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@19033 20353a03-c40f-0410-a6d1-a30d3c3de9de --- .../allowed_content_types.xml | 3 +-- bt5/erp5_invoicing/bt/revision | 2 +- .../bt/template_portal_type_allowed_content_type_list | 1 - 3 files changed, 2 insertions(+), 4 deletions(-) diff --git a/bt5/erp5_invoicing/PortalTypeAllowedContentTypeTemplateItem/allowed_content_types.xml b/bt5/erp5_invoicing/PortalTypeAllowedContentTypeTemplateItem/allowed_content_types.xml index 89adab3615..e2bd4798aa 100644 --- a/bt5/erp5_invoicing/PortalTypeAllowedContentTypeTemplateItem/allowed_content_types.xml +++ b/bt5/erp5_invoicing/PortalTypeAllowedContentTypeTemplateItem/allowed_content_types.xml @@ -1,14 +1,13 @@ <allowed_content_type_list> <portal_type id="Invoice Line"> <item>Invoice Cell</item> - <item>Discount</item> </portal_type> <portal_type id="Invoice Transaction Rule"> <item>Category Divergence Tester</item> - <item>Accounting Rule Cell</item> <item>Property Divergence Tester</item> <item>Quantity Divergence Tester</item> <item>Predicate</item> + <item>Accounting Rule Cell</item> </portal_type> <portal_type id="Invoicing Rule"> <item>Property Divergence Tester</item> diff --git a/bt5/erp5_invoicing/bt/revision b/bt5/erp5_invoicing/bt/revision index 19c7bdba7b..8e2afd3427 100644 --- a/bt5/erp5_invoicing/bt/revision +++ b/bt5/erp5_invoicing/bt/revision @@ -1 +1 @@ -16 \ No newline at end of file +17 \ No newline at end of file diff --git a/bt5/erp5_invoicing/bt/template_portal_type_allowed_content_type_list b/bt5/erp5_invoicing/bt/template_portal_type_allowed_content_type_list index 0aa6fc620e..d42ef2ec4a 100644 --- a/bt5/erp5_invoicing/bt/template_portal_type_allowed_content_type_list +++ b/bt5/erp5_invoicing/bt/template_portal_type_allowed_content_type_list @@ -1,4 +1,3 @@ -Invoice Line | Discount Invoice Line | Invoice Cell Invoice Transaction Rule | Accounting Rule Cell Invoice Transaction Rule | Category Divergence Tester -- 2.30.9