mirror of
https://github.com/bringout/oca-technical.git
synced 2026-04-18 05:52:06 +02:00
18 lines
435 B
Python
18 lines
435 B
Python
# Copyright 2016 Cédric Pigeon
|
|
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
|
|
|
|
from odoo import fields, models
|
|
|
|
|
|
class ResUsers(models.Model):
|
|
|
|
_inherit = "res.users"
|
|
|
|
subscribe_job = fields.Boolean(
|
|
"Job Notifications",
|
|
default=True,
|
|
help="If this flag is checked and the "
|
|
"user is Connector Manager, he will "
|
|
"receive job notifications.",
|
|
index=True,
|
|
)
|