forked from Yaltik/golem
[FIX}GOLEM Activity Queue order should be sequence then older (id asc), thanks Youssef for pointing it
This commit is contained in:
parent
963bfa7cb1
commit
b5e7a52789
@ -20,7 +20,7 @@
|
||||
'name': 'GOLEM activity queues',
|
||||
'summary': 'GOLEM activity queues',
|
||||
'description': ''' GOLEM activity queue management ''',
|
||||
'version': '10.0.1.1.3',
|
||||
'version': '10.0.1.1.4',
|
||||
'category': 'GOLEM',
|
||||
'author': 'Youssef El Ouahby, Fabien Bourgeois',
|
||||
'license': 'AGPL-3',
|
||||
|
@ -24,7 +24,7 @@ from odoo.exceptions import ValidationError
|
||||
class GolemActivityQueue(models.Model):
|
||||
""" GOLEM Activity Queue """
|
||||
_name = 'golem.activity.queue'
|
||||
_order = 'sequence asc, id desc'
|
||||
_order = 'sequence asc, id asc'
|
||||
_description = 'GOLEM Activity Queue'
|
||||
_sql_constraints = [('golem_activity_queue_uniq', 'UNIQUE (member_id, activity_id)',
|
||||
_('This member has already been registered for the queue.'))]
|
||||
|
Loading…
Reference in New Issue
Block a user