Commit Graph

362 Commits

Author SHA1 Message Date
Yves Le Doeuff
8eea5c67da 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-04-13 10:57:57 +02:00
OCA-git-bot
483e8cc614 account_asset_management 14.0.1.0.2 2022-04-13 10:57:57 +02:00
OCA-git-bot
88da5eaad3 [UPD] README.rst 2022-04-13 10:57:57 +02:00
Víctor Martínez
88e91435b8 [FIX] account_asset_management: Fix onchange account_id and asset_profile_id to prevent account_id is empty in some use cases 2022-04-13 10:57:57 +02:00
Pedro M. Baeza
579fe29f84 [FIX] account_asset_management: Missing field renaming
type > move_type, due to uncovered code.
2022-04-13 10:57:57 +02:00
Bosd
8737862b94 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-04-13 10:57:57 +02:00
OCA-git-bot
d56e0439bf [UPD] README.rst 2022-04-13 10:57:57 +02:00
oca-travis
71d5914bcc [UPD] Update account_asset_management.pot 2022-04-13 10:57:57 +02:00
João Marques
97d8a78f8e [MIG] account_asset_management: Migration to v14
TT26410
2022-04-13 10:57:57 +02:00
Pedro M. Baeza
35477292f6 [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-04-13 10:57:57 +02:00
Florent de Labarre
9593bff0fc [FIX] account_asset_management : empty message is posted if there are no asset 2022-04-13 10:57:57 +02:00
Dong
2d044efb57 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-04-13 10:57:57 +02:00
Dong
394fa99c7a 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-04-13 10:57:57 +02:00
Dong
3e5f64cd2a 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-04-13 10:57:57 +02:00
Dong
a7e2c89999 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-04-13 10:57:57 +02:00
Dong
343ba0a35f 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-04-13 10:57:57 +02:00
Dong
48a789600c 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-04-13 10:57:57 +02:00
Pedro M. Baeza
e9451762cd [IMP] account_asset_management: Refinements 2022-04-13 10:57:57 +02:00
Carlos Dauden
85eb7b57a6 [IMP] account_asset_management: Improve code and translation 2022-04-13 10:57:57 +02:00
Saran440
d84ff6968d [FIX] account_asset_management - Allow editing salvage value 2022-04-13 10:57:57 +02:00
fromera
eba4bfed52 [FIX] version
[FIX] new line

[FIX] new line

[FIX] without openupgrade

[FIX] without openupgrade

[FIX] without openupgrade

[FIX] without openupgrade

[FIX] without openupgrade
2022-04-13 10:57:57 +02:00
fromera
1c71905550 [FIX] account_asset_management:
* multicompany error
2022-04-13 10:57:57 +02:00
Harald Panten
f4e9dad769 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-04-13 10:57:57 +02:00
Valentin Vinagre Urteaga
7485740bb3 [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-04-13 10:57:57 +02:00
Ernesto Tejeda
7dff7f3db4 [FIX] account_asset_management: fix remaining_value cache miss error. 2022-04-13 10:57:57 +02:00
Valentin Vinagre Urteaga
528741b9e2 [IMP] account_asset_management: Add chatter entry in invoice for generated asset 2022-04-13 10:57:57 +02:00
Valentin Vinagre Urteaga
6971fca0d5 [IMP] account_asset_management: Add scheduled action for the depreciation asset entries creation. 2022-04-13 10:57:57 +02:00
Andrea
c6d4e3eda4 Fix of pre-commit: E741 ambiguous variable name 'l' 2022-04-13 10:57:57 +02:00
Quentin Groulard
2dd8c15cfe [IMP] account_asset_management: Depreciation board compute upon asset confirmation 2022-04-13 10:57:57 +02:00
Ernesto Tejeda
66de39399f [FIX] account_asset_management: Fix tests 2022-04-13 10:57:57 +02:00
Pedro M. Baeza
22a8c32378 [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.
2022-04-13 10:57:57 +02:00
Pedro M. Baeza
73ce4ce508 [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.
2022-04-13 10:57:57 +02:00
ernestotejeda
ed4314c237 [MIG] account_asset_management: Migration to 13.0 2022-04-13 10:57:57 +02:00
ernestotejeda
00ef1051fb [IMP] account_asset_management: black, isort 2022-04-13 10:57:57 +02:00
hveficent
92d974d42a [12.0] account_financial_tools: Lint fixing 2022-04-13 10:57:57 +02:00
Stéphane Valaeys
c5c4327af7 Fixed dynamic build of the name of the view to be called when errors are found 2022-04-13 10:57:57 +02:00
Luc De Meyer
05a0d1f7a3 [12.0][FIX]traceback when deviating FY 2022-04-13 10:57:57 +02:00
Pedro M. Baeza
37e049714e [FIX] account_asset_management: Fix tests on leap year
It's bad idea to let dates to be variable.
2022-04-13 10:57:57 +02:00
Pedro M. Baeza
37b7584bb7 [MIG] account_asset_management: Handle account_asset_analytic migration
Only field renaming is needed.
2022-04-13 10:57:57 +02:00
Rodrigo Macedo
2d7357dfb0 Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (200 of 200 strings)

Translation: account-financial-tools-12.0/account-financial-tools-12.0-account_asset_management
Translate-URL: https://translation.odoo-community.org/projects/account-financial-tools-12-0/account-financial-tools-12-0-account_asset_management/pt_BR/
2022-04-13 10:57:57 +02:00
Pedro M. Baeza
28a9ca160e [MIG] account_asset_management: Handle account_asset_disposal migration 2022-04-13 10:57:57 +02:00
Iván Todorovich
b0a28ac3df [12.0][FIX][account_asset_management] local variable 'asset' referenced before assignment
tools/account_asset_management/models/account_asset.py", line 970, in _compute_entries
    % (asset.name, asset.code) or asset.name
UnboundLocalError: local variable 'asset' referenced before assignment
2022-04-13 10:57:57 +02:00
Joan Sisquella
8ca62153fe [ADD] allows setting a depreciation ending date 2022-04-13 10:57:57 +02:00
Saran
91167ba799 [ADD] options 'use_leap_years' 2022-04-13 10:57:57 +02:00
Saran
8f7d81d3dd [12.0][IMP] account_asset_management 2022-04-13 10:57:57 +02:00
Rodrigo Macedo
b129512106 Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (193 of 193 strings)

Translation: account-financial-tools-12.0/account-financial-tools-12.0-account_asset_management
Translate-URL: https://translation.odoo-community.org/projects/account-financial-tools-12-0/account-financial-tools-12-0-account_asset_management/pt_BR/
2022-04-13 10:57:57 +02:00
Pedro M. Baeza
5358104889 [MIG+FIX+IMP] account_asset_management: Rework migration scripts + make asset group m2m 2022-04-13 10:57:57 +02:00
Henrik Norlin
aa9a6be74d [IMP] removed type, parent_id, parent_path, child_ids from account.asset & account.asset.profile 2022-04-13 10:57:57 +02:00
Henrik Norlin
a5ecabff87 [MIG] 11.0 account_asset to 12.0 account_asset_management 2022-04-13 10:57:57 +02:00
Pedro M. Baeza
7ebeeff4a3 [FIX] account_asset_management: Don't depend on account.fiscal.year created records
* There's no need of forcing to create such records if your fiscal years are regular ones.
* FY date range computation duplicates code that is already on core.
* DummyFY is a good idea, but was not used at all. Now it is.
2022-04-13 10:57:57 +02:00