# HG changeset patch # User Etienne Ferriere <etienne.ferriere@xcg-consulting.fr> # Date 1739203278 -3600 # Mon Feb 10 17:01:18 2025 +0100 # Branch 18.0 # Node ID 124ad65e36141c388cb5569ed44cfdec55f18d0d # Parent ded101b09726858333d5524675b982bdba870c15 Fix the color conditional display of the list view of Xbus emitter jobs from a typing error in the field to read. diff --git a/NEWS.rst b/NEWS.rst --- a/NEWS.rst +++ b/NEWS.rst @@ -1,6 +1,12 @@ Changelog ========= +18.0.2.0.2 +---------- + +Fix the color conditional display of the list view of Xbus emitter jobs from a +typing error in the field to read. + 18.0.2.0.1 ---------- diff --git a/__manifest__.py b/__manifest__.py --- a/__manifest__.py +++ b/__manifest__.py @@ -21,7 +21,7 @@ "name": "Xbus Emitter", "license": "LGPL-3", "summary": "Emit messages from Odoo to Xbus", - "version": "18.0.2.0.1", + "version": "18.0.2.0.2", "category": "Tools", "author": "XCG Consulting", "website": "https://orbeet.io/", diff --git a/views/xbus_emitter_job.xml b/views/xbus_emitter_job.xml --- a/views/xbus_emitter_job.xml +++ b/views/xbus_emitter_job.xml @@ -75,7 +75,7 @@ <field name="model">xbus.emitter.job</field> <field name="arch" type="xml"> <list - decoration-success="state in ('sent_success', 'process_done')" + decoration-success="state == 'sent_success' or process_state == 'process_done'" decoration-danger="state in ('sent_error')" > <field name="emitter_id" />