mirror of
https://github.com/odoo/runbot.git
synced 2025-03-27 13:25:47 +07:00
[FIX] runbot: fix auto test-tags False
This commit is contained in:
parent
93b901dcdd
commit
650a93fee7
@ -161,9 +161,9 @@ class RunbotBuildError(models.Model):
|
|||||||
|
|
||||||
@api.model
|
@api.model
|
||||||
def test_tags_list(self):
|
def test_tags_list(self):
|
||||||
active_errors = self.search([('test_tags', '!=', 'False'), ('random', '=', True)])
|
active_errors = self.search([('test_tags', '!=', False), ('random', '=', True)])
|
||||||
test_tag_list = active_errors.mapped('test_tags')
|
test_tag_list = active_errors.mapped('test_tags')
|
||||||
return [test_tag for error_tags in test_tag_list for test_tag in (error_tags or '').split(',')]
|
return [test_tag for error_tags in test_tag_list for test_tag in (error_tags).split(',')]
|
||||||
|
|
||||||
@api.model
|
@api.model
|
||||||
def disabling_tags(self):
|
def disabling_tags(self):
|
||||||
|
Loading…
Reference in New Issue
Block a user