2
0
account-financial-tools/account_asset_management
Pedro M. Baeza 3221745c32 [FIX] account_asset_management: Display significant information about the error
As it was, the information put was like:

```
Error mientras se procesa el activo '....': <class 'odoo.exceptions.UserError'>
```

Now, it is:

```
Error mientras se procesa el activo '....': UserError("No puedes usar esta cuenta (...) en este diario, consulta la sección 'Control-Acceso' en la pestaña 'Configuración avanzada' en el diario relacionado.")
```

TT46362
2024-03-06 09:19:52 +01:00
..
data [MIG]account_asset_management: Migration to 15.0 2022-12-24 00:42:23 +01:00
i18n Translated using Weblate (Italian) 2024-02-29 13:34:15 +00:00
models [FIX] account_asset_management: Display significant information about the error 2024-03-06 09:19:52 +01:00
readme [MIG]account_asset_management: Migration to 15.0 2022-12-24 00:42:23 +01:00
report [MIG] account_asset_management: Migration to 16.0 2023-01-04 16:07:33 +01:00
security [MIG]account_asset_management: Migration to 15.0 2022-12-24 00:42:23 +01:00
static/description [BOT] post-merge updates 2024-02-16 08:44:28 +00:00
tests [ENH] account_asset_management: default salvage value on profile 2024-02-15 18:52:42 +07:00
views [ENH] account_asset_management: default salvage value on profile 2024-02-15 18:52:42 +07:00
wizard [16.0][FIX] account_asset_management: use Reversal Date to Accounting Date of reversal entry 2023-10-17 10:53:58 +07:00
__init__.py [IMP] account_asset_management: Add reporting 2022-12-24 00:42:22 +01:00
__manifest__.py [BOT] post-merge updates 2024-02-16 08:44:28 +00:00
README.rst [BOT] post-merge updates 2024-02-16 08:44:28 +00:00

=================
Assets Management
=================

.. 
   !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
   !! This file is generated by oca-gen-addon-readme !!
   !! changes will be overwritten.                   !!
   !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
   !! source digest: sha256:0ca7fd9f483fed02c1f5bb1069ebde5f1ee43ee04a2dc47854f5992b0e3be662
   !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

.. |badge1| image:: https://img.shields.io/badge/maturity-Mature-brightgreen.png
    :target: https://odoo-community.org/page/development-status
    :alt: Mature
.. |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--financial--tools-lightgray.png?logo=github
    :target: https://github.com/OCA/account-financial-tools/tree/16.0/account_asset_management
    :alt: OCA/account-financial-tools
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
    :target: https://translation.odoo-community.org/projects/account-financial-tools-16-0/account-financial-tools-16-0-account_asset_management
    :alt: Translate me on Weblate
.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png
    :target: https://runboat.odoo-community.org/builds?repo=OCA/account-financial-tools&target_branch=16.0
    :alt: Try me on Runboat

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

This Module manages the assets owned by a company. It will keep
track of depreciation's occurred on those assets. And it allows to create
accounting entries from the depreciation lines.

The full asset life-cycle is managed (from asset creation to asset removal).

Assets can be created manually as well as automatically
(via the creation of an accounting entry on the asset account).

Depreciation Journal Entries can be created manually in the "Deprecation Board" tab,
or automatically by two ways:

* Using the "Invoicing/Assets/Compute Assets" wizard.
* Activating the "Asset Management: Generate assets" cron.

These options are compatibles each other.

The module contains a large number of functional enhancements compared to
the standard account_asset module from Odoo.

**Table of contents**

.. contents::
   :local:

Usage
=====

The module in NOT compatible with the standard account_asset module.

Changelog
=========

14.0.1.0.0 (2021-01-08)
~~~~~~~~~~~~~~~~~~~~~~~

 * [BREAKING] Removed all functionality associated with `account.fiscal.year`

13.0.3.0.0 (2021-07-06)
~~~~~~~~~~~~~~~~~~~~~~~

* Allow to reverse the posting of a depreciation line instead of deleting the
  journal entry.

13.0.2.0.0 (2021-02-19)
~~~~~~~~~~~~~~~~~~~~~~~

* Add support for multi-company

13.0.1.0.0 (2019-10-21)
~~~~~~~~~~~~~~~~~~~~~~~

* Python code and views were adapted to be compatible with v13.
* When assets are created through accounting journal items,
  they are created when the journal items is posted.
* When a Bill Invoice is created or modified, at the time it is saved,
  for each line that has an Asset profile and Quantity 'N'
  greater than 1, it will be replaced by 'N' lines identical to it but
  with quantity 1. This was done to maintain the same behavior as in
  the previous version, in which for each asset created there is a
  Journal Item. In addition, this solution does not change the data
  model which does not cause migration scripts.
* The configuration option was removed so the only function of that is to
  allow the module to be uninstalled by unchecking that configuration option.
* Tests were adapted.

12.0.2.1.0 (2019-10-21)
~~~~~~~~~~~~~~~~~~~~~~~

* [IMP] Add option to calculate depreciation table by days

12.0.1.0.0 (2019-01-13)
~~~~~~~~~~~~~~~~~~~~~~~

* [BREAKING] account.asset: parent_path has replaced parent_left & parent_right (TODO: migration script)
* [BREAKING] account.asset.recompute.trigger: depends on date_range.py (TODO: re-implement in account_fiscal_year.py)

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

Bugs are tracked on `GitHub Issues <https://github.com/OCA/account-financial-tools/issues>`_.
In case of trouble, please check there if your issue has already been reported.
If you spotted it first, help us to smash it by providing a detailed and welcomed
`feedback <https://github.com/OCA/account-financial-tools/issues/new?body=module:%20account_asset_management%0Aversion:%2016.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
~~~~~~~

* Noviat

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

* OpenERP SA
* Luc De Meyer (Noviat)
* Frédéric Clementi (camptocamp)
* Florian Dacosta (Akretion)
* Stéphane Bidoul (Acsone)
* Adrien Peiffer (Acsone)
* Akim Juillerat <akim.juillerat@camptocamp.com>
* Henrik Norlin (Apps2GROW)
* Maxence Groine <mgroine@fiefmanage.ch>
* Kitti Upariphutthiphong <kittiu@ecosoft.co.th>
* Saran Lim. <saranl@ecosoft.co.th>
* `Tecnativa <https://www.tecnativa.com>`_:

  * Ernesto Tejeda
  * Pedro M. Baeza
  * João Marques
  * Víctor Martínez

* `ForgeFlow <https://www.forgeflow.com>`_:

  * Jordi Ballester <jordi.ballester@forgeflow.com>
  * Miquel Raïch <miquel.raich@forgeflow.com>

* `Sygel <https://www.sygel.es>`_:

  * Manuel Regidor <manuel.regidor@sygel.es>

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-financial-tools <https://github.com/OCA/account-financial-tools/tree/16.0/account_asset_management>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.