Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

14.0 mig account fiscal year closing #199

Merged
merged 22 commits into from
Aug 11, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
22 commits
Select commit Hold shift + click to select a range
ffbdd11
[ADD] account_fiscalyear_closing: Generic engine for closing operations
antespi Sep 15, 2016
d44512b
[FIX+IMP] account_fiscal_year_closing
pedrobaeza Apr 30, 2017
6956d4a
migrate account_fiscal_year_closing to 10.0
JordiBForgeFlow Nov 3, 2017
cd6233c
OCA Transbot updated translations from Transifex
oca-transbot Dec 8, 2017
248c044
[12.0][PORT] account fiscal year closing
sergiocorato Mar 21, 2020
68552c3
[UPD] Update account_fiscal_year_closing.pot
oca-travis Jul 16, 2020
41abddf
[UPD] README.rst
OCA-git-bot Jul 16, 2020
41ad095
Update translation files
oca-transbot Jul 16, 2020
59deff6
Update translation files
oca-transbot Aug 16, 2020
d7a9f2a
[FIX] account_fiscal_year_closing: tests should not use fixed dates
alexey-pelykh Jan 17, 2021
bc2dbfd
[UPD] README.rst
OCA-git-bot Jan 17, 2021
331e159
account_fiscal_year_closing 12.0.1.0.1
OCA-git-bot Jan 17, 2021
b60449c
Translated using Weblate (Italian)
eLBati Feb 22, 2021
3f3cace
IMP account_fiscal_year_closing adding multi company rule for account…
eLBati Feb 24, 2021
3240af9
account_fiscal_year_closing 12.0.1.1.0
OCA-git-bot Mar 2, 2021
5b34a97
Added translation using Weblate (Portuguese (Brazil))
marcelsavegnago Mar 14, 2021
5c06d00
[IMP] account_fiscal_year_closing: black, isort, prettier
SimoRubi May 11, 2021
1950b68
[MIG] account_fiscal_year_closing: Migration to 14.0
SimoRubi May 11, 2021
8e3860e
[IMP] account_fiscal_year_closing: Restore onchange on closing's temp…
SimoRubi Jun 17, 2021
7011fb0
[IMP] account_fiscal_year_closing: Add date field to unbalanced move …
SimoRubi Jun 17, 2021
ee16e44
Merge branch '14.0-mig-account_fiscal_year_closing' of https://github…
matteoopenf Jul 13, 2022
fb4c3ee
[FIX][account_fiscal_year_closing] fix create and write
matteoopenf Jul 13, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
145 changes: 145 additions & 0 deletions account_fiscal_year_closing/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,145 @@
===================
Fiscal year closing
===================

.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
:target: https://odoo-community.org/page/development-status
:alt: Beta
.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
:alt: License: AGPL-3
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Faccount--closing-lightgray.png?logo=github
:target: https://github.com/OCA/account-closing/tree/12.0/account_fiscal_year_closing
:alt: OCA/account-closing
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
:target: https://translation.odoo-community.org/projects/account-closing-12-0/account-closing-12-0-account_fiscal_year_closing
:alt: Translate me on Weblate
.. |badge5| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png
:target: https://runbot.odoo-community.org/runbot/89/12.0
:alt: Try me on Runbot

|badge1| |badge2| |badge3| |badge4| |badge5|

This module implements a generic fiscal year closing system for those
countries where closing/opening moves or other kind of closing operations are
mandatory in accounting books.

It includes a template mechanism that can be used in localizations for
providing the possible configurations to be used by the closing engine.

**Table of contents**

.. contents::
:local:

Configuration
=============

If you want to add a closing template or check existing ones:

#. Go to *Accounting/Invoicing > Configuration > Fiscal year closing > Closing templates*.
#. Click on Create.
#. Put a name for the template.
#. Mark if you want to check if there's any draft move in the date range
before making the closing operations.
#. Select the chart templates for which companies that have this chart you want
this template to be available for.
#. Add one line for each of the journal entries you want to create on the
closing operation.
#. This line has a name, a code, an optional journal (selectable per company),
a sequence for ordering this line with the others, and the type we want to
assign on the resulting journal entry created.
#. Then you can configure accounts for being mapped on the section
"Accounts mapping".
#. If you put a destination account on each mapping line, then the balance of
the source account will be transferred to that account.
#. If there's no destination account, then the balance of the account will be
nullified through one or several journal items with the opposite balance.
#. The way these opposite journal items will be created is determined by the
closing type in the section "Account closing types":

