summaryrefslogtreecommitdiff
path: root/fixco_custom/models/account_lock_date.py
blob: 1a4234a5db5c8227d8fef57d941caabc95223514 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
from odoo import api, fields, models, SUPERUSER_ID, _
from odoo.exceptions import UserError


class AccountUpdateLockDate(models.TransientModel):
    _inherit = 'account.lock.date'

    excluded_user_ids = fields.Many2many(
        related='company_id.excluded_user_ids',
        readonly=False,
        string="Excluded Users"
    )