Commit Graph

6 Commits

Author SHA1 Message Date
ernestotejeda
b7637cbe45 [MIG] account_asset_management: Migration to 13.0 2020-02-10 19:35:00 +01:00
Joan Sisquella
d9cb201281 [ADD] allows setting a depreciation ending date 2020-02-10 19:33:32 +01:00
Saran
0e34c8bd8c [12.0][IMP] account_asset_management 2020-02-10 19:33:32 +01:00
Henrik
a344f434ca [12.0][FIX] account_asset_management: date_range -> account_fiscal_year, account_analytic_id without domain 2020-02-10 19:33:32 +01:00
Bejaoui Souheil
fb622444df Finish 12.0 migration of account_asset_management
* account_asset: Do not loop on all the lines to search for one linked asset

Before this change, the use of `mapped` on self did loop on all the move
lines that are included in self to get the assets, what could be very
costly for a simple write on a lot of move lines. As the goal is to raise
an error only if at least one move is linked to an asset, we break the
loop if the condition is fulfilled.

* performance improvement

* [RMV] - Remove useless dependency

In 12.0 account_fiscal_year is a standard feature no need to depend on oca
module account_fiscal_year
2020-02-10 19:33:32 +01:00
Akim Juillerat
a6e3e44efd [MIG] account_asset_management: Migration to 11.0 2020-02-10 19:31:38 +01:00