Henrik
197fa5ebef
[FIX] test_flake8 (2)
2019-06-30 13:45:21 +00:00
Henrik
fe5b835420
[FIX] test_flake8
2019-06-30 13:45:21 +00:00
Henrik
76d6b9b926
[12.0][FIX] account_asset_management: date_range -> account_fiscal_year, account_analytic_id without domain
2019-06-30 13:45:21 +00:00
Bejaoui Souheil
33f9d7f468
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
2019-06-30 13:45:21 +00:00
Maxence Groine
4ee95948be
Included PR #828 Fix computation of depreciation lines when having multiple assets in invoice
2019-06-30 13:45:21 +00:00
Henrik Norlin
64122c028d
[MIG] account_asset_management: Migration to 12.0
2019-06-30 13:45:21 +00:00
Akim Juillerat
ce213eda7d
Fix use of Date vs Datetime for method_number_end
2019-06-30 13:45:20 +00:00
Luc De Meyer
6013d76b85
fix local variable 'dlines' referenced before assignment
2019-06-30 13:45:20 +00:00
Akim Juillerat
1740bf5cb3
Second round of improvements
2019-06-30 13:45:20 +00:00
Akim Juillerat
1a6cd81460
Move from TransactionCase to SavepointCase
2019-06-30 13:45:20 +00:00
Akim Juillerat
05a2b6aeb8
Improve calls to super with Python3
2019-06-30 13:45:20 +00:00
Akim Juillerat
264726c7f1
Improvements according to review
2019-06-30 13:45:20 +00:00
Akim Juillerat
f6f8344363
Fix KeyError when invl_id does not exist
2019-06-30 13:45:20 +00:00
Luc De Meyer
70e502d2ba
fix _compute_move_line_check
2019-06-30 13:45:20 +00:00
Akim Juillerat
dc816fee61
Do not use builtin type in function
2019-06-30 13:45:20 +00:00
Akim Juillerat
9f96ce6e20
Fix tests
2019-06-30 13:45:20 +00:00
Akim Juillerat
1ab818e42f
[MIG] account_asset_management: Migration to 11.0
2019-06-30 13:45:20 +00:00
Luc De Meyer
dda83904e5
fix onchange
2019-06-30 13:45:20 +00:00
Akim Juillerat
dbf9c07387
Fix compute methods dependencies and small optimizations
2019-06-30 13:45:20 +00:00
Luc De Meyer
2f31898471
hide fields for type view assets
2019-06-30 13:45:20 +00:00
Luc De Meyer
52b284d038
fix init flag when computing depreciation board
2019-06-30 13:45:20 +00:00
Luc De Meyer
b0da62b316
bugfix in raise
2019-06-30 13:45:20 +00:00
Luc De Meyer
532b079855
[10.0][MIG]account_asset_management suite refactoring + 10.0 port
2019-06-30 13:45:20 +00:00