2
0
Commit Graph

206 Commits

Author SHA1 Message Date
ps-tubtim
c8e3f435c7 [FIX] account_asset_management: sudo smart button asset 2022-12-24 00:42:23 +01:00
OCA-git-bot
5c2d3c81ec account_asset_management 14.0.2.4.4 2022-12-24 00:42:23 +01:00
Jordi Ballester
6d428fa582 [IMP] account_asset_management: assets can be removed irrespective of the Time Method used
It does not make sense that you cannot remove an asset where the time method used
is not based on number of years or end date. If you choose, for example, to depreciate the asset
using the time method 'Number of depreciations' you will want to remove the asset when it has been
fully depreciated.
2022-12-24 00:42:23 +01:00
Pedro M. Baeza
8fd71e7518 account_asset_management 14.0.2.4.3 2022-12-24 00:42:23 +01:00
Stéphane Bidoul
4204525596 Bump account_asset_management version 2022-12-24 00:42:23 +01:00
OCA-git-bot
d50380e1fe [UPD] README.rst 2022-12-24 00:42:23 +01:00
Enric Tobella
2e8a7a316a [UPD] account_asset_management: Mark as mature 2022-12-24 00:42:23 +01:00
Rachid Al Assir
bdb9459722 Translated using Weblate (Arabic)
Currently translated at 34.5% (75 of 217 strings)

Translation: account-financial-tools-14.0/account-financial-tools-14.0-account_asset_management
Translate-URL: https://translation.odoo-community.org/projects/account-financial-tools-14-0/account-financial-tools-14-0-account_asset_management/ar/
2022-12-24 00:42:23 +01:00
OCA-git-bot
cb7985d052 account_asset_management 14.0.2.4.1 2022-12-24 00:42:23 +01:00
Víctor Martínez
c6c9e97d78 [FIX] account_asset_management: Avoid the error when clicking on "Delete" button if there is a residual value and all the depreciation lines are posted.
TT32861
2022-12-24 00:42:23 +01:00
OCA Transbot
7cf130c163 Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: account-financial-tools-14.0/account-financial-tools-14.0-account_asset_management
Translate-URL: https://translation.odoo-community.org/projects/account-financial-tools-14-0/account-financial-tools-14-0-account_asset_management/
2022-12-24 00:42:23 +01:00
OCA-git-bot
0cfa4b331c account_asset_management 14.0.2.4.0 2022-12-24 00:42:23 +01:00
oca-travis
b549ad5194 [UPD] Update account_asset_management.pot 2022-12-24 00:42:23 +01:00
Alexis de Lattre
445dc250be account_asset_management: improve and cleanup views 2022-12-24 00:42:23 +01:00
OCA-git-bot
89ea045c31 account_asset_management 14.0.2.3.0 2022-12-24 00:42:22 +01:00
Kitti U
8f6f104031 [14.0][FIX] account_asset_management, error create bill by purchase user 2022-12-24 00:42:22 +01:00
OCA Transbot
8002ad0c77 Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: account-financial-tools-14.0/account-financial-tools-14.0-account_asset_management
Translate-URL: https://translation.odoo-community.org/projects/account-financial-tools-14-0/account-financial-tools-14-0-account_asset_management/
2022-12-24 00:42:22 +01:00
OCA-git-bot
07d6bb23c8 account_asset_management 14.0.2.2.3 2022-12-24 00:42:22 +01:00
oca-travis
5c538fd93d [UPD] Update account_asset_management.pot 2022-12-24 00:42:22 +01:00
OCA-git-bot
6b6338f4b3 account_asset_management 14.0.2.2.2 2022-12-24 00:42:22 +01:00
Kitti U
0dea77f078 [14.0][FIX] account_asset_management, singleton error on asset_count 2022-12-24 00:42:22 +01:00
OCA-git-bot
426d1bd3d6 account_asset_management 14.0.2.2.1 2022-12-24 00:42:22 +01:00
Kitti U
32c477bdb4 [14.0][FIX] account_asset_management, fix multi currency 2022-12-24 00:42:22 +01:00
OCA-git-bot
0ef94127f9 account_asset_management 14.0.2.2.0 2022-12-24 00:42:22 +01:00
mreficent
bc1cdf35aa [IMP] account_asset_management: hook for asset vals 2022-12-24 00:42:22 +01:00
ps-tubtim
40f4b6cf8a [ENH] account_asset_management: Add purchase value in asset report 2022-12-24 00:42:22 +01:00
Kitti U
542e0eae58 [14.0][FIX] account_asset_management, error on remove for asset no depre 2022-12-24 00:42:22 +01:00
OCA Transbot
dc5197eaa0 Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: account-financial-tools-14.0/account-financial-tools-14.0-account_asset_management
Translate-URL: https://translation.odoo-community.org/projects/account-financial-tools-14-0/account-financial-tools-14-0-account_asset_management/
2022-12-24 00:42:22 +01:00
OCA-git-bot
a8f7085a14 account_asset_management 14.0.2.1.0 2022-12-24 00:42:22 +01:00
OCA-git-bot
a21e24ce4a [UPD] README.rst 2022-12-24 00:42:22 +01:00
oca-travis
052ce5e6c5 [UPD] Update account_asset_management.pot 2022-12-24 00:42:22 +01:00
ps-tubtim
1099b85fe7 [FIX] account_asset_management: fix _check_dates 2022-12-24 00:42:22 +01:00
ps-tubtim
6d49df0ddf [14.0][FIX] account_asset_management: pre-commit 2022-12-24 00:42:22 +01:00
Mateu Griful
69299744f2 [13.0][account_asset_management] propose account when user chooses 2022-12-24 00:42:22 +01:00
Jordi Ballester
ffa8d96851 [13.0][account_asset_management] propose account when user chooses 2022-12-24 00:42:22 +01:00
Jordi Ballester
cf6de3db86 [13.0][account_asset_management] button to navigate from the vendor bill
to the asset.
2022-12-24 00:42:22 +01:00
Jordi Ballester
319042dc87 [13.0][fix][account_asset_management] display only accounts associated
to the current company.
2022-12-24 00:42:22 +01:00
OCA-git-bot
7d2a79fea4 account_asset_management 14.0.2.0.3 2022-12-24 00:42:22 +01:00
Jairo Llopis
ca744428ef [FIX] account_asset_management: make asset company match move's
To start, the context `company_id` is no longer used in v14. Instead, we use `with_company`.

