From c182857ee4e8e32ccebaf1f5cb45d58b9006e699 Mon Sep 17 00:00:00 2001 From: "G. Richardson" Date: Wed, 19 Apr 2017 15:25:01 +0200 Subject: [PATCH] Feature Sortiment als experimentell markiert --- doc/changelog | 3 ++- menus/user/00-erp.yaml | 2 +- templates/webpages/client_config/_features.html | 2 +- templates/webpages/client_config/_ranges_of_numbers.html | 2 ++ templates/webpages/ic/generate_report_bottom.html | 2 ++ templates/webpages/ic/search.html | 2 ++ 6 files changed, 10 insertions(+), 3 deletions(-) diff --git a/doc/changelog b/doc/changelog index f4bad16fa..fafae9239 100644 --- a/doc/changelog +++ b/doc/changelog @@ -153,7 +153,7 @@ kleinere neue Features und Detailverbesserungen: Verkaufsaufträgen finden zu können: Verkauf -> Berichte -> Auftragsartikelsuche - - Neuer Artikeltyp "Sortiment" + - Neuer Artikeltyp "Sortiment" (experimentell) Einem Sortiment können wie einem Erzeugnis mehrere Artikel zugeordnet werden. Beim Hinzufügen eines Sortiments zu einem Beleg werden alle Bestandteile des Sortiments als Einzelteile zum Beleg hinzugefügt, so als @@ -171,6 +171,7 @@ kleinere neue Features und Detailverbesserungen: Einschränkungen: das "Auspacken" eines Sortiments beim Hinzufügen in einem Beleg funktioniert derzeit nur beim neuen Auftragscontroller. + Auftragscontroller und Sortiment haben beide noch den Status experimentell. - Detailverbesserung Druckvorlage RB Adressfeld um Absender ergänzt. Firmenname nicht mehr aus Titlebar, sondern diff --git a/menus/user/00-erp.yaml b/menus/user/00-erp.yaml index 53899b657..c520c4b68 100644 --- a/menus/user/00-erp.yaml +++ b/menus/user/00-erp.yaml @@ -74,7 +74,7 @@ name: Add Assortment icon: assortment_add order: 550 - access: part_service_assembly_edit + access: part_service_assembly_edit & client/feature_experimental params: action: Part/add_assortment - parent: master_data diff --git a/templates/webpages/client_config/_features.html b/templates/webpages/client_config/_features.html index 31885b848..b3c2c4f27 100644 --- a/templates/webpages/client_config/_features.html +++ b/templates/webpages/client_config/_features.html @@ -304,7 +304,7 @@ [% LxERP.t8('Enable experimental features') %] [% L.yes_no_tag('defaults.feature_experimental', SELF.defaults.feature_experimental) %] - [% LxERP.t8('Experimental features are:') %] [% LxERP.t8('new order controller') %] + [% LxERP.t8('Experimental features are:') %] [% LxERP.t8('new order controller') %], [% LxERP.t8('Assortment') %] diff --git a/templates/webpages/client_config/_ranges_of_numbers.html b/templates/webpages/client_config/_ranges_of_numbers.html index a7cc99343..758c7d970 100644 --- a/templates/webpages/client_config/_ranges_of_numbers.html +++ b/templates/webpages/client_config/_ranges_of_numbers.html @@ -44,8 +44,10 @@ [% LxERP.t8('Last Sales Delivery Order Number') %] [% L.input_tag("defaults.sdonumber", SELF.defaults.sdonumber, size="15") %] + [%- IF INSTANCE_CONF.get_feature_experimental %] [% LxERP.t8('Last Assortment Number') %] [% L.input_tag("defaults.assortmentnumber", SELF.defaults.assortmentnumber, size="15") %] + [%- END -%] diff --git a/templates/webpages/ic/generate_report_bottom.html b/templates/webpages/ic/generate_report_bottom.html index c00442576..25009f6d6 100644 --- a/templates/webpages/ic/generate_report_bottom.html +++ b/templates/webpages/ic/generate_report_bottom.html @@ -23,10 +23,12 @@ [%- 'Service (typeabbreviation)' | $T8 %] [%- 'Service' | $T8 %] + [%- IF INSTANCE_CONF.get_feature_experimental %] [%- 'Assortment (typeabbreviation)' | $T8 %] [%- 'Assortment' | $T8 %] + [%- END %] diff --git a/templates/webpages/ic/search.html b/templates/webpages/ic/search.html index 5bd7b5b6f..80be43c6a 100644 --- a/templates/webpages/ic/search.html +++ b/templates/webpages/ic/search.html @@ -37,10 +37,12 @@ + [%- IF INSTANCE_CONF.get_feature_experimental %] + [%- END %]
-- 2.20.1