mirror of
https://github.com/bringout/oca-technical.git
synced 2026-04-20 05:31:59 +02:00
13 lines
345 B
Python
13 lines
345 B
Python
# Copyright 2016 Cédric Pigeon
|
|
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
|
|
|
|
from odoo import models
|
|
|
|
|
|
class QueueJob(models.Model):
|
|
_inherit = "queue.job"
|
|
|
|
def _subscribe_users_domain(self):
|
|
domain = super()._subscribe_users_domain()
|
|
domain.append(("subscribe_job", "=", True))
|
|
return domain
|