Commit Graph

156 Commits

Author SHA1 Message Date
Pedro Castro Silva
40d7a49274 Translated using Weblate (Portuguese (Portugal))
Currently translated at 98.5% (196 of 199 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_PT/
2020-05-19 17:19:22 +00:00
Maria Sparenberg
56ce5aba89 Translated using Weblate (German)
Currently translated at 75.9% (151 of 199 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/de/
2020-05-06 13:19:17 +00:00
OCA Transbot
0aaa85163e Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

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/
2020-05-05 22:20:24 +00:00
OCA-git-bot
51dd7d0c8a account_asset_management 12.0.2.2.5 2020-05-05 22:19:33 +00:00
oca-travis
fe241c03d2 [UPD] Update account_asset_management.pot 2020-05-05 22:03:41 +00:00
Maxence Groine
0eea3c12a8 [FIX] account_asset_management: Exception raised when changing asset profile in a move 2020-05-05 09:52:02 +02:00
OCA Transbot
451dcec452 Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

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/
2020-04-29 17:05:36 +00:00
OCA-git-bot
52a90c9a4e account_asset_management 12.0.2.2.4 2020-04-29 17:05:03 +00:00
oca-travis
421a070885 [UPD] Update account_asset_management.pot 2020-04-29 16:50:03 +00:00
Quentin Groulard
552a2a9f62 [12.0] [IMP] Depreciation board compute upon asset confirmation 2020-04-23 10:40:38 +02:00
OCA-git-bot
e896f53b16 Merge PR #936 into 12.0
Signed-off-by AaronHForgeFlow
2020-03-20 16:05:08 +00:00
OCA Transbot
c8ba695ca3 Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

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/
2020-03-18 18:46:18 +00:00
oca-travis
76b341176e [UPD] Update account_asset_management.pot 2020-03-18 18:45:44 +00:00
Pedro M. Baeza
17a298b9d8 [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.
2020-03-18 19:35:44 +01:00
Pedro M. Baeza
36f38adf06 [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.
2020-03-18 19:25:11 +01:00
Bole
339a4776fb Translated using Weblate (Croatian)
Currently translated at 39.0% (78 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/hr/
2020-03-05 14:13:49 +00:00
Pedro M. Baeza
666012dd02 [MIG+IMP] account_asset_management: Use other column for running migration scripts
Old versions of account_asset module contains a parent_id column for assets, which
triggers this migration scripts, but giving error later, as the expected data is
not there (only account_asset_management module contains it), so we use another
column for detecting the condition.
2020-02-28 10:47:51 +01:00
alvarorib
960b6bc346 Translated using Weblate (Portuguese)
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/
2020-02-26 21:13:47 +00:00
alvarorib
1a08510e55 Translated using Weblate (Portuguese)
Currently translated at 99.5% (199 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/
2020-02-22 18:13:44 +00:00
Pedro M. Baeza
05ac56f3d5 [MIG] account_asset_management: Set asset line previous pointer
Set pointer to the previous depreciation line on each asset line.
This must be executed before `add_asset_initial_entry` for being
populated correctly.
2020-02-14 01:48:31 +01:00
Pedro M. Baeza
6ab9a1e621 [MIG] account_asset_management: Add asset initial entry
On OCA module, an initial depreciation line is created as summary of the
asset. We recreate that line here for the old assets.
2020-02-14 01:48:19 +01:00
OCA-git-bot
2bdfa75ca2 account_asset_management 12.0.2.2.2 2020-02-05 07:39:43 +00:00
OCA-git-bot
d6d754d7d6 [UPD] README.rst 2020-02-05 07:39:43 +00:00
OCA-git-bot
63bec0c272 Merge PR #859 into 12.0
Signed-off-by pedrobaeza
2020-02-05 07:25:17 +00:00
OCA Transbot
1d1194e98d Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

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/
2020-02-04 13:53:54 +00:00
OCA-git-bot
4bc025cbdd account_asset_management 12.0.2.2.1 2020-02-04 13:53:22 +00:00
oca-travis
4b540c8713 [UPD] Update account_asset_management.pot 2020-02-04 13:25:52 +00:00
sbejaoui
21d2328e0c [IMP] - use model_create_multi for account move line creation 2020-02-04 10:20:05 +01:00
OCA-git-bot
a9a8ef5d44 account_asset_management 12.0.2.2.0 2020-02-02 17:44:40 +00:00
Luc De Meyer
d69ba83267 [12.0]degressive 4 digits 2020-02-02 12:20:23 +01:00
Ernesto Tejeda
0c4495b447 [IMP] account_asset_management: Remove asset name limit size 2020-01-31 10:46:00 -05:00
Carles Antoli
d4a3e941a6 Translated using Weblate (Spanish)
Currently translated at 92.0% (184 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/es/
2020-01-29 22:13:35 +00:00
Saran
5810d7c9c3 [12.0][FIX] account_asset_management - Allow editing salvage value 2020-01-22 16:25:09 +07:00
hveficent
13094debab [12.0] account_financial_tools: Lint fixing 2020-01-21 16:23:47 +01:00
OCA-git-bot
f307f90952 account_asset_management 12.0.2.1.3 2020-01-20 19:06:11 +00:00
Stéphane Valaeys
2e6291cbed Fixed dynamic build of the name of the view to be called when errors are found 2020-01-17 16:05:25 +01:00
OCA-git-bot
86388c7dde account_asset_management 12.0.2.1.2 2020-01-11 22:49:06 +00:00
Luc De Meyer
d9280245f6 change suggested by pedro 2020-01-10 08:55:31 +01:00
Luc De Meyer
20a6b7480e [12.0][FIX]traceback when deviating FY 2020-01-09 21:43:01 +01:00
Pedro M. Baeza
98f195c7f6 [FIX] account_asset_management: flake8 2020-01-03 13:56:59 +01:00
Pedro M. Baeza
ceec698587 [FIX] account_asset_management: Fix tests on leap year
It's bad idea to let dates to be variable.
2020-01-03 13:40:59 +01:00
OCA Transbot
873c662912 Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

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/
2019-12-24 11:09:23 +00:00
OCA-git-bot
7beae10437 account_asset_management 12.0.2.1.1 2019-12-24 11:08:47 +00:00
oca-travis
91719992b0 [UPD] Update account_asset_management.pot 2019-12-24 10:48:38 +00:00
OCA-git-bot
549cc592dc Merge PR #904 into 12.0
Signed-off-by pedrobaeza
2019-12-24 10:37:12 +00:00
Pedro M. Baeza
6d1b5af47b [MIG] account_asset_management: Handle account_asset_analytic migration
Only field renaming is needed.
2019-12-01 18:05:14 +01:00
Rodrigo Macedo
9d1b7f08b7 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/
2019-11-24 19:58:12 +00:00
Pedro M. Baeza
8ae7af2c3b [MIG] account_asset_management: Handle account_asset_disposal migration 2019-11-08 00:41:04 +01:00
Iván Todorovich
ba76fbed2c [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
2019-10-28 15:38:58 +01:00
OCA Transbot
5e16d19e0b Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

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/
2019-10-25 14:33:54 +00:00