Commit Graph

5 Commits

Author SHA1 Message Date
ernestotejeda
b7637cbe45 [MIG] account_asset_management: Migration to 13.0 2020-02-10 19:35:00 +01:00
ernestotejeda
ebe0b9f152 [IMP] account_asset_management: black, isort 2020-02-10 19:35:00 +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
Luc De Meyer
e950266e60 [10.0][MIG]account_asset_management suite refactoring + 10.0 port 2020-02-10 19:29:24 +01:00