Commit Graph

100 Commits

Author SHA1 Message Date
OCA-git-bot
09a184c69b account_asset_management 14.0.1.1.0 2021-04-20 18:11:06 +00:00
OCA-git-bot
1252ce1dd9 [UPD] README.rst 2021-04-20 18:11:06 +00:00
oca-travis
be6471c663 [UPD] Update account_asset_management.pot 2021-04-20 17:56:18 +00:00
OCA-git-bot
6a51c76bb9 Merge PR #1124 into 14.0
Signed-off-by StefanRijnhart
2021-04-20 17:49:12 +00:00
Bosd
a76f100980 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/
2021-04-18 10:46:48 +00:00
OCA Transbot
6fa802a6f1 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/
2021-04-16 17:29:18 +00:00
OCA-git-bot
5f8d425831 account_asset_management 14.0.1.0.5 2021-04-16 17:29:00 +00:00
oca-travis
3f9dc8b60f [UPD] Update account_asset_management.pot 2021-04-16 17:14:55 +00:00
JordiMForgeFlow
99ddaf7062 account_asset_management: fix group_assets sorting 2021-04-16 11:07:30 +02:00
Stefan Rijnhart
ad9d9b245e [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
2021-04-16 11:07:30 +02:00
Luc De Meyer
940713fa53 [IMP] account_asset_management: Add reporting 2021-04-16 11:07:30 +02:00
JordiMForgeFlow
43c04753f7 [13.0][account_asset_management]: add user error when creating asset from bill 2021-04-15 16:58:53 +02:00
OCA-git-bot
f97b40a4e4 account_asset_management 14.0.1.0.4 2021-04-15 14:53:02 +00:00
Stefan Rijnhart
381edd21ca [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
2021-04-15 11:14:10 +02:00
Yves Le Doeuff
c3b8821041 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/
2021-04-10 15:46:32 +00:00
OCA-git-bot
18c98137db account_asset_management 14.0.1.0.3 2021-03-29 17:53:04 +00:00
Ivan Yelizariev // IEL
43252a2072 [FIX] account_asset_management: correct field name 2021-03-29 19:22:38 +02:00
Yves Le Doeuff
f296653646 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/
2021-03-28 18:46:08 +00:00
Yves Le Doeuff
7febd81522 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/
2021-03-22 16:46:06 +00:00
OCA-git-bot
012c6b2488 account_asset_management 14.0.1.0.2 2021-03-11 17:28:38 +00:00
OCA-git-bot
e4788c3976 [UPD] README.rst 2021-03-11 17:28:37 +00:00
Víctor Martínez
8ff9f2e0fa [FIX] account_asset_management: Fix onchange account_id and asset_profile_id to prevent account_id is empty in some use cases 2021-03-11 09:18:10 +01:00
Pedro M. Baeza
e7128db342 [FIX] account_asset_management: Missing field renaming
type > move_type, due to uncovered code.
2021-01-26 15:59:48 +01:00
Bosd
22ef5cb910 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/
2021-01-25 17:44:55 +00:00
OCA-git-bot
d5f29f1a10 [UPD] README.rst 2021-01-14 12:44:51 +00:00
oca-travis
616706c920 [UPD] Update account_asset_management.pot 2021-01-14 12:32:15 +00:00
João Marques
a88ea6e7bf [MIG] account_asset_management: Migration to v14
TT26410
2021-01-14 07:53:25 +00:00
Pedro M. Baeza
ff25e6269e [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.
2021-01-13 07:53:36 +00:00
Florent de Labarre
9fc3c66513 [FIX] account_asset_management : empty message is posted if there are no asset 2021-01-13 07:53:36 +00:00
Dong
66899cdadf 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/
2021-01-13 07:53:36 +00:00
Dong
8a38c3694e 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/
2021-01-13 07:53:36 +00:00
Dong
97d684d36e 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/
2021-01-13 07:53:36 +00:00
Dong
f6aaae11f1 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/
2021-01-13 07:53:36 +00:00
Dong
02ac25eea7 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/
2021-01-13 07:53:36 +00:00
Dong
8925a711b0 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/
2021-01-13 07:53:36 +00:00
Pedro M. Baeza
9223c6d060 [IMP] account_asset_management: Refinements 2021-01-13 07:53:36 +00:00
Carlos Dauden
a845cd2acf [IMP] account_asset_management: Improve code and translation 2021-01-13 07:53:36 +00:00
Saran440
eb628e8fa8 [FIX] account_asset_management - Allow editing salvage value 2021-01-13 07:53:36 +00:00
fromera
43074ee6d8 [FIX] version
[FIX] new line

[FIX] new line

[FIX] without openupgrade

[FIX] without openupgrade

[FIX] without openupgrade

[FIX] without openupgrade

[FIX] without openupgrade
2021-01-13 07:53:36 +00:00
fromera
31c8d8d5ff [FIX] account_asset_management:
* multicompany error
2021-01-13 07:53:36 +00:00
Harald Panten
88058ffcd5 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/
2021-01-13 07:53:36 +00:00
Valentin Vinagre Urteaga
dac8a473a9 [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.
2021-01-13 07:53:36 +00:00
Ernesto Tejeda
6ee118f8bc [FIX] account_asset_management: fix remaining_value cache miss error. 2021-01-13 07:53:35 +00:00
Valentin Vinagre Urteaga
ac121997e9 [IMP] account_asset_management: Add chatter entry in invoice for generated asset 2021-01-13 07:53:35 +00:00
Valentin Vinagre Urteaga
d8886e6ea0 [IMP] account_asset_management: Add scheduled action for the depreciation asset entries creation. 2021-01-13 07:53:35 +00:00
Andrea
07c4a4edb1 Fix of pre-commit: E741 ambiguous variable name 'l' 2021-01-13 07:53:35 +00:00
Quentin Groulard
1c8874c8dd [IMP] account_asset_management: Depreciation board compute upon asset confirmation 2021-01-13 07:53:35 +00:00
Ernesto Tejeda
62af7667b5 [FIX] account_asset_management: Fix tests 2021-01-13 07:53:35 +00:00
Pedro M. Baeza
92f8a6b79c [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.
2021-01-13 07:53:35 +00:00
Pedro M. Baeza
b9d13cdc51 [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.
2021-01-13 07:53:35 +00:00