From 43d0d50c3c170a7a27d135c05cf15435576b4ef9 Mon Sep 17 00:00:00 2001 From: Guewen Baconnier Date: Thu, 23 Jul 2015 13:31:10 +0200 Subject: [PATCH] Move fields to avoid jobs view overflows The job function, channel and worker fields are too large for a 6 column layout. Job function and channel make the fields overflow of the form and the worker fields is wrapped over 3 lines --- connector/queue/model.py | 1 + connector/queue/model_view.xml | 10 ++++------ 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/connector/queue/model.py b/connector/queue/model.py index 43b728dd0..e215693ed 100644 --- a/connector/queue/model.py +++ b/connector/queue/model.py @@ -89,6 +89,7 @@ class QueueJob(models.Model): func_name = fields.Char(readonly=True) job_function_id = fields.Many2one(comodel_name='queue.job.function', compute='_compute_channel', + string='Job Function', readonly=True, store=True) # for searching without JOIN on channels diff --git a/connector/queue/model_view.xml b/connector/queue/model_view.xml index f6f0cc8dc..22047999e 100644 --- a/connector/queue/model_view.xml +++ b/connector/queue/model_view.xml @@ -81,19 +81,17 @@ + + + - + - - - - -