diff options
| author | Mqdd <ahmadmiqdad27@gmail.com> | 2026-02-24 15:28:52 +0700 |
|---|---|---|
| committer | Mqdd <ahmadmiqdad27@gmail.com> | 2026-02-24 15:28:52 +0700 |
| commit | 099dc9e41b2f9098eebb00ea895232e4c943d83c (patch) | |
| tree | ac43474b4009b6c0d5c64523a0d8343e5492697a /fixco_custom/models/account_lock_date.py | |
| parent | 6274e53f46c38682c29334a9101561a8dbd53aff (diff) | |
<Miqdad> lock date
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 |
