Skip to content

Commit

Permalink
Merge PR #2021 into 18.0
Browse files Browse the repository at this point in the history
Signed-off-by pedrobaeza
  • Loading branch information
OCA-git-bot committed Mar 11, 2025
2 parents d1d31e0 + ca83800 commit d3a7fb6
Show file tree
Hide file tree
Showing 121 changed files with 141,760 additions and 1 deletion.
177 changes: 177 additions & 0 deletions account_asset_management/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,177 @@
=================
Assets Management
=================

..
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:0f553e3c80a7b598bf5b0dd0646fd937d7da71cae697eae6c6fee4e050d07c97
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
.. |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/18.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-18-0/account-financial-tools-18-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=18.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:%2018.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
- Carlos Lopez

- `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/18.0/account_asset_management>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
3 changes: 3 additions & 0 deletions account_asset_management/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
from . import models
from . import report
from . import wizard
33 changes: 33 additions & 0 deletions account_asset_management/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
# Copyright 2009-2019 Noviat
# Copyright 2019 Tecnativa - Pedro M. Baeza
# Copyright 2021 Tecnativa - João Marques
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).

{
"name": "Assets Management",
"version": "18.0.1.0.0",
"license": "AGPL-3",
"depends": ["account", "report_xlsx_helper"],
"excludes": ["account_asset"],
"development_status": "Mature",
"external_dependencies": {"python": ["python-dateutil"]},
"author": "Noviat, Odoo Community Association (OCA)",
"website": "https://github.com/OCA/account-financial-tools",
"category": "Accounting & Finance",
"data": [
"security/account_asset_security.xml",
"security/ir.model.access.csv",
"wizard/account_asset_compute.xml",
"wizard/account_asset_remove.xml",
"views/account_account.xml",
"views/account_asset.xml",
"views/account_asset_group.xml",
"views/account_asset_profile.xml",
"views/account_move.xml",
"views/account_move_line.xml",
"views/menuitem.xml",
"data/cron.xml",
"wizard/wiz_account_asset_report.xml",
"wizard/wiz_asset_move_reverse.xml",
],
}
13 changes: 13 additions & 0 deletions account_asset_management/data/cron.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<?xml version="1.0" encoding="utf-8" ?>
<odoo noupdate="1">
<record forcecreate="True" id="ir_cron_assets_generator" model="ir.cron">
<field name="name">Asset Management: Generate assets</field>
<field name="model_id" ref="model_account_asset_compute" />
<field name="state">code</field>
<field name="code">model.create({}).asset_compute()</field>
<field name="user_id" ref="base.user_root" />
<field name="interval_number">1</field>
<field name="interval_type">days</field>
<field name="active" eval="False" />
</record>
</odoo>
Loading

0 comments on commit d3a7fb6

Please sign in to comment.