* Balance: There will be only one journal item with the opposite balance.
* Un-reconciled: The opposite balance will be grouped by the partner field
in the period journal entries.

#. There's a default closing type to use, and you can specify others by
account type.
#. You can configure a closing operation for being the reverse move of another
previous move generated by a closing operation (typically, the opening
move after the closing one). For making that, fill the "Inverse config"
field with the code of the closing operation you want to reverse, and
place this operation after that one (not necessarily immediately after).
#. The balances of the inverted journal items and the initial ones are
reconciled by default.

Usage
=====

For closing a fiscal year:

#. Go to *Accounting > Adviser > Fiscal year closings*
#. Click on create.
#. Select the year for which you want to perform the closing. If your fiscal
year doesn't coincide with a natural year, input the last year of both of
the involved years.
#. Select the closing template you want to use.
#. Click on "Calculate".
#. Check the result clicking on the "Show Moves" or "Show Move Lines" buttons.
#. If everything is OK, then click on "Confirm and post moves" for finishing
the closing, posting and reconciling the journal entries.
#. You can cancel the closing in any moment pressing "Cancel" button, which
unreconciles and removes closing journal entries.
#. If one of the created journal entries is unbalanced, as Odoo doesn't allow
to create unbalanced entries, a new screen will be shown for checking the
problem on the created entry.

Bug Tracker
===========

Bugs are tracked on `GitHub Issues <https://github.com/OCA/account-closing/issues>`_.
In case of trouble, please check there if your issue has already been reported.
If you spotted it first, help us smashing it by providing a detailed and welcomed
`feedback <https://github.com/OCA/account-closing/issues/new?body=module:%20account_fiscal_year_closing%0Aversion:%2012.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.

Do not contact contributors directly about support or help with technical issues.

Credits
=======

Authors
~~~~~~~

* Tecnativa

Contributors
~~~~~~~~~~~~

* Antonio Espinosa <[email protected]>
* Pedro M. Baeza <[email protected]>
* Jordi Ballester Alomar <https://github.com/JordiBForgeFlow>
* Sergio Corato <https://github.com/sergiocorato>
* `CorporateHub <https://corporatehub.eu/>`__

* Alexey Pelykh <[email protected]>

Maintainers
~~~~~~~~~~~

This module is maintained by the OCA.

.. image:: https://odoo-community.org/logo.png
:alt: Odoo Community Association
:target: https://odoo-community.org

OCA, or the Odoo Community Association, is a nonprofit organization whose
mission is to support the collaborative development of Odoo features and
promote its widespread use.

This module is part of the `OCA/account-closing <https://github.com/OCA/account-closing/tree/12.0/account_fiscal_year_closing>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
4 changes: 4 additions & 0 deletions account_fiscal_year_closing/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).

from . import models
from . import wizards
26 changes: 26 additions & 0 deletions account_fiscal_year_closing/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# Copyright 2016 Tecnativa - Antonio Espinosa
# Copyright 2016-2017 Tecnativa - Pedro M. Baeza
# Copyright 2020 Sergio Corato <https://github.com/sergiocorato>
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).

{
"name": "Fiscal year closing",
"summary": "Generic fiscal year closing wizard",
"version": "14.0.1.0.0",
"category": "Accounting & Finance",
"website": "https://github.com/OCA/account-closing",
"author": "Tecnativa, Odoo Community Association (OCA)",
"license": "AGPL-3",
"installable": True,
"depends": [
"account",
],
"data": [
"security/account_fiscalyear_closing_security.xml",
"security/ir.model.access.csv",
"views/account_fiscalyear_closing_views.xml",
"views/account_fiscalyear_closing_template_views.xml",
"views/account_move_views.xml",
"wizards/account_fiscal_year_closing_unbalanced_move_views.xml",
],
}
Loading