Cierre de ejercicio fiscal para España

l10n_es_fiscal_year_closing
REPOSITORY
REPOSITORYOCA/l10n-spain
GIT
GIThttps://github.com/OCA/l10n-spain.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/l10n-spain/tree/8.0/l10n_es_fiscal_year_closing
VERSION
VERSION 2.0.0
CATEGORY
CATEGORYLocalisation/Accounting
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Pexego
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Pexego
COMMITTERS
COMMITTERSStéphane Bidoul, Alexandre Fayolle, Pedro M. Baeza, Stéphane Bidoul (ACSONE), OCA Transbot, oca-travis, Roberto Lizana, Omar
WEBSITE
WEBSITEhttp://www.pexego.es
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:11:20
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/l10n-spain:
    - l10n_es
odoo/odoo:
    - base
    - account
    - base_setup
    - web_kanban
    - web
    - product
    - decimal_precision
    - mail
    - report
    - analytic
    - board
    - edi
    - email_template
    - base_vat
    - base_iban
    - l10n_es
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
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 IDNameModelTypeStatus
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
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.

REPOSITORY
REPOSITORYOCA/l10n-spain
GIT
GIThttps://github.com/OCA/l10n-spain.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/l10n-spain/tree/7.0/l10n_es_fiscal_year_closing
VERSION
VERSION 1.0
CATEGORY
CATEGORYLocalisation/Accounting
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Pexego
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Pexego
COMMITTERS
COMMITTERSAlexandre Fayolle, Pedro M. Baeza, Stéphane Bidoul (ACSONE), Ignacio Ibeas - Acysos S.L., Omar (Pexego), cubells, OCA Transbot, Launchpad Translations on behalf of openerp-spain-team, Joaquin Gutierrez
WEBSITE
WEBSITEhttp://www.pexego.es
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:07:13
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/l10n-spain:
    - l10n_es
odoo/odoo:
    - base
    - account
    - base_setup
    - web_kanban
    - web
    - product
    - process
    - decimal_precision
    - mail
    - analytic
    - board
    - edi
    - email_template
    - base_vat
    - base_iban
    - l10n_es
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
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 IDNameModelTypeStatus
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
Models touched (9)

New fields (0)

No new fields.

Public methods (1)
  • create_period(self, cr, uid, ids, context=None, interval=1)

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.

REPOSITORY
REPOSITORYOCA/l10n-spain
GIT
GIThttps://github.com/OCA/l10n-spain.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/l10n-spain/tree/6.1/l10n_es_fiscal_year_closing
VERSION
VERSION 1.1
CATEGORY
CATEGORYLocalisation/Accounting
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Pexego / Pedro M. Baeza
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Pexego / Pedro M. Baeza
COMMITTERS
COMMITTERSAlexandre Fayolle, Pedro M. Baeza, Mikel, dani-ds, Ignacio Ibeas - Acysos S.L., cubells
WEBSITE
WEBSITEhttp://www.pexego.es / http://www.serviciosbaeza.com
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:04:05
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/l10n-spain:
    - l10n_es
odoo/odoo:
    - base
    - account
    - base_setup
    - product
    - process
    - decimal_precision
    - analytic
    - board
    - edi
    - email_template
    - mail
    - base_tools
    - base_vat
    - base_iban
    - l10n_es
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
Spanish fiscal year closing wizard
    
Replaces the default OpenERP end of year wizards (from account module)
with a more advanced all-in-one wizard that will let the users:
  - Check for unbalanced moves, moves with invalid dates
    or period or draft moves on the fiscal year to be closed.
  - Create the Loss and Profit entry.
  - Create the Net Loss and Profit entry.
  - Create the Closing entry.
  - Create the Opening entry.

It's highly configurable, and comes preconfigured for the current Spanish chart of accounts.

It takes in account deferral method set in account types:
  - None: Nothing is done for this account.
  - Balance: Create account move line with the balance of the year for the account.
  - Detail: Create one account move line for each partner with balance for the account.
  - Unreconciled: Not supported.

Also is stateful, saving all the info about the fiscal year closing, so the
user can cancel and undo the operations easily.

##Serv. Tecnol. Baeza##: Modified for ignoring account moves in 'Other' journey.
    

Code Analysis

Views touched (4)
XML IDNameModelTypeStatus
cancel_fyc_form_view cancel.fyc.form cancel.fyc form New
execute_fyc_form_view execute.fyc.form execute.fyc form New
view_fyc_form l10n_es_fiscal_year_closing.fyc.form l10n_es_fiscal_year_closing.fyc form New
view_fyc_tree l10n_es_fiscal_year_closing.fyc.tree l10n_es_fiscal_year_closing.fyc tree New
Models touched (0)

No models found for this module.