Commit Graph

418 Commits

Author SHA1 Message Date
oca-travis
3d9b7b441d [UPD] Update account_asset_management.pot 2019-06-30 13:53:58 +00:00
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
Maxence Groine
2d6015e6e9 account_asset_management: Add unit test for invoices with multiple assets 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
OCA Transbot
676d15f2a9 Update translation files
Updated by Update PO files to match POT (msgmerge) hook in Weblate.
2019-06-30 13:45:21 +00:00
oca-travis
eedc414760 [UPD] Update account_asset_management.pot 2019-06-30 13:45:21 +00:00
OCA Transbot
bcfa430ac4 Update translation files
Updated by Update PO files to match POT (msgmerge) hook in Weblate.
2019-06-30 13:45:21 +00:00
OCA Transbot
f072fa0109 Update translation files
Updated by Update PO files to match POT (msgmerge) hook in Weblate.
2019-06-30 13:45:21 +00:00
oca-travis
2d98ccfc2a [UPD] Update account_asset_management.pot 2019-06-30 13:45:20 +00:00
Stéphane Bidoul (ACSONE)
978abf96a3 [IMP] asset mgt: use exclude manifest key
This is now supported natively by Odoo 11.
2019-06-30 13:45:20 +00:00
oca-travis
b1a24569df [UPD] Update account_asset_management.pot 2019-06-30 13:45:20 +00:00
oca-travis
1294fa28a8 [UPD] Update account_asset_management.pot 2019-06-30 13:45:20 +00:00
OCA-git-bot
1ab9aba55f [UPD] README.rst 2019-06-30 13:45:20 +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
63d0bba1cd Drop migrations script 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
1fd8816799 Drop unsupported hierarchical tree view 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
a620fcd5a9 simplify domain 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
ef761c1eba Cosmetic changes 2019-06-30 13:45:20 +00:00
Akim Juillerat
3b4350879b Fix asset and profile form view JS error 2019-06-30 13:45:20 +00:00
Akim Juillerat
9f96ce6e20 Fix tests 2019-06-30 13:45:20 +00:00
Akim Juillerat
19e280a808 Split README into parts 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
Luc De Meyer
b1c24ee257 fix test data 2019-06-30 13:45:20 +00:00
Akim Juillerat
a2e9e67d9c Rename demo file to test and move it into the right folder 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
6952227fd6 fix viexs 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
Stéphane Bidoul (ACSONE)
06ac37e7a4 remove obsolete .pot files [ci skip] 2019-06-30 13:45:20 +00:00
Pedro M. Baeza
1db4c5549b [MIG] Rename manifest files 2019-06-30 13:45:20 +00:00
Stéphane Bidoul (ACSONE)
f3f25a6fb0 [FIX] remove en.po that was erroneously created by transbot 2019-06-30 13:45:20 +00:00
Pedro M. Baeza
b53daf10c5 [MIG] Make modules uninstallable 2019-06-30 13:45:20 +00:00
Stéphane Bidoul
b1f70f056f [UPD] prefix versions with 8.0 2019-06-30 13:45:20 +00:00
OCA Transbot
1ac09af452 OCA Transbot updated translations from Transifex 2019-06-30 13:45:20 +00:00
OCA Transbot
a0273197a8 OCA Transbot updated translations from Transifex 2019-06-30 13:45:20 +00:00