Account Lock To Date
account_lock_to_date · OCA/account-financial-tools
Health
77/100
good
-
Security25/25No findings
-
Activity12/25Last human commit 15 months ago
-
Required by15/251 module depends on it
-
Maturity25/25In 8 Odoo series since 11.0
Heuristic over the facts below, not an audit · How it's computed
Required by
1
Modules depending on it
External deps
0 pip · 0 bin
Python packages / system binaries
License
AGPL-3
No conflicts with its dependencies
Folder size
0.13 MB
Module directory on disk
Code analysis
0 migration notes
4 models
1 view
0 HTTP endpoints
Description
This module allows to set a Period and Fiscal year Locking end dates. This will prevent users from posting journal entries on a date after the defined period or fiscal year end date.
Dependencies
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 1
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
account_update_lock_to_date_form_view |
account.update.lock_to_date.form | account.update.lock_to_date | form | New |
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 4
New fields (4)
-
fiscalyear_lock_to_dateDatecompute='_compute_lock_dates'help='The date the Global Lock To Date is set to by this exception. If the lock to date is not changed it is set to False.'search='_search_fiscalyear_lock_to_date'string='Global Lock To Date' -
lock_date_fieldSelectionondelete={'fiscalyear_lock_to_date': 'cascade', 'sale_lock_to_date': 'cascade', 'purchase_lock_to_date': 'cascade'}selection_add=[('fiscalyear_lock_to_date', 'Global Lock To Date'), ('sale_lock_to_date', 'Sales Lock To Date'), ('purchase_lock_to_date', 'Purchase Lock To Date')] -
purchase_lock_to_dateDatecompute='_compute_lock_dates'help='The date the Purchase Lock To Date is set to by this exception. If the lock to date is not changed it is set to False.'search='_search_purchase_lock_to_date' -
sale_lock_to_dateDatecompute='_compute_lock_dates'help='The date the Sale Lock To Date is set to by this exception. If the lock to date is not changed it is set to False.'search='_search_sale_lock_to_date'string='Sales Lock To Date'
No public methods.
New fields (0)
No new fields.
Public methods (3)-
action_post(self) -
button_cancel(self) -
button_draft(self)
New fields (5)
-
company_idMany2one → res.companycomodel_name='res.company'default=<expr>required=Truestring='Company' -
fiscalyear_lock_to_dateDatehelp='No users can edit accounts posterior to this date. Use it for fiscal year locking for example.'string='Global Lock To Date' -
hard_lock_to_dateDatehelp='Like the "Global Lock Date", but no exceptions are possible.'string='Lock To Date' -
purchase_lock_to_dateDatehelp='Prevents creation and modification of entries in purchase journals posterior to the defined date inclusive.' -
sale_lock_to_dateDatehelp='Prevents creation and modification of entries in sales journals posterior to the defined date inclusive.'string='Sales Lock To Date'
-
default_get(self, field_list)@api.model -
execute(self)
New fields (8)
-
fiscalyear_lock_to_dateDatehelp='No users can edit accounts posterior to this date. Use it for fiscal year locking for example.'string='Global Lock To Date'tracking=True -
hard_lock_to_dateDatehelp='Like the "Global Lock Date", but no exceptions are possible.'tracking=True -
purchase_lock_to_dateDatehelp='Prevents creation and modification of entries in purchase journals posterior to the defined date inclusive.'tracking=True -
sale_lock_to_dateDatehelp='Prevents creation and modification of entries in sales journals posterior to the defined date inclusive.'string='Sales Lock To Date'tracking=True -
user_fiscalyear_lock_to_dateDatecompute='_compute_user_fiscalyear_lock_to_date' -
user_hard_lock_to_dateDatecompute='_compute_user_hard_lock_to_date' -
user_purchase_lock_to_dateDatecompute='_compute_user_purchase_lock_to_date' -
user_sale_lock_to_dateDatecompute='_compute_user_sale_lock_to_date'
-
write(self, values)
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…