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

[18.0][MIG] account_asset_management: Migration to version 18.0 #2021

Merged
merged 181 commits into from
Mar 11, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
181 commits
Select commit Hold shift + click to select a range
015785b
move account_asset_management* out of __unported__
lepistone Feb 12, 2015
955514a
[FIX] test floats with assertAlmostEqual
rdeheele Feb 10, 2015
bb2dc8e
make *asset* installable again
lepistone Feb 12, 2015
56a5233
[FIX] Inherited model is a transient model
Apr 20, 2015
2f998f3
[IMP] account_asset_management: use reload_on_button instead of reloa…
sbidoul Apr 23, 2015
10ebcc9
[IMP][account_asset_management] Define a list of move's fields that c…
adrienpeiffer May 29, 2015
5fb7a67
[IMP] account_asset_management: code cosmetics
luc-demeyer Jun 1, 2015
3e9b685
account_asset_management: group invoice lines fix
luc-demeyer Jun 1, 2015
9c0b6dd
analytic enhancement
luc-demeyer Jun 2, 2015
9684bb4
[ADD][account_asset_management] Add check on account move line
adrienpeiffer Jun 2, 2015
c622eda
[FIX][account_asset_management] Add items on affects fields list
adrienpeiffer Jun 2, 2015
d69d2bd
[FIX] account_asset_management: do not propose special and closed per…
sbidoul Jun 26, 2015
ee86c3c
[FIX][account_asset_management] Avoid to select closed or cancelled a…
adrienpeiffer Aug 19, 2015
bb3ffb2
[UPD] prefix versions with 8.0
sbidoul Oct 9, 2015
2afbdd6
[10.0][MIG]account_asset_management suite refactoring + 10.0 port
luc-demeyer Aug 5, 2018
0c3174c
[FIX+IMP] account_asset_management: 2 things:
grindtildeath Sep 28, 2018
a4c0c75
[FIX] account_asset_management: Test data + onchange
luc-demeyer Oct 1, 2018
0ed1b99
[MIG] account_asset_management: Migration to 11.0
grindtildeath Oct 1, 2018
25437b3
[IMP] asset mgt: use exclude manifest key
sbidoul Oct 31, 2018
6d8a422
[MIG] account_asset_management: Migration to 12.0
norlinhenrik Jan 11, 2019
6bff68e
account_asset_management: Add unit test for invoices with multiple as…
MaxyMoos May 24, 2019
e82f7e7
Included PR #828 Fix computation of depreciation lines when having mu…
MaxyMoos May 24, 2019
fe8a43f
Finish 12.0 migration of account_asset_management
sbejaoui Jun 20, 2019
db79659
[12.0][FIX] account_asset_management: date_range -> account_fiscal_ye…
norlinhenrik Jun 28, 2019
41f085f
Translated using Weblate (Portuguese (Brazil))
marcelsavegnago Jul 6, 2019
6f2426f
Translated using Weblate (French)
svalaeys Jul 31, 2019
b37bec5
Translated using Weblate (Spanish)
josepmy Aug 2, 2019
b931702
[FIX] account_asset_management: Provide hook _compute_depreciation_am…
pedrobaeza Aug 12, 2019
ec17f3d
[FIX] account_asset_management: Invisible conditions must be independ…
pedrobaeza Aug 12, 2019
e2084be
[FIX][12.0]asset_management - fix date string compare
luc-demeyer Aug 14, 2019
23349fd
[FIX] account_asset_management: Don't depend on account.fiscal.year c…
pedrobaeza Aug 10, 2019
378a8a2
[MIG] 11.0 account_asset to 12.0 account_asset_management
norlinhenrik Aug 16, 2019
4553a1b
[IMP] removed type, parent_id, parent_path, child_ids from account.as…
norlinhenrik Aug 26, 2019
84c7756
[MIG+FIX+IMP] account_asset_management: Rework migration scripts + ma…
pedrobaeza Aug 31, 2019
c38ae36
Translated using Weblate (Portuguese (Brazil))
Sep 17, 2019
d97435b
[12.0][IMP] account_asset_management
Saran440 Jul 8, 2019
601d693
[ADD] options 'use_leap_years'
Saran440 Oct 22, 2019
a255292
[ADD] allows setting a depreciation ending date
Oct 23, 2019
ba64549
[12.0][FIX][account_asset_management] local variable 'asset' referenc…
Oct 28, 2019
a35a5fb
[MIG] account_asset_management: Handle account_asset_disposal migration
pedrobaeza Nov 7, 2019
9708a19
Translated using Weblate (Portuguese (Brazil))
Nov 24, 2019
728dff9
[MIG] account_asset_management: Handle account_asset_analytic migration
pedrobaeza Dec 1, 2019
29f4c47
[FIX] account_asset_management: Fix tests on leap year
pedrobaeza Jan 3, 2020
2d4e7da
[12.0][FIX]traceback when deviating FY
luc-demeyer Jan 9, 2020
cfcf671
Fixed dynamic build of the name of the view to be called when errors …
svalaeys Jan 17, 2020
a10b96c
[12.0] account_financial_tools: Lint fixing
HviorForgeFlow Jan 20, 2020
99c1387
[IMP] account_asset_management: black, isort
ernestotejeda Jan 29, 2020
9986be4
[MIG] account_asset_management: Migration to 13.0
ernestotejeda Jan 29, 2020
01a4f0b
[FIX] account_asset_management: Avoid error
pedrobaeza Mar 18, 2020
e59e70d
[IMP] account_asset_management: Simplify code for opening related ent…
pedrobaeza Mar 18, 2020
3f5fc4d
[FIX] account_asset_management: Fix tests
Apr 6, 2020
7d09506
[IMP] account_asset_management: Depreciation board compute upon asset…
qgroulard Apr 23, 2020
d8e7360
Fix of pre-commit: E741 ambiguous variable name 'l'
astirpe May 12, 2020
10e2b36
[IMP] account_asset_management: Add scheduled action for the deprecia…
ValentinVinagre Jul 3, 2020
5dc58de
[IMP] account_asset_management: Add chatter entry in invoice for gene…
ValentinVinagre Jul 3, 2020
852ad25
[FIX] account_asset_management: fix remaining_value cache miss error.
Jul 9, 2020
2d3fcbc
[FIX] account_asset_management: FIX empty asset reference
ValentinVinagre Jul 3, 2020
0f5085b
Translated using Weblate (Spanish)
HaraldPanten Jul 22, 2020
a7b615e
[FIX] account_asset_management:
FernandoRomera Jul 30, 2020
52c3ff8
[FIX] version
FernandoRomera Jul 31, 2020
4b34943
[FIX] account_asset_management - Allow editing salvage value
Saran440 Aug 6, 2020
2aa9d25
[IMP] account_asset_management: Improve code and translation
carlosdauden Mar 19, 2020
a054a6d
[IMP] account_asset_management: Refinements
pedrobaeza Aug 12, 2020
77daef5
Translated using Weblate (Chinese (Simplified))
dong-z Aug 13, 2020
870ac04
[FIX] account_asset_management : empty message is posted if there are…
fmdl Sep 24, 2020
1daf8b7
[FIX] account_asset_management: Proper asset unlink + move unlink
pedrobaeza Dec 22, 2020
9103973
[MIG] account_asset_management: Migration to v14
joao-p-marques Jan 14, 2021
be20192
Translated using Weblate (Dutch)
bosd Jan 25, 2021
58a6d2d
[FIX] account_asset_management: Missing field renaming
pedrobaeza Jan 26, 2021
cad7ece
[FIX] account_asset_management: Fix onchange account_id and asset_pro…
victoralmau Mar 11, 2021
09b4357
Translated using Weblate (French)
Yvesldff Mar 22, 2021
fa5abfd
[FIX] account_asset_management: correct field name
yelizariev Mar 29, 2021
2150068
Translated using Weblate (French (France))
Yvesldff Apr 10, 2021
1d9b159
[FIX] account_asset_mamagement: set invoice date
StefanRijnhart Apr 15, 2021
cb8fa1a
[13.0][account_asset_management]: add user error when creating asset …
JordiMForgeFlow Apr 14, 2021
45a1168
[IMP] account_asset_management: Add reporting
luc-demeyer Oct 6, 2019
8d361d5
[FIX] account_asset_management: don't set class attributes in reporting
StefanRijnhart Feb 3, 2021
737f9a5
account_asset_management: fix group_assets sorting
JordiMForgeFlow Apr 14, 2021
b875992
Update translation files
oca-transbot Apr 16, 2021
d7b9a74
Translated using Weblate (Dutch)
bosd Apr 18, 2021
5ad4f46
[UPD] Update account_asset_management.pot
oca-travis Apr 20, 2021
6e2b85f
Update translation files
oca-transbot Apr 20, 2021
ce9a411
[FIX] account_asset_management: Fix error from group_ids in asset whe…
victoralmau Apr 30, 2021
6e984cb
[FIX] account_asset_management: Fix error according to _name_search i…
victoralmau Apr 30, 2021
a41c49b
[13.0][FIX]account_asset_management: use column_invisible for fields …
JordiMForgeFlow May 4, 2021
5a1d92c
[13.0][IMP]account_asset_management: add optional attribute for added…
JordiMForgeFlow May 4, 2021
57a78b7
[FIX] account_asset_management: Prevent create lines with init=True w…
victoralmau Mar 22, 2021
d6fc126
[IMP] account_asset_management: Add analytic tags and propagate
joao-p-marques Apr 6, 2021
0587b9b
[FIX] account_asset_management: include 'number' method_time
MiquelRForgeFlow Apr 19, 2021
6e8cfcb
[FIX] account_asset_management: create asset using Form
MiquelRForgeFlow Apr 20, 2021
92ebd36
Update translation files
oca-transbot May 14, 2021
0f3bc77
[FIX] calculate days when remove asset
Saran440 Aug 19, 2020
87d7082
Translated using Weblate (French)
Yvesldff May 26, 2021
2acced6
[FIX] account_asset_management: Don't put asset name as entry name
pedrobaeza Aug 11, 2021
b695677
[FIX] account_asset_management: make asset company match move's
Aug 12, 2021
cacef73
[13.0][fix][account_asset_management] display only accounts associated
JordiBForgeFlow Feb 11, 2021
000cc51
[13.0][account_asset_management] button to navigate from the vendor bill
JordiBForgeFlow Feb 11, 2021
badbe6c
[13.0][account_asset_management] propose account when user chooses
JordiBForgeFlow Feb 11, 2021
b3c2903
[13.0][account_asset_management] propose account when user chooses
MateuGForgeFlow Feb 23, 2021
8491ec7
[14.0][FIX] account_asset_management: pre-commit
ps-tubtim Jul 21, 2021
ac2d41f
[FIX] account_asset_management: fix _check_dates
ps-tubtim Aug 18, 2021
c28999d
Update translation files
oca-transbot Aug 30, 2021
d8bb528
[14.0][FIX] account_asset_management, error on remove for asset no depre
kittiu Sep 7, 2021
de9c520
[ENH] account_asset_management: Add purchase value in asset report
ps-tubtim Sep 15, 2021
bc414e9
[IMP] account_asset_management: hook for asset vals
MiquelRForgeFlow Sep 16, 2021
8dd5e35
[14.0][FIX] account_asset_management, fix multi currency
kittiu Sep 9, 2021
5f14b37
[14.0][FIX] account_asset_management, singleton error on asset_count
kittiu Sep 28, 2021
4954358
Update translation files
oca-transbot Oct 1, 2021
7715396
[14.0][FIX] account_asset_management, error create bill by purchase user
kittiu Oct 7, 2021
1c10977
account_asset_management: improve and cleanup views
alexis-via Oct 30, 2021
bf656cd
Update translation files
oca-transbot Oct 31, 2021
2e424d4
[FIX] account_asset_management: Avoid the error when clicking on "Del…
victoralmau Nov 9, 2021
eae8382
Translated using Weblate (Arabic)
RachidAlassir Dec 31, 2021
29f539d
[UPD] account_asset_management: Mark as mature
etobella Jan 6, 2022
f84274d
Bump account_asset_management version
sbidoul Jan 7, 2022
b713bb1
[IMP] account_asset_management: assets can be removed irrespective of…
JordiBForgeFlow Jan 11, 2022
7af84b7
[FIX] account_asset_management: sudo smart button asset
ps-tubtim Dec 15, 2021
ba03351
[IMP] account_asset_management: Add chatter + activities to assets.
victoralmau Feb 10, 2022
6b11437
[UPD] Update account_asset_management.pot
oca-travis Feb 10, 2022
2bbcd99
Update translation files
oca-transbot Feb 10, 2022
4adbbc4
[IMP] account_asset_management: set asset_profile_id on invoice creation
mariadforgeflow Feb 9, 2022
ed098c8
[IMP] account_asset_management: add carry_forward_missed_depreciations
JordiBForgeFlow Jun 10, 2021
8de2f73
[IMP] account_asset_management: Allow to reverse the posting of a dep…
JordiBForgeFlow Jul 6, 2021
30b35f6
Update translation files
oca-transbot Feb 15, 2022
56b8b6f
[IMP] update dotfiles
OCA-git-bot Mar 30, 2022
0c11f62
[IMP] account_asset_management: prevent from creating assets from tax…
mariadforgeflow Apr 1, 2022
63bab52
Translated using Weblate (Italian)
francesco-ooops Apr 12, 2022
f7d4ebe
[FIX] calculate day mistake, remove asset
Saran440 Jan 20, 2022
8cdd16f
[IMP] : black, isort, prettier
manuelregidor Apr 13, 2022
bb67aa0
[MIG]account_asset_management: Migration to 15.0
manuelregidor Apr 13, 2022
70847bd
Translated using Weblate (Spanish (Argentina))
ibuioli Apr 24, 2022
864e2f2
[15.0][FIX] account_asset_management: add post-install tagged.
May 3, 2022
a8fa551
Translated using Weblate (Spanish)
LudLaf May 9, 2022
458e103
[MIG] account_asset_management_menu: Migration to 15.0
Jun 28, 2022
5c1d677
[UPD] README.rst
OCA-git-bot Jul 29, 2022
694fc16
[FIX] account_asset_management: Poor performance updating assets mass…
KNVx Nov 22, 2022
eb568ab
[IMP] : pre-commit stuff
alexis-via Nov 29, 2022
de88f5c
[MIG] account_asset_management: Migration to 16.0
RodrigoBM Dec 24, 2022
c6791e6
[REF] account_asset_management: the name of the company_currency_id f…
RodrigoBM Dec 24, 2022
d71dcb4
Translated using Weblate (Croatian)
badbole Feb 16, 2023
a896633
Translated using Weblate (Italian)
mymage Mar 23, 2023
f92f5df
Translated using Weblate (Slovenian)
sysadminmatmoz Mar 30, 2023
fae872b
Translated using Weblate (French)
sanrav May 10, 2023
d548b9b
Translated using Weblate (French (France) (fr_FR))
sanrav May 10, 2023
49ce788
[UPD] Update account_asset_management.pot
May 10, 2023
ac7432c
Update translation files
weblate May 10, 2023
2c92630
Translated using Weblate (Croatian)
badbole May 25, 2023
8820788
Translated using Weblate (French)
sanrav Jun 1, 2023
ac778d1
Translated using Weblate (Spanish)
Gelo-fl Jun 7, 2023
b863ad9
Translated using Weblate (Portuguese (Brazil))
adrianojprado Jun 12, 2023
69a6095
[FIX] account_asset_management: Allow to write on moves with no asset…
Saran440 Jun 30, 2022
a763266
[IMP] account_asset_management: add asset_profile_id and asset_id on …
marcelsavegnago Jun 28, 2023
16b7b84
[FIX] account_asset_management - use company from env and not user
jdidderen Jul 4, 2023
8821ea6
[FIX] account_asset_management: pass for context correct active_id. I…
RodrigoBM Jul 5, 2023
3f045d7
Translated using Weblate (Spanish)
kikopeiro Jul 7, 2023
a90e7c7
[UPD] Update account_asset_management.pot
Sep 3, 2023
d457149
Update translation files
weblate Sep 3, 2023
0a7b88f
Translated using Weblate (Spanish)
Ivorra78 Sep 4, 2023
9fed714
Translated using Weblate (Italian)
francesco-ooops Sep 12, 2023
1954657
[BOT] post-merge updates
OCA-git-bot Oct 5, 2023
d1fd815
Update translation files
weblate Oct 9, 2023
2eff1af
Translated using Weblate (Italian)
francesco-ooops Oct 13, 2023
6164e71
[16.0][FIX] account_asset_management: use Reversal Date to Accounting…
newtratip Oct 17, 2023
b02e339
Translated using Weblate (Dutch)
Oct 17, 2023
e8f2969
Translated using Weblate (French)
Nov 1, 2023
7373502
Translated using Weblate (Spanish (Argentina))
ibuioli Nov 5, 2023
01493ce
Translated using Weblate (Dutch)
ThijsvOers Nov 7, 2023
fabd687
Translated using Weblate (Portuguese (Brazil))
adrianojprado Dec 28, 2023
d58c525
[IMP] account_asset_management: pre-commit auto fixes
sbiosca-s73 May 29, 2024
081dada
[MIG] account_asset_management: Migration to 17.0
sbiosca-s73 May 29, 2024
450f95c
Update translation files
weblate May 31, 2024
7faa3c1
Translated using Weblate (Italian)
mymage Jun 5, 2024
8403acd
[FIX] account_asset_management: Allow to unlink w/o billing permission
pedrobaeza Jun 18, 2024
892e9d1
Update translation files
weblate Jul 17, 2024
fe7b877
Translated using Weblate (Italian)
mymage Aug 30, 2024
3cf25e8
Translated using Weblate (Spanish (Argentina))
ibuioli Sep 16, 2024
941f88f
[FIX] account_asset_management: fix asset report
luc-demeyer Dec 21, 2024
645e293
[IMP] account_asset_management: pre-commit auto fixes
carlos-lopez-tecnativa Jan 30, 2025
c581dba
[MIG] account_asset_management: Migration to version 18.0
carlos-lopez-tecnativa Jan 30, 2025
eb4a3c2
[FIX] account_journal_restrict_mode: Make compatible with other modules
carlos-lopez-tecnativa Jan 30, 2025
ca83800
[ENH] account_asset_management: default salvage value on profile
ps-tubtim Jan 26, 2023
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
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