OTOH, it doesn't make much sense because in case you have several companies enabled in your context, not necessarily your main one is gonna be the one that should be used for the asset. Instead, it should be the move company always, or consistency rules will fail.

Altered forward port of https://github.com/OCA/account-financial-tools/pull/1223.

@Tecnativa TT31311
2022-12-24 00:42:22 +01:00
Pedro M. Baeza
8dc37aa648 [FIX] account_asset_management: Don't put asset name as entry name
This can provoke an error due to duplicated entry name.

Remaining of the migration to version 13.0, and similar to
b7637cbe45 (diff-5318cd3560cdb2d23d2889fe39c5b71745c140810b20f64f0c9aa5b24b8b602bL206)
2022-12-24 00:42:22 +01:00
OCA-git-bot
72abb8ed9d account_asset_management 14.0.2.0.1 2022-12-24 00:42:22 +01:00
Yves Le Doeuff
098e990f1d Translated using Weblate (French)
Currently translated at 99.0% (218 of 220 strings)

Translation: account-financial-tools-14.0/account-financial-tools-14.0-account_asset_management
Translate-URL: https://translation.odoo-community.org/projects/account-financial-tools-14-0/account-financial-tools-14-0-account_asset_management/fr/
2022-12-24 00:42:22 +01:00
Saran440
d95641888f [FIX] calculate days when remove asset 2022-12-24 00:42:22 +01:00
OCA Transbot
80bfe5b91b Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: account-financial-tools-14.0/account-financial-tools-14.0-account_asset_management
Translate-URL: https://translation.odoo-community.org/projects/account-financial-tools-14-0/account-financial-tools-14-0-account_asset_management/
2022-12-24 00:42:22 +01:00
OCA-git-bot
1c1c7ccde0 account_asset_management 14.0.2.0.0 2022-12-24 00:42:22 +01:00
oca-travis
9bfd612c51 [UPD] Update account_asset_management.pot 2022-12-24 00:42:22 +01:00
mreficent
c964dccf2c [FIX] account_asset_management: create asset using Form
This way, the computes are computed as expected.
2022-12-24 00:42:22 +01:00
mreficent
b1b0952153 [FIX] account_asset_management: include 'number' method_time 2022-12-24 00:42:22 +01:00
João Marques
2cbf50e056 [IMP] account_asset_management: Add analytic tags and propagate
TT28974
2022-12-24 00:42:22 +01:00
Víctor Martínez
0325891a82 [FIX] account_asset_management: Prevent create lines with init=True when account_lock_date_update addon is installed and lock date defined 2022-12-24 00:42:22 +01:00
OCA-git-bot
8bb45eb2f4 account_asset_management 14.0.1.2.0 2022-12-24 00:42:22 +01:00
JordiMForgeFlow
e60864453b [13.0][IMP]account_asset_management: add optional attribute for added columns in invoice lines 2022-12-24 00:42:22 +01:00
JordiMForgeFlow
43d3b98445 [13.0][FIX]account_asset_management: use column_invisible for fields inside a tree of a o2m field 2022-12-24 00:42:22 +01:00
OCA-git-bot
7f895e9a07 account_asset_management 14.0.1.1.1 2022-12-24 00:42:22 +01:00
Víctor Martínez
db1e569dab [FIX] account_asset_management: Fix error according to _name_search in group when try to set groups in profile 2022-12-24 00:42:22 +01:00
Víctor Martínez
79cc93f3dd [FIX] account_asset_management: Fix error from group_ids in asset when set profile_id 2022-12-24 00:42:22 +01:00
OCA Transbot
ab3e333b21 Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: account-financial-tools-14.0/account-financial-tools-14.0-account_asset_management
Translate-URL: https://translation.odoo-community.org/projects/account-financial-tools-14-0/account-financial-tools-14-0-account_asset_management/
2022-12-24 00:42:22 +01:00
OCA-git-bot
3ef2b36685 account_asset_management 14.0.1.1.0 2022-12-24 00:42:22 +01:00
OCA-git-bot
38a9e44ecf [UPD] README.rst 2022-12-24 00:42:22 +01:00
oca-travis
761bd91cd9 [UPD] Update account_asset_management.pot 2022-12-24 00:42:22 +01:00
Bosd
fa89c10032 Translated using Weblate (Dutch)
Currently translated at 66.3% (128 of 193 strings)

