Skip to content

Commit

Permalink
Merge pull request #97 from guewen/8.0-job-view-overflow
Browse files Browse the repository at this point in the history
Move fields to avoid jobs view overflows
  • Loading branch information
gurneyalex committed Sep 10, 2015
2 parents 1f24696 + 43d0d50 commit f93c15d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
1 change: 1 addition & 0 deletions connector/queue/model.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
10 changes: 4 additions & 6 deletions connector/queue/model_view.xml
Original file line number Diff line number Diff line change
Expand Up @@ -81,19 +81,17 @@
<group>
<field name="uuid"/>
<field name="func_string"/>
<field name="job_function_id"/>
<field name="channel"/>
<field name="worker_id"/>
</group>
<group col="6">
<group>
<group>
<field name="priority"/>
<field name="eta"/>
<field name="company_id" groups="base.group_multi_company"/>
<field name="user_id"/>
</group>
<group>
<field name="worker_id"/>
<field name="job_function_id"/>
<field name="channel"/>
</group>
<group>
<field name="date_created"/>
<field name="date_enqueued"/>
Expand Down

0 comments on commit f93c15d

Please sign in to comment.