Account Journal Period Close
account_journal_period_close · OCA/account-financial-tools
-
Security25/25No findings
-
Activity0/25Last human commit 123 months ago
-
Required by5/250 modules depend on it
-
Maturity18/25In 3 Odoo series since 7.0
Heuristic over the facts below, not an audit · How it's computed
Migration considerations
- Migrating to 19.0: only `__manifest__.py` is recognized: a module with `__openerp__.py` is not detected at all. migration-openerp-manifest · source
AccountJournalPeriod— Class 'AccountJournalPeriod' still inherits from the old-style `orm.Model` API: rewrite it against `models.Model`/`models.TransientModel`/`models.AbstractModel` - the old `osv`/`orm` API was removed entirely in modern Odoo. migration-old-api-base · sourceAccountJournalPeriod— Class 'AccountJournalPeriod' declares `_columns` as a plain dict: old-style field/default declarations, replace with `fields.X(...)` class attributes and `default=`. migration-old-style-fields · sourceAccountJournalPeriod— Migrating to 19.0: `_sql_constraints` is ignored and its constraints are silently not created: declare `models.Constraint` attributes instead. migration-sql-constraints · sourceAccountPeriod— Class 'AccountPeriod' still inherits from the old-style `orm.Model` API: rewrite it against `models.Model`/`models.TransientModel`/`models.AbstractModel` - the old `osv`/`orm` API was removed entirely in modern Odoo. migration-old-api-base · sourceAccountPeriod— Class 'AccountPeriod' declares `_columns` as a plain dict: old-style field/default declarations, replace with `fields.X(...)` class attributes and `default=`. migration-old-style-fields · sourceview_account_period_form— Migrating to 17.0: `attrs=`/`states=` are rejected in views: convert them to Python expressions in `invisible`/`readonly`/`required`, keeping the original AND/OR logic. migration-view-attrs-states · source- Migrating to 10.0: the `openerp` namespace was renamed to `odoo`; only a deprecated `openerp.addons` alias remained. (`openerp.osv`) (2 occurrences in this file) migration-openerp-import · source
- Migrating to 10.0: the `openerp` namespace was renamed to `odoo`; only a deprecated `openerp.addons` alias remained. (`openerp.osv`) migration-openerp-import · source
Migration review checklist, not a compatibility verdict. "Migrating to X.0" applies once you upgrade to that version; "Since X.0" means this version already ignores or rejects that code. Methodology
Description
Close period per journal
This module allows fine grained control of period closing. Each journal can be closed independently for any period (using buttons on the fiscal period view).
A common use case is letting accountants close the sale and purchase journals when the VAT declaration is done for a given period, while leaving the miscellaneous journal open.
From a technical standpoint, the module leverages the account.journal.period model that is present in Odoo core.
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 |
|---|---|---|---|---|
view_account_period_form |
account.period.form (account_journal_period_close) | account.period | form | Inherits account.view_account_period_form |
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 2
No new fields.
Public methods (3)-
action_done(self, cr, uid, ids, context=None) -
action_draft(self, cr, uid, ids, context=None) -
create(self, cr, uid, values, context=None)
No new fields.
Public methods (1)-
add_all_journals(self, cr, uid, ids, context=None)
Loading…
Loading…