diff options
Diffstat (limited to 'fixco_custom/models/account_lock_date.py')
| -rw-r--r-- | fixco_custom/models/account_lock_date.py | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/fixco_custom/models/account_lock_date.py b/fixco_custom/models/account_lock_date.py new file mode 100644 index 0000000..1a4234a --- /dev/null +++ b/fixco_custom/models/account_lock_date.py @@ -0,0 +1,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" + )
\ No newline at end of file |
