From a92326e5119175de5d18fb21e834d1142730f1c7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Niels=20G=C3=B6ttsch?= Date: Tue, 7 Oct 2025 15:31:36 +0200 Subject: [PATCH] [IMP] nfu_wholesaler_exporter: show exporter in in_progress state --- nfu_wholesaler_exporter/README.rst | 1 + nfu_wholesaler_exporter/__manifest__.py | 2 +- nfu_wholesaler_exporter/readme/HISTORY.rst | 3 ++- nfu_wholesaler_exporter/static/description/index.html | 1 + nfu_wholesaler_exporter/views/sale_order_batch_views.xml | 2 +- 5 files changed, 6 insertions(+), 3 deletions(-) diff --git a/nfu_wholesaler_exporter/README.rst b/nfu_wholesaler_exporter/README.rst index a7f75c3..071dffa 100644 --- a/nfu_wholesaler_exporter/README.rst +++ b/nfu_wholesaler_exporter/README.rst @@ -48,6 +48,7 @@ Changelog - 16.0.1.0.1: Rename to CSV Exporter - 16.0.1.1.0: Add rounding for float values and remove zero lines - 16.0.1.2.0: Change limiter to ";" and only show exporter in closed state +- 16.0.1.2.1: Show exporter in in_progress state as well Bug Tracker =========== diff --git a/nfu_wholesaler_exporter/__manifest__.py b/nfu_wholesaler_exporter/__manifest__.py index 75d1fd1..400a438 100644 --- a/nfu_wholesaler_exporter/__manifest__.py +++ b/nfu_wholesaler_exporter/__manifest__.py @@ -4,7 +4,7 @@ "author": "BAKEUP", "website": "https://www.bakeup.org", "category": "Sale", - "version": "16.0.1.2.0", + "version": "16.0.1.2.1", "depends": ["sale_order_batch", "nfu_sale_order_batch_packaging"], "data": ["views/sale_order_batch_views.xml"], "license": "LGPL-3", diff --git a/nfu_wholesaler_exporter/readme/HISTORY.rst b/nfu_wholesaler_exporter/readme/HISTORY.rst index 83765ab..9d2b353 100644 --- a/nfu_wholesaler_exporter/readme/HISTORY.rst +++ b/nfu_wholesaler_exporter/readme/HISTORY.rst @@ -2,4 +2,5 @@ - 16.0.1.0.0: Adjust to Grell format specification - 16.0.1.0.1: Rename to CSV Exporter - 16.0.1.1.0: Add rounding for float values and remove zero lines -- 16.0.1.2.0: Change limiter to ";" and only show exporter in closed state \ No newline at end of file +- 16.0.1.2.0: Change limiter to ";" and only show exporter in closed state +- 16.0.1.2.1: Show exporter in in_progress state as well \ No newline at end of file diff --git a/nfu_wholesaler_exporter/static/description/index.html b/nfu_wholesaler_exporter/static/description/index.html index 177629e..52dfab3 100644 --- a/nfu_wholesaler_exporter/static/description/index.html +++ b/nfu_wholesaler_exporter/static/description/index.html @@ -409,6 +409,7 @@ Das ist aktuell der default_code, falls wir den mal prefixen, muss das hier ange
  • 16.0.1.0.1: Rename to CSV Exporter
  • 16.0.1.1.0: Add rounding for float values and remove zero lines
  • 16.0.1.2.0: Change limiter to “;” and only show exporter in closed state
  • +
  • 16.0.1.2.1: Show exporter in in_progress state as well
  • diff --git a/nfu_wholesaler_exporter/views/sale_order_batch_views.xml b/nfu_wholesaler_exporter/views/sale_order_batch_views.xml index 36c4206..8c0308d 100644 --- a/nfu_wholesaler_exporter/views/sale_order_batch_views.xml +++ b/nfu_wholesaler_exporter/views/sale_order_batch_views.xml @@ -11,7 +11,7 @@ type="object" string="Export Wholesaler CSV" class="oe_highlight" - attrs="{'invisible': [('state', '!=','closed')]}" + attrs="{'invisible': [('state', 'not in', ['in_progress','closed'])]}" />