2
0
Commit Graph

58 Commits

Author SHA1 Message Date
OCA-git-bot
7987089dc6 account_asset_management 14.0.2.5.1 2022-12-24 00:42:23 +01:00
OCA-git-bot
77721bd853 account_asset_management 14.0.2.5.0 2022-12-24 00:42:23 +01:00
OCA-git-bot
5c2d3c81ec account_asset_management 14.0.2.4.4 2022-12-24 00:42:23 +01:00
Pedro M. Baeza
8fd71e7518 account_asset_management 14.0.2.4.3 2022-12-24 00:42:23 +01:00
Stéphane Bidoul
4204525596 Bump account_asset_management version 2022-12-24 00:42:23 +01:00
Enric Tobella
2e8a7a316a [UPD] account_asset_management: Mark as mature 2022-12-24 00:42:23 +01:00
OCA-git-bot
cb7985d052 account_asset_management 14.0.2.4.1 2022-12-24 00:42:23 +01:00
OCA-git-bot
0cfa4b331c account_asset_management 14.0.2.4.0 2022-12-24 00:42:23 +01:00
OCA-git-bot
89ea045c31 account_asset_management 14.0.2.3.0 2022-12-24 00:42:22 +01:00
OCA-git-bot
07d6bb23c8 account_asset_management 14.0.2.2.3 2022-12-24 00:42:22 +01:00
OCA-git-bot
6b6338f4b3 account_asset_management 14.0.2.2.2 2022-12-24 00:42:22 +01:00
OCA-git-bot
426d1bd3d6 account_asset_management 14.0.2.2.1 2022-12-24 00:42:22 +01:00
OCA-git-bot
0ef94127f9 account_asset_management 14.0.2.2.0 2022-12-24 00:42:22 +01:00
OCA-git-bot
a8f7085a14 account_asset_management 14.0.2.1.0 2022-12-24 00:42:22 +01:00
OCA-git-bot
7d2a79fea4 account_asset_management 14.0.2.0.3 2022-12-24 00:42:22 +01:00
Pedro M. Baeza
8dc37aa648 [FIX] account_asset_management: Don't put asset name as entry name
This can provoke an error due to duplicated entry name.

Remaining of the migration to version 13.0, and similar to
b7637cbe45 (diff-5318cd3560cdb2d23d2889fe39c5b71745c140810b20f64f0c9aa5b24b8b602bL206)
2022-12-24 00:42:22 +01:00
OCA-git-bot
72abb8ed9d account_asset_management 14.0.2.0.1 2022-12-24 00:42:22 +01:00
OCA-git-bot
1c1c7ccde0 account_asset_management 14.0.2.0.0 2022-12-24 00:42:22 +01:00
OCA-git-bot
8bb45eb2f4 account_asset_management 14.0.1.2.0 2022-12-24 00:42:22 +01:00
OCA-git-bot
7f895e9a07 account_asset_management 14.0.1.1.1 2022-12-24 00:42:22 +01:00
OCA-git-bot
3ef2b36685 account_asset_management 14.0.1.1.0 2022-12-24 00:42:22 +01:00
OCA-git-bot
8960b8b21b account_asset_management 14.0.1.0.5 2022-12-24 00:42:22 +01:00
Luc De Meyer
e4796d3bd5 [IMP] account_asset_management: Add reporting 2022-12-24 00:42:22 +01:00
OCA-git-bot
77426303c9 account_asset_management 14.0.1.0.4 2022-12-24 00:42:22 +01:00
OCA-git-bot
7887680bb1 account_asset_management 14.0.1.0.3 2022-12-24 00:42:22 +01:00
OCA-git-bot
f94e33a2be account_asset_management 14.0.1.0.2 2022-12-24 00:42:22 +01:00
Pedro M. Baeza
1620d3a4d8 [FIX] account_asset_management: Missing field renaming
type > move_type, due to uncovered code.
2022-12-24 00:42:22 +01:00
João Marques
dd7e4e08df [MIG] account_asset_management: Migration to v14
TT26410
2022-12-24 00:42:21 +01:00
Pedro M. Baeza
2aa11d4e40 [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-12-24 00:42:21 +01:00
Florent de Labarre
3945771c61 [FIX] account_asset_management : empty message is posted if there are no asset 2022-12-24 00:42:21 +01:00
Pedro M. Baeza
2b360a8c27 [IMP] account_asset_management: Refinements 2022-12-24 00:42:21 +01:00
Saran440
869cc39d5e [FIX] account_asset_management - Allow editing salvage value 2022-12-24 00:42:21 +01:00
fromera
71006a184e [FIX] version
[FIX] new line

[FIX] new line

[FIX] without openupgrade

[FIX] without openupgrade

[FIX] without openupgrade

[FIX] without openupgrade

[FIX] without openupgrade
2022-12-24 00:42:21 +01:00
Valentin Vinagre Urteaga
9f9a72f073 [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-12-24 00:42:21 +01:00
Ernesto Tejeda
a555ed9259 [FIX] account_asset_management: fix remaining_value cache miss error. 2022-12-24 00:42:21 +01:00
Valentin Vinagre Urteaga
009b0b494a [IMP] account_asset_management: Add chatter entry in invoice for generated asset 2022-12-24 00:42:21 +01:00
Valentin Vinagre Urteaga
7db3f32821 [IMP] account_asset_management: Add scheduled action for the depreciation asset entries creation. 2022-12-24 00:42:21 +01:00
Andrea
91f989be0e Fix of pre-commit: E741 ambiguous variable name 'l' 2022-12-24 00:42:21 +01:00
Quentin Groulard
e53bd5b26e [IMP] account_asset_management: Depreciation board compute upon asset confirmation 2022-12-24 00:42:21 +01:00
Ernesto Tejeda
5117722b06 [FIX] account_asset_management: Fix tests 2022-12-24 00:42:21 +01:00
Pedro M. Baeza
a16a456511 [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-12-24 00:42:21 +01:00
ernestotejeda
7e9d38ef5e [MIG] account_asset_management: Migration to 13.0 2022-12-24 00:42:21 +01:00
ernestotejeda
bc3e0f8fa6 [IMP] account_asset_management: black, isort 2022-12-24 00:42:21 +01:00
Stéphane Valaeys
44c9368b2e Fixed dynamic build of the name of the view to be called when errors are found 2022-12-24 00:42:21 +01:00
Luc De Meyer
cd3bd6bbd2 [12.0][FIX]traceback when deviating FY 2022-12-24 00:42:21 +01:00
Pedro M. Baeza
ee1087d1b4 [MIG] account_asset_management: Handle account_asset_analytic migration
Only field renaming is needed.
2022-12-24 00:42:21 +01:00
Saran
181d7f2f83 [12.0][IMP] account_asset_management 2022-12-24 00:42:21 +01:00
Pedro M. Baeza
dab2a897b4 [MIG+FIX+IMP] account_asset_management: Rework migration scripts + make asset group m2m 2022-12-24 00:42:21 +01:00
Henrik Norlin
05e3fa1033 [IMP] removed type, parent_id, parent_path, child_ids from account.asset & account.asset.profile 2022-12-24 00:42:21 +01:00
Pedro M. Baeza
095a205ab1 [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-12-24 00:42:21 +01:00