Translation: account-financial-tools-14.0/account-financial-tools-14.0-account_asset_management
Translate-URL: https://translation.odoo-community.org/projects/account-financial-tools-14-0/account-financial-tools-14-0-account_asset_management/nl/
2022-12-24 00:42:22 +01:00
OCA Transbot
ea79849627 Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: account-financial-tools-14.0/account-financial-tools-14.0-account_asset_management
Translate-URL: https://translation.odoo-community.org/projects/account-financial-tools-14-0/account-financial-tools-14-0-account_asset_management/
2022-12-24 00:42:22 +01:00
OCA-git-bot
8960b8b21b account_asset_management 14.0.1.0.5 2022-12-24 00:42:22 +01:00
oca-travis
ad6603c3a9 [UPD] Update account_asset_management.pot 2022-12-24 00:42:22 +01:00
JordiMForgeFlow
c0a3318da9 account_asset_management: fix group_assets sorting 2022-12-24 00:42:22 +01:00
Stefan Rijnhart
9352bd825c [FIX] account_asset_management: don't set class attributes in reporting
Also, actually generate report in test plus other tests to make it to the
codecov target
2022-12-24 00:42:22 +01:00
Luc De Meyer
e4796d3bd5 [IMP] account_asset_management: Add reporting 2022-12-24 00:42:22 +01:00
JordiMForgeFlow
0d332ba006 [13.0][account_asset_management]: add user error when creating asset from bill 2022-12-24 00:42:22 +01:00
OCA-git-bot
77426303c9 account_asset_management 14.0.1.0.4 2022-12-24 00:42:22 +01:00
Stefan Rijnhart
a492122458 [FIX] account_asset_mamagement: set invoice date
Adapt to https://github.com/odoo/odoo/commit/fcaa54939e, which prevents
setting a default invoice date for purchase documents
2022-12-24 00:42:22 +01:00
Yves Le Doeuff
2a26034fab Translated using Weblate (French (France))
Currently translated at 97.9% (189 of 193 strings)

Translation: account-financial-tools-14.0/account-financial-tools-14.0-account_asset_management
Translate-URL: https://translation.odoo-community.org/projects/account-financial-tools-14-0/account-financial-tools-14-0-account_asset_management/fr_FR/
2022-12-24 00:42:22 +01:00
OCA-git-bot
7887680bb1 account_asset_management 14.0.1.0.3 2022-12-24 00:42:22 +01:00
Ivan Yelizariev // IEL
dbf86cf569 [FIX] account_asset_management: correct field name 2022-12-24 00:42:22 +01:00
Yves Le Doeuff
1a640124f4 Translated using Weblate (French)
Currently translated at 98.9% (191 of 193 strings)

Translation: account-financial-tools-14.0/account-financial-tools-14.0-account_asset_management
Translate-URL: https://translation.odoo-community.org/projects/account-financial-tools-14-0/account-financial-tools-14-0-account_asset_management/fr/
2022-12-24 00:42:22 +01:00
Yves Le Doeuff
e4adbb0850 Translated using Weblate (French)
Currently translated at 95.8% (185 of 193 strings)

Translation: account-financial-tools-14.0/account-financial-tools-14.0-account_asset_management
Translate-URL: https://translation.odoo-community.org/projects/account-financial-tools-14-0/account-financial-tools-14-0-account_asset_management/fr/
2022-12-24 00:42:22 +01:00
OCA-git-bot
f94e33a2be account_asset_management 14.0.1.0.2 2022-12-24 00:42:22 +01:00
OCA-git-bot
4abc44c56e [UPD] README.rst 2022-12-24 00:42:22 +01:00
Víctor Martínez
4e31113bbe [FIX] account_asset_management: Fix onchange account_id and asset_profile_id to prevent account_id is empty in some use cases 2022-12-24 00:42:22 +01:00
Pedro M. Baeza
1620d3a4d8 [FIX] account_asset_management: Missing field renaming
type > move_type, due to uncovered code.
2022-12-24 00:42:22 +01:00
Bosd
bfdda99bf9 Translated using Weblate (Dutch)
Currently translated at 59.0% (114 of 193 strings)

Translation: account-financial-tools-14.0/account-financial-tools-14.0-account_asset_management
Translate-URL: https://translation.odoo-community.org/projects/account-financial-tools-14-0/account-financial-tools-14-0-account_asset_management/nl/
2022-12-24 00:42:21 +01:00
OCA-git-bot
80e7f7c95b [UPD] README.rst 2022-12-24 00:42:21 +01:00
oca-travis
d82c9c0221 [UPD] Update account_asset_management.pot 2022-12-24 00:42:21 +01:00
João Marques
dd7e4e08df [MIG] account_asset_management: Migration to v14
TT26410
2022-12-24 00:42:21 +01:00
Pedro M. Baeza
2aa11d4e40 [FIX] account_asset_management: Proper asset unlink + move unlink
2 related fixes:

- When removing an asset line depreciation move, we have to pass it
  first to draft, or we won't be able to remove it even with the
  context.
- When removing a move, the check for removing the linked asset should
  be only for purchase documents, not for "not sale" documents.
2022-12-24 00:42:21 +01:00
Florent de Labarre
3945771c61 [FIX] account_asset_management : empty message is posted if there are no asset 2022-12-24 00:42:21 +01:00
Dong
d57d0a48a1 Translated using Weblate (Chinese (Simplified))
Currently translated at 49.7% (96 of 193 strings)

