diff --git a/queue_job/models/queue_job.py b/queue_job/models/queue_job.py index 0af77c2559..97b187b7df 100644 --- a/queue_job/models/queue_job.py +++ b/queue_job/models/queue_job.py @@ -92,7 +92,7 @@ class QueueJob(models.Model): func_string = fields.Char(string="Task", readonly=True) state = fields.Selection(STATES, readonly=True, required=True, index=True) - priority = fields.Integer() + priority = fields.Integer(group_operator=False) exc_name = fields.Char(string="Exception", readonly=True) exc_message = fields.Char(string="Exception Message", readonly=True, tracking=True) exc_info = fields.Text(string="Exception Info", readonly=True) diff --git a/queue_job/views/queue_job_views.xml b/queue_job/views/queue_job_views.xml index f4b1d855c2..79aec95bc2 100644 --- a/queue_job/views/queue_job_views.xml +++ b/queue_job/views/queue_job_views.xml @@ -166,6 +166,7 @@ /> + @@ -210,6 +211,7 @@ + @@ -282,6 +284,11 @@ string="State" context="{'group_by': 'state'}" /> +