OCA-git-bot
47de4aaefd
[UPD] addons table in README.md
2021-01-14 12:44:50 +00:00
oca-travis
616706c920
[UPD] Update account_asset_management.pot
2021-01-14 12:32:15 +00:00
OCA-git-bot
84eecf3247
Merge PR #1112 into 14.0
...
Signed-off-by pedrobaeza
2021-01-14 12:26:57 +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
ernestotejeda
49e6643094
[MIG] account_asset_management: Migration to 13.0
2021-01-13 07:53:35 +00:00
ernestotejeda
22b491e1c0
[IMP] account_asset_management: black, isort
2021-01-13 07:53:35 +00:00
hveficent
3747902a7e
[12.0] account_financial_tools: Lint fixing
2021-01-13 07:53:35 +00:00
Stéphane Valaeys
3e1e63b085
Fixed dynamic build of the name of the view to be called when errors are found
2021-01-13 07:53:35 +00:00
Luc De Meyer
55aa4cad58
[12.0][FIX]traceback when deviating FY
2021-01-13 07:53:35 +00:00
Pedro M. Baeza
c6e4d7e2d8
[FIX] account_asset_management: Fix tests on leap year
...
It's bad idea to let dates to be variable.
2021-01-13 07:53:35 +00:00
Pedro M. Baeza
f5991f33f9
[MIG] account_asset_management: Handle account_asset_analytic migration
...
Only field renaming is needed.
2021-01-13 07:53:35 +00:00
Rodrigo Macedo
ece8d21fd8
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/
2021-01-13 07:53:35 +00:00
Pedro M. Baeza
04d4f71762
[MIG] account_asset_management: Handle account_asset_disposal migration
2021-01-13 07:53:35 +00:00
Iván Todorovich
ac08a99fa3
[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
2021-01-13 07:53:35 +00:00
Joan Sisquella
810ac3ff5c
[ADD] allows setting a depreciation ending date
2021-01-13 07:53:35 +00:00
Saran
979279dd47
[ADD] options 'use_leap_years'
2021-01-13 07:53:35 +00:00
Saran
66f345e2f3
[12.0][IMP] account_asset_management
2021-01-13 07:53:35 +00:00
Rodrigo Macedo
25a24596c8
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/
2021-01-13 07:53:35 +00:00
Pedro M. Baeza
2dffd4070d
[MIG+FIX+IMP] account_asset_management: Rework migration scripts + make asset group m2m
2021-01-13 07:53:35 +00:00
Henrik Norlin
187846d3ee
[IMP] removed type, parent_id, parent_path, child_ids from account.asset & account.asset.profile
2021-01-13 07:53:35 +00:00
Henrik Norlin
84ba12a625
[MIG] 11.0 account_asset to 12.0 account_asset_management
2021-01-13 07:53:35 +00:00
Pedro M. Baeza
a483203c37
[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.
2021-01-13 07:53:35 +00:00
Luc De Meyer
cbc0669189
[FIX][12.0]asset_management - fix date string compare
2021-01-13 07:53:35 +00:00
Pedro M. Baeza
d413d1b904
[FIX] account_asset_management: Invisible conditions must be independent from extra method_time values
...
If not, added methods won't hide these fields.
2021-01-13 07:53:35 +00:00
Pedro M. Baeza
ca270fe67e
[FIX] account_asset_management: Provide hook _compute_depreciation_amount_per_fiscal_year
...
This way, other method_time mechanism like localization ones is able to overwrite it.
You also got an error of variable `number` not set due to previous code. Although no
alternate implementation for a new method_time, now you don't have any error,
fallbacking to standard proportional repartition.
2021-01-13 07:53:35 +00:00
Josep M
f0c6fcc049
Translated using Weblate (Spanish)
...
Currently translated at 91.8% (179 of 195 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/es/
2021-01-13 07:53:35 +00:00
Valaeys Stéphane
ac08c314d4
Translated using Weblate (French)
...
Currently translated at 100.0% (195 of 195 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/fr/
2021-01-13 07:53:35 +00:00