TIP: You can type at any time to perform a new search.
Cierre de ejercicio fiscal para España
l10n_es_fiscal_year_closing · OCA/l10n-spain
Security findings
Migration considerations
- Imports from the old `openerp` namespace: renamed to `odoo` since Odoo 10.0. migration-openerp-import · source
- Imports from the old `openerp.osv` namespace: renamed to `odoo` since Odoo 10.0. migration-openerp-import · source
- Imports from the old `openerp.tools.translate` namespace: renamed to `odoo` since Odoo 10.0. migration-openerp-import · source
- Imports from the old `openerp.tools` namespace: renamed to `odoo` since Odoo 10.0. migration-openerp-import · source
- Uses the old workflow engine (base.workflow / `trg_validate`): removed in Odoo 11.0, must be rewritten as state-field transitions. migration-workflow · source
- Uses the old workflow engine (base.workflow / `trg_validate`): removed in Odoo 11.0, must be rewritten as state-field transitions. migration-workflow · source
- Imports from the old `openerp` namespace: renamed to `odoo` since Odoo 10.0. migration-openerp-import · source
- Imports from the old `openerp.osv` namespace: renamed to `odoo` since Odoo 10.0. migration-openerp-import · source
- Imports from the old `openerp` namespace: renamed to `odoo` since Odoo 10.0. migration-openerp-import · source
- Imports from the old `openerp.tools.translate` namespace: renamed to `odoo` since Odoo 10.0. migration-openerp-import · source
- Uses the old workflow engine (base.workflow / `trg_validate`): removed in Odoo 11.0, must be rewritten as state-field transitions. migration-workflow · source
- Imports from the old `openerp.osv` namespace: renamed to `odoo` since Odoo 10.0. migration-openerp-import · source
- Imports from the old `openerp.tools.translate` namespace: renamed to `odoo` since Odoo 10.0. migration-openerp-import · source
- For a target of Odoo 10.0+: use the `__manifest__.py` manifest name instead of `__openerp__.py`. The filename alone does not establish module age or compatibility. migration-openerp-manifest · source
CancelFyc— Class 'CancelFyc' still inherits from the old-style `orm.TransientModel` 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 · sourceCancelFyc— Class 'CancelFyc' declares `_columns` as a plain dict: old-style field/default declarations, replace with `fields.X(...)` class attributes and `default=`. migration-old-style-fields · sourceExecuteFyc— Class 'ExecuteFyc' still inherits from the old-style `orm.TransientModel` 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 · sourceExecuteFyc— Class 'ExecuteFyc' declares `_columns` as a plain dict: old-style field/default declarations, replace with `fields.X(...)` class attributes and `default=`. migration-old-style-fields · sourceFiscalyearClosing— Class 'FiscalyearClosing' 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 · sourceFiscalyearClosing— Class 'FiscalyearClosing' declares `_columns` as a plain dict: old-style field/default declarations, replace with `fields.X(...)` class attributes and `default=`. migration-old-style-fields · sourceFiscalyearClosing— Class 'FiscalyearClosing' declares `_defaults` as a plain dict: old-style field/default declarations, replace with `fields.X(...)` class attributes and `default=`. migration-old-style-fields · sourceFiscalyearClosingAccountMapping— Class 'FiscalyearClosingAccountMapping' still inherits from the old-style `orm.AbstractModel` 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 · sourceFiscalyearClosingAccountMapping— Class 'FiscalyearClosingAccountMapping' declares `_columns` as a plain dict: old-style field/default declarations, replace with `fields.X(...)` class attributes and `default=`. migration-old-style-fields · sourceFiscalyearClosingCAccountMapping— Class 'FiscalyearClosingCAccountMapping' 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 · sourceFiscalyearClosingLpAccountMapping— Class 'FiscalyearClosingLpAccountMapping' 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 · sourceFiscalyearClosingNlpAccountMapping— Class 'FiscalyearClosingNlpAccountMapping' 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 · sourceL10nEsFiscalyearClosing— Class 'L10nEsFiscalyearClosing' 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 · sourceview_fyc_form— For a target of Odoo 17.0+: view 'view_fyc_form' uses `attrs=`/`states=`, which are no longer supported. Convert modifiers to direct Python boolean expressions in `invisible`/`readonly`/`required`; preserve the original AND/OR logic. migration-view-attrs-states · source- Raw `cr.execute()` INSERT/UPDATE/DELETE bypasses the ORM (no compute/constrains/tracking/mail): `UPDATE account_journal_period SET state = %s WHERE period_id IN (SELECT id FROM account_period WHERE fiscalyear_id = %s)` - re-check the table/column names still match after upgrading. migration-raw-sql-write · source
- Raw `cr.execute()` INSERT/UPDATE/DELETE bypasses the ORM (no compute/constrains/tracking/mail): `UPDATE account_period SET state = %s WHERE fiscalyear_id = %s` - re-check the table/column names still match after upgrading. migration-raw-sql-write · source
- Raw `cr.execute()` INSERT/UPDATE/DELETE bypasses the ORM (no compute/constrains/tracking/mail): `UPDATE account_fiscalyear SET state = %s WHERE id = %s` - re-check the table/column names still match after upgrading. migration-raw-sql-write · source
- Raw `cr.execute()` INSERT/UPDATE/DELETE bypasses the ORM (no compute/constrains/tracking/mail): `UPDATE account_journal_period SET state = %s WHERE period_id IN (SELECT id FROM account_period WHERE fiscalyear_id = %s)` - re-check the table/column names still match after upgrading. migration-raw-sql-write · source
- Raw `cr.execute()` INSERT/UPDATE/DELETE bypasses the ORM (no compute/constrains/tracking/mail): `UPDATE account_period SET state = %s WHERE fiscalyear_id = %s` - re-check the table/column names still match after upgrading. migration-raw-sql-write · source
- Raw `cr.execute()` INSERT/UPDATE/DELETE bypasses the ORM (no compute/constrains/tracking/mail): `UPDATE account_fiscalyear SET state = %s WHERE id = %s` - re-check the table/column names still match after upgrading. migration-raw-sql-write · source
- Raw `cr.execute()` INSERT/UPDATE/DELETE bypasses the ORM (no compute/constrains/tracking/mail): `UPDATE account_move_line SET reconcile_id = %s WHERE id in %s` - re-check the table/column names still match after upgrading. migration-raw-sql-write · source
view_fyc_tree— View 'view_fyc_tree' is defined with a `<tree>` root tag: renamed to `<list>` in Odoo 18.0. migration-view-tree-tag · source
Migration review checklist, not a compatibility verdict. No target version is selected: apply version-specific advice only when migrating to that version or later.
- Repository
- OCA/l10n-spain · module folder · Try on Runboat
- Module version
- 2.0.0
- Category
- Localisation/Accounting
- Folder size
- 0.69 MB
- License
- AGPL-3
- Application
- No
- Auto-installable
- No
- Website
- http://www.pexego.es
- Last tracking update
- 2026-08-07 07:03:03
- Authors
- Odoo Community Association (OCA), Pexego
- Maintainers
- Odoo Community Association (OCA), Pexego
- Committers
- Omar, Stéphane Bidoul, Alexandre Fayolle, Pedro M. Baeza, Stéphane Bidoul (ACSONE), OCA Transbot, oca-travis, Roberto Lizana
- Odoo dependencies
- Python dependencies
- None
- System dependencies
- None
- Required by
- None
- Description
Cierre contable del ejercicio fiscal español ============================================ Reemplaza el asistente por defecto de OpenERP para el cierre contable (del módulo *account*) por un asistente todo en uno más avanzado que permite: * Comprobar asientos descuadrados. * Comprobar fechas y periodos incorrectos de los apuntes. * Comprobar si hay asientos sin asentar en el ejercicio a cerrar. * Crear el asiento de pérdidas y ganancias. * Crear el asiento de pérdidas y ganancias de patrimonio neto. * Crear el asiento de cierre. * Crear el asiento de apertura. Permite configurar todos los parámetros para la realización de los asientos, aunque viene preconfigurado para el actual plan de cuentas español. Para la creación de los asientos, se tiene en cuenta el método de cierre definido en los tipos de cuenta (siempre que la cuenta no sea de tipo view): * Ninguno: No se realiza ningún cierre para esa cuenta. * Saldo: Crea un apunte para la cuenta con el saldo del ejercicio. * No conciliados: Crea un apunte por cada empresa con saldo para la cuenta. * Detalle: No soportado. También conserva el estado del cierre, por lo que el usuario puede cancelar y deshacer las operaciones fácilmente.
Code Analysis
Views touched (4)
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
cancel_fyc_form_view |
account.fiscalyear.closing.cancel_wizard.form | account.fiscalyear.closing.cancel_wizard | form | New |
execute_fyc_form_view |
account.fiscalyear.closing.execute_wizard.form | account.fiscalyear.closing.execute_wizard | form | New |
view_fyc_form |
account.fiscalyear.closing.form | account.fiscalyear.closing | form | New |
view_fyc_tree |
account.fiscalyear.closing.tree | account.fiscalyear.closing | tree | New |
HTTP endpoints (0)
No HTTP endpoints found for this module.
Models touched (9)
New fields (0)
No new fields.
Public methods (2)-
create_period(self, cr, uid, ids, context=None, interval=1)@api.v7 -
create_period(self, interval=1)@api.v8
New fields (0)
No new fields.
Public methods (6)-
action_cancel(self, cr, uid, ids, context=None)Called when the user clicks the cancel button. -
action_confirm(self, cr, uid, ids, context=None)Called when the user clicks the confirm button. -
action_draft(self, cr, uid, ids, context=None)Called when the user clicks the confirm button. -
action_recover(self, cr, uid, ids, context=None)Called when the user clicks the draft button to create a new workflow instance. -
action_run(self, cr, uid, ids, context=None)Called when the create entries button is used. -
unlink(self, cr, uid, ids, context=None)
New fields (0)
No new fields.
Public methods (0)No public methods.
New fields (0)
No new fields.
Public methods (0)No public methods.
New fields (0)
No new fields.
Public methods (0)No public methods.
New fields (0)
No new fields.
Public methods (2)-
default_get(self, cr, uid, field_list, context=None)This function gets default values @param self: The object pointer @param cr: the current row, from the database cursor, @param uid: the current user’s ID for security checks, @param fields: List of fields for default value @param context: A standard dictionary for contextual values @return : default values of fields. -
run_cancel(self, cr, uid, data, context=None)
New fields (0)
No new fields.
Public methods (4)-
create_closing_move(self, cr, uid, operation, fyc, context)Create a closing move (L&P, NL&P or Closing move). -
create_opening_move(self, cr, uid, operation, fyc, context)Create an opening move (based on the closing one) -
default_get(self, cr, uid, field_list, context=None)This function gets default values @param self: The object pointer @param cr: the current row, from the database cursor, @param uid: the current user’s ID for security checks, @param fields: List of fields for default value @param context: A standard dictionary for contextual values @return : default values of fields. -
run_execute(self, cr, uid, data, context=None)Creates / removes FYC entries
New fields (0)
No new fields.
Public methods (0)No public methods.
New fields (0)
No new fields.
Public methods (0)No public methods.
Loading…
Loading…