Commit Graph

65 Commits

Author SHA1 Message Date
OCA-git-bot
55660e565f account_asset_management 14.0.2.7.2 2022-04-18 14:33:41 +00:00
OCA-git-bot
9443917905 account_asset_management 14.0.2.7.1 2022-04-18 13:30:54 +00:00
OCA-git-bot
da34749b3e account_asset_management 14.0.2.7.0 2022-04-05 08:22:24 +00:00
OCA-git-bot
8b9a20f48a account_asset_management 14.0.2.6.1 2022-02-15 12:32:22 +00:00
OCA-git-bot
4b398181a6 account_asset_management 14.0.2.6.0 2022-02-15 10:52:16 +00:00
Jordi Ballester
2adb6db29c [IMP] account_asset_management: Allow to reverse the posting of a depreciation line
instead of deleting the journal entry.
This will be done when the company has activated the inalterability hash
on the original journal entry.
2022-02-11 18:27:09 +01:00
OCA-git-bot
cd283ad894 account_asset_management 14.0.2.5.1 2022-02-11 08:20:09 +00:00
OCA-git-bot
f3e023295d account_asset_management 14.0.2.5.0 2022-02-10 16:03:53 +00:00
OCA-git-bot
24657bea11 account_asset_management 14.0.2.4.4 2022-01-16 19:39:27 +00:00
Pedro M. Baeza
4a68308ce2 account_asset_management 14.0.2.4.3 2022-01-07 11:17:01 +01:00
Stéphane Bidoul
c7369ce728 Bump account_asset_management version 2022-01-07 09:14:53 +01:00
Enric Tobella
13259ebafb [UPD] account_asset_management: Mark as mature 2022-01-06 20:55:34 +01:00
OCA-git-bot
bffe633e3b account_asset_management 14.0.2.4.1 2021-12-16 14:05:16 +00:00
OCA-git-bot
5fc63cac3d account_asset_management 14.0.2.4.0 2021-10-31 19:15:44 +00:00
OCA-git-bot
acae57247a account_asset_management 14.0.2.3.0 2021-10-07 12:44:01 +00:00
OCA-git-bot
7e8eca5fd4 account_asset_management 14.0.2.2.3 2021-10-01 05:46:54 +00:00
OCA-git-bot
b48ae18366 account_asset_management 14.0.2.2.2 2021-09-28 16:33:39 +00:00
OCA-git-bot
d79ec94937 account_asset_management 14.0.2.2.1 2021-09-20 14:01:27 +00:00
OCA-git-bot
c3a4bfc10a account_asset_management 14.0.2.2.0 2021-09-17 10:44:37 +00:00
OCA-git-bot
fc41caae0c account_asset_management 14.0.2.1.0 2021-08-30 07:55:49 +00:00
OCA-git-bot
2befb1bd93 account_asset_management 14.0.2.0.3 2021-08-12 13:58:55 +00:00
Pedro M. Baeza
7782697653 [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)
2021-08-11 20:45:40 +02:00
OCA-git-bot
9e4d889c24 account_asset_management 14.0.2.0.1 2021-07-15 08:31:27 +00:00
OCA-git-bot
35514722be account_asset_management 14.0.2.0.0 2021-05-14 12:42:05 +00:00
OCA-git-bot
ed15c9552a account_asset_management 14.0.1.2.0 2021-05-04 16:23:17 +00:00
OCA-git-bot
4b7655dea0 account_asset_management 14.0.1.1.1 2021-05-03 06:34:19 +00:00
OCA-git-bot
09a184c69b account_asset_management 14.0.1.1.0 2021-04-20 18:11:06 +00:00
OCA-git-bot
6a51c76bb9 Merge PR #1124 into 14.0
Signed-off-by StefanRijnhart
2021-04-20 17:49:12 +00:00
OCA-git-bot
5f8d425831 account_asset_management 14.0.1.0.5 2021-04-16 17:29:00 +00:00
Luc De Meyer
940713fa53 [IMP] account_asset_management: Add reporting 2021-04-16 11:07:30 +02:00
OCA-git-bot
f97b40a4e4 account_asset_management 14.0.1.0.4 2021-04-15 14:53:02 +00:00
OCA-git-bot
18c98137db account_asset_management 14.0.1.0.3 2021-03-29 17:53:04 +00:00
OCA-git-bot
012c6b2488 account_asset_management 14.0.1.0.2 2021-03-11 17:28:38 +00: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
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
Pedro M. Baeza
9223c6d060 [IMP] account_asset_management: Refinements 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
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
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