diff --git a/ext/custom-addons/dp_custom/models/sale.py b/ext/custom-addons/dp_custom/models/sale.py index 6ae8eaa6..f884f304 100644 --- a/ext/custom-addons/dp_custom/models/sale.py +++ b/ext/custom-addons/dp_custom/models/sale.py @@ -44,11 +44,16 @@ class SaleOrder(models.Model): ('delivered', 'Geliefert'), ('completed', 'Abgeschlossen')] + # ORDER_TYPES = [ + # ('M', 'Manuell'), + # ('D', 'DesignBox'), + # ('I', 'Industrie'), + # ('T', 'TZBox') ORDER_TYPES = [ - ('M', 'Manuell'), - ('D', 'DesignBox'), - ('I', 'Industrie'), - ('T', 'TZBox') + ('M', 'M'), + ('D', 'D'), + ('I', 'I'), + ('T', 'T') ] assembled = fields.Boolean(string='Zusammengebaut') diff --git a/ext/custom-addons/dp_custom/views/sale_views.xml b/ext/custom-addons/dp_custom/views/sale_views.xml index ffb195d3..9ec9ce8e 100644 --- a/ext/custom-addons/dp_custom/views/sale_views.xml +++ b/ext/custom-addons/dp_custom/views/sale_views.xml @@ -180,8 +180,9 @@ - + + @@ -198,8 +199,9 @@ - + + diff --git a/ext/custom-addons/dp_reports/reports/report_templates.xml b/ext/custom-addons/dp_reports/reports/report_templates.xml index f0a53d9b..94cbc7f5 100644 --- a/ext/custom-addons/dp_reports/reports/report_templates.xml +++ b/ext/custom-addons/dp_reports/reports/report_templates.xml @@ -18,6 +18,17 @@