Commit Graph

302 Commits

Author SHA1 Message Date
OCA-git-bot
b6d82cbbc9 account_asset_management 14.0.1.1.0 2024-05-28 12:50:13 +02:00
OCA-git-bot
d6c76bdf9b [UPD] README.rst 2024-05-28 12:50:13 +02:00
oca-travis
d61d9a81bb [UPD] Update account_asset_management.pot 2024-05-28 12:50:13 +02:00
Bosd
d6834246dd 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/
2024-05-28 12:50:13 +02:00
OCA Transbot
d701ec62f9 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/
2024-05-28 12:50:13 +02:00
OCA-git-bot
800cda626b account_asset_management 14.0.1.0.5 2024-05-28 12:50:13 +02:00
oca-travis
ed0a9bcbf1 [UPD] Update account_asset_management.pot 2024-05-28 12:50:13 +02:00
JordiMForgeFlow
df3f49e6cb account_asset_management: fix group_assets sorting 2024-05-28 12:50:13 +02:00
Stefan Rijnhart
336b8b3163 [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
2024-05-28 12:50:13 +02:00
Luc De Meyer
99e6fa3709 [IMP] account_asset_management: Add reporting 2024-05-28 12:50:13 +02:00
JordiMForgeFlow
73bc61ddb1 [13.0][account_asset_management]: add user error when creating asset from bill 2024-05-28 12:50:13 +02:00
OCA-git-bot
396cb4bcff account_asset_management 14.0.1.0.4 2024-05-28 12:50:13 +02:00
Stefan Rijnhart
5d5ff411ac [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
2024-05-28 12:50:13 +02:00
Yves Le Doeuff
14f4f50d89 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/
2024-05-28 12:50:13 +02:00
OCA-git-bot
2ae8227551 account_asset_management 14.0.1.0.3 2024-05-28 12:50:13 +02:00
Ivan Yelizariev // IEL
c3dafec116 [FIX] account_asset_management: correct field name 2024-05-28 12:50:13 +02:00
Yves Le Doeuff
4a64951b88 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/
2024-05-28 12:50:13 +02:00
OCA-git-bot
e51c0832d5 account_asset_management 14.0.1.0.2 2024-05-28 12:50:13 +02:00
OCA-git-bot
b63a91ed0c [UPD] README.rst 2024-05-28 12:50:13 +02:00
Víctor Martínez
3dee7d4510 [FIX] account_asset_management: Fix onchange account_id and asset_profile_id to prevent account_id is empty in some use cases 2024-05-28 12:50:13 +02:00
Pedro M. Baeza
de7e1b745d [FIX] account_asset_management: Missing field renaming
type > move_type, due to uncovered code.
2024-05-28 12:50:13 +02:00
Bosd
548d36c9ab 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/
2024-05-28 12:50:13 +02:00
OCA-git-bot
80e18c2c21 [UPD] README.rst 2024-05-28 12:50:13 +02:00
oca-travis
c2d844e955 [UPD] Update account_asset_management.pot 2024-05-28 12:50:13 +02:00
João Marques
0a38993a0c [MIG] account_asset_management: Migration to v14
TT26410
2024-05-28 12:50:13 +02:00
Pedro M. Baeza
f12d3b72c6 [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.
2024-05-28 12:50:13 +02:00
Florent de Labarre
5e1be6a797 [FIX] account_asset_management : empty message is posted if there are no asset 2024-05-28 12:50:13 +02:00
Dong
b2a5706cce 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/
2024-05-28 12:50:13 +02:00
Pedro M. Baeza
7255d48ed4 [IMP] account_asset_management: Refinements 2024-05-28 12:50:13 +02:00
Carlos Dauden
fdfd019a64 [IMP] account_asset_management: Improve code and translation 2024-05-28 12:50:13 +02:00
Saran440
68f6986676 [FIX] account_asset_management - Allow editing salvage value 2024-05-28 12:50:13 +02:00
fromera
688f829f1e [FIX] version
[FIX] new line

[FIX] new line

[FIX] without openupgrade

[FIX] without openupgrade

[FIX] without openupgrade

[FIX] without openupgrade

[FIX] without openupgrade
2024-05-28 12:50:13 +02:00
fromera
bbe7543bfd [FIX] account_asset_management:
* multicompany error
2024-05-28 12:50:13 +02:00
Harald Panten
8134e58907 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/
2024-05-28 12:50:12 +02:00
Valentin Vinagre Urteaga
040cb6d6fa [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.
2024-05-28 12:50:12 +02:00
Ernesto Tejeda
99aca9cab7 [FIX] account_asset_management: fix remaining_value cache miss error. 2024-05-28 12:50:12 +02:00
Valentin Vinagre Urteaga
e9284170ac [IMP] account_asset_management: Add chatter entry in invoice for generated asset 2024-05-28 12:50:12 +02:00
Valentin Vinagre Urteaga
5d5682008f [IMP] account_asset_management: Add scheduled action for the depreciation asset entries creation. 2024-05-28 12:50:12 +02:00
Andrea
4f0feff985 Fix of pre-commit: E741 ambiguous variable name 'l' 2024-05-28 12:50:12 +02:00
Quentin Groulard
481476de81 [IMP] account_asset_management: Depreciation board compute upon asset confirmation 2024-05-28 12:50:12 +02:00
Ernesto Tejeda
a0c8a51d4e [FIX] account_asset_management: Fix tests 2024-05-28 12:50:12 +02:00
Pedro M. Baeza
51433806b3 [IMP] account_asset_management: Simplify code for opening related entries
We don't need the search having the one2many field and no need also for list
comprehension having mapped operator.
2024-05-28 12:50:12 +02:00
Pedro M. Baeza
eff83ba8b8 [FIX] account_asset_management: Avoid error
Steps to reproduce the problem:

* Go to assets view
* Group by profile
* Unfold a group and click on an asset
* Click on "Journal Entries" smart-button
* Go back to the asset list
* Click again on the same asset (or another).
* Click on "Journal Entries" smart-button

Current behavior:

Error saying "KeyError: 'profile_id'"

Expected behavior:

No error

The cause for this is that Odoo stores in the context the key `group_by` with the
value `profile_id` in the specified chain of steps. That context entry is used for
grouping records in the list, and system tries to group the journal entries also
by that field, which doesn't exists in the other model, and thus the error.

We avoided it copying the context to be passes and leaving out that entry.
2024-05-28 12:50:12 +02:00
ernestotejeda
3b0087f059 [MIG] account_asset_management: Migration to 13.0 2024-05-28 12:50:12 +02:00
ernestotejeda
1cf04b7db2 [IMP] account_asset_management: black, isort 2024-05-28 12:50:12 +02:00
hveficent
32d07555ea [12.0] account_financial_tools: Lint fixing 2024-05-28 12:50:12 +02:00
Stéphane Valaeys
88deaec033 Fixed dynamic build of the name of the view to be called when errors are found 2024-05-28 12:50:12 +02:00
Luc De Meyer
a997710035 [12.0][FIX]traceback when deviating FY 2024-05-28 12:50:12 +02:00
Pedro M. Baeza
66385b4162 [FIX] account_asset_management: Fix tests on leap year
It's bad idea to let dates to be variable.
2024-05-28 12:50:12 +02:00
Pedro M. Baeza
1a8141ec38 [MIG] account_asset_management: Handle account_asset_analytic migration
Only field renaming is needed.
2024-05-28 12:50:12 +02:00