Translation: account-financial-tools-13.0/account-financial-tools-13.0-account_asset_management
Translate-URL: https://translation.odoo-community.org/projects/account-financial-tools-13-0/account-financial-tools-13-0-account_asset_management/zh_CN/
2022-12-24 00:42:21 +01:00
Dong
a1a106747e Translated using Weblate (Chinese (Simplified))
Currently translated at 48.2% (93 of 193 strings)

Translation: account-financial-tools-13.0/account-financial-tools-13.0-account_asset_management
Translate-URL: https://translation.odoo-community.org/projects/account-financial-tools-13-0/account-financial-tools-13-0-account_asset_management/zh_CN/
2022-12-24 00:42:21 +01:00
Dong
d6d802eaf2 Translated using Weblate (Chinese (Simplified))
Currently translated at 42.0% (81 of 193 strings)

Translation: account-financial-tools-13.0/account-financial-tools-13.0-account_asset_management
Translate-URL: https://translation.odoo-community.org/projects/account-financial-tools-13-0/account-financial-tools-13-0-account_asset_management/zh_CN/
2022-12-24 00:42:21 +01:00
Dong
c6e1ff1576 Translated using Weblate (Chinese (Simplified))
Currently translated at 40.4% (78 of 193 strings)

Translation: account-financial-tools-13.0/account-financial-tools-13.0-account_asset_management
Translate-URL: https://translation.odoo-community.org/projects/account-financial-tools-13-0/account-financial-tools-13-0-account_asset_management/zh_CN/
2022-12-24 00:42:21 +01:00
Dong
9b5df9cf13 Translated using Weblate (Chinese (Simplified))
Currently translated at 39.9% (77 of 193 strings)

Translation: account-financial-tools-13.0/account-financial-tools-13.0-account_asset_management
Translate-URL: https://translation.odoo-community.org/projects/account-financial-tools-13-0/account-financial-tools-13-0-account_asset_management/zh_CN/
2022-12-24 00:42:21 +01:00
Dong
20b6aeeeb7 Translated using Weblate (Chinese (Simplified))
Currently translated at 39.9% (77 of 193 strings)

Translation: account-financial-tools-13.0/account-financial-tools-13.0-account_asset_management
Translate-URL: https://translation.odoo-community.org/projects/account-financial-tools-13-0/account-financial-tools-13-0-account_asset_management/zh_CN/
2022-12-24 00:42:21 +01:00
Pedro M. Baeza
2b360a8c27 [IMP] account_asset_management: Refinements 2022-12-24 00:42:21 +01:00
Carlos Dauden
389d82839e [IMP] account_asset_management: Improve code and translation 2022-12-24 00:42:21 +01:00
Saran440
869cc39d5e [FIX] account_asset_management - Allow editing salvage value 2022-12-24 00:42:21 +01:00
fromera
71006a184e [FIX] version
[FIX] new line

[FIX] new line

[FIX] without openupgrade

[FIX] without openupgrade

[FIX] without openupgrade

[FIX] without openupgrade

[FIX] without openupgrade
2022-12-24 00:42:21 +01:00
fromera
6d84227c16 [FIX] account_asset_management:
* multicompany error
2022-12-24 00:42:21 +01:00
Harald Panten
86301ee336 Translated using Weblate (Spanish)
Currently translated at 87.7% (171 of 195 strings)

Translation: account-financial-tools-13.0/account-financial-tools-13.0-account_asset_management
Translate-URL: https://translation.odoo-community.org/projects/account-financial-tools-13-0/account-financial-tools-13-0-account_asset_management/es/
2022-12-24 00:42:21 +01:00
Valentin Vinagre Urteaga
9f9a72f073 [FIX] account_asset_management: FIX empty asset reference
If the assets are created before posting the invoice, they wouldn't have a name and the "code" field of the assets will be empty, but they would have the invoice name.
2022-12-24 00:42:21 +01:00
Ernesto Tejeda
a555ed9259 [FIX] account_asset_management: fix remaining_value cache miss error. 2022-12-24 00:42:21 +01:00
Valentin Vinagre Urteaga
009b0b494a [IMP] account_asset_management: Add chatter entry in invoice for generated asset 2022-12-24 00:42:21 +01:00