Commit Graph

323 Commits

Author SHA1 Message Date
Pedro M. Baeza
acbb8b8315 [FIX] account_asset_management: Provide hook _compute_depreciation_amount_per_fiscal_year
This way, other method_time mechanism like localization ones is able to overwrite it.

You also got an error of variable `number` not set due to previous code. Although no
alternate implementation for a new method_time, now you don't have any error,
fallbacking to standard proportional repartition.
2020-02-10 19:33:32 +01:00
Josep M
761065063b Translated using Weblate (Spanish)
Currently translated at 91.8% (179 of 195 strings)

Translation: account-financial-tools-12.0/account-financial-tools-12.0-account_asset_management
Translate-URL: https://translation.odoo-community.org/projects/account-financial-tools-12-0/account-financial-tools-12-0-account_asset_management/es/
2020-02-10 19:33:32 +01:00
Valaeys Stéphane
f34b63577c Translated using Weblate (French)
Currently translated at 100.0% (195 of 195 strings)

Translation: account-financial-tools-12.0/account-financial-tools-12.0-account_asset_management
Translate-URL: https://translation.odoo-community.org/projects/account-financial-tools-12-0/account-financial-tools-12-0-account_asset_management/fr/
2020-02-10 19:33:32 +01:00
Eduardo Aparicio
24743d0164 Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (195 of 195 strings)

Translation: account-financial-tools-12.0/account-financial-tools-12.0-account_asset_management
Translate-URL: https://translation.odoo-community.org/projects/account-financial-tools-12-0/account-financial-tools-12-0-account_asset_management/pt_BR/
2020-02-10 19:33:32 +01:00
OCA Transbot
2fb7a47f43 Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: account-financial-tools-12.0/account-financial-tools-12.0-account_asset_management
Translate-URL: https://translation.odoo-community.org/projects/account-financial-tools-12-0/account-financial-tools-12-0-account_asset_management/
2020-02-10 19:33:32 +01:00
Eduardo Aparicio
25ff7d9229 Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (197 of 197 strings)

Translation: account-financial-tools-12.0/account-financial-tools-12.0-account_asset_management
Translate-URL: https://translation.odoo-community.org/projects/account-financial-tools-12-0/account-financial-tools-12-0-account_asset_management/pt_BR/
2020-02-10 19:33:32 +01:00
Marcel Savegnago
7bc17e2af9 Translated using Weblate (Portuguese (Brazil))
Currently translated at 40.1% (79 of 197 strings)

Translation: account-financial-tools-12.0/account-financial-tools-12.0-account_asset_management
Translate-URL: https://translation.odoo-community.org/projects/account-financial-tools-12-0/account-financial-tools-12-0-account_asset_management/pt_BR/
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
Maxence Groine
25d25f7686 Included PR #828 Fix computation of depreciation lines when having multiple assets in invoice 2020-02-10 19:31:38 +01:00
Maxence Groine
d6cd928539 account_asset_management: Add unit test for invoices with multiple assets 2020-02-10 19:31:38 +01:00
Henrik Norlin
a13c99e8e7 [MIG] account_asset_management: Migration to 12.0 2020-02-10 19:31:38 +01:00
Stéphane Bidoul (ACSONE)
92bae20ef2 [IMP] asset mgt: use exclude manifest key
This is now supported natively by Odoo 11.
2020-02-10 19:31:38 +01:00
Akim Juillerat
a6e3e44efd [MIG] account_asset_management: Migration to 11.0 2020-02-10 19:31:38 +01:00
Luc De Meyer
c53773f900 [FIX] account_asset_management: Test data + onchange 2020-02-10 19:30:08 +01:00
Akim Juillerat
be73d8449a [FIX+IMP] account_asset_management: 2 things:
* Fix compute methods dependencies and small optimizations
* Rename demo file to test and move it into the right folder
2020-02-10 19:29:40 +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
Stéphane Bidoul
d1002a8958 [UPD] prefix versions with 8.0 2020-02-10 19:26:30 +01:00
OCA Transbot
44b14a60c2 OCA Transbot updated translations from Transifex 2020-02-10 19:26:30 +01:00
Adrien Peiffer (ACSONE)
4d8187d7eb [FIX][account_asset_management] Avoid to select closed or cancelled analytic account 2020-02-10 19:22:06 +01:00
Stéphane Bidoul
1f61dc2dbc [FIX] account_asset_management: do not propose special and closed periods for asset posting 2020-02-10 19:22:06 +01:00
Adrien Peiffer (ACSONE)
e5a7abcd0f [FIX][account_asset_management] Add items on affects fields list 2020-02-10 19:22:06 +01:00
Adrien Peiffer (ACSONE)
7948db1e48 [ADD][account_asset_management] Add check on account move line 2020-02-10 19:22:06 +01:00
luc-demeyer
081f6e80ff analytic enhancement 2020-02-10 19:22:06 +01:00
luc-demeyer
aeee83df97 account_asset_management: group invoice lines fix 2020-02-10 19:22:06 +01:00
luc-demeyer
b9892c01cd [IMP] account_asset_management: code cosmetics 2020-02-10 19:22:06 +01:00
Adrien Peiffer (ACSONE)
c20ff97e62 [IMP][account_asset_management] Define a list of move's fields that can't be modified if a move is linked with a depriciation line
[IMP][account_asset_management] Define FIELDS_AFFETCS_ASSET_MOVE as a set directly
2020-02-10 19:22:06 +01:00
Stéphane Bidoul
6c189b5e2a [IMP] account_asset_management: use reload_on_button instead of reloading page 2020-02-10 19:22:06 +01:00
Stefan Rijnhart
e916a8dfcc [FIX] Inherited model is a transient model 2020-02-10 19:22:06 +01:00
Leonardo Pistone
06b448a00b make *asset* installable again 2020-02-10 19:22:06 +01:00
Romain Deheele
f0834d8b0b [FIX] test floats with assertAlmostEqual
[UPD] add places arg in assertAlmostEqual tests

[UPD] flake clean
2020-02-10 19:22:06 +01:00
Leonardo Pistone
d484ff8461 move account_asset_management* out of __unported__
add asset management modules

asset mgt update

redo

synch asset mgt with recent V7 changes
2020-02-10 19:22:06 +01:00
OCA-git-bot
dd2c911115 [ADD] setup.py 2020-02-07 08:40:41 +00:00
OCA-git-bot
62f3b461f2 [UPD] README.rst 2020-02-07 08:40:40 +00:00
oca-travis
259329050e [UPD] Update account_balance_line.pot 2020-02-07 08:19:52 +00:00
OCA-git-bot
91b57dcd01 Merge PR #891 into 13.0
Signed-off-by pedrobaeza
2020-02-07 08:11:35 +00:00
Mihai Fekete
9f9e9bf566 [13.0] [MIG] account_balance_line: Migration to 13.0 2020-02-07 09:02:46 +02:00
Pedro Castro Silva
9c6ed0d61f Translated using Weblate (Portuguese)
Currently translated at 100.0% (1 of 1 strings)

Translation: account-financial-tools-12.0/account-financial-tools-12.0-account_balance_line
Translate-URL: https://translation.odoo-community.org/projects/account-financial-tools-12-0/account-financial-tools-12-0-account_balance_line/pt/
2020-02-07 09:00:44 +02:00
OCA-git-bot
312a9a8baa [UPD] README.rst 2020-02-07 09:00:44 +02:00
Eduardo Aparicio
47905cdcd0 Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (1 of 1 strings)

Translation: account-financial-tools-12.0/account-financial-tools-12.0-account_balance_line
Translate-URL: https://translation.odoo-community.org/projects/account-financial-tools-12-0/account-financial-tools-12-0-account_balance_line/pt_BR/
2020-02-07 09:00:44 +02:00
OCA Transbot
5d5580e614 Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: account-financial-tools-12.0/account-financial-tools-12.0-account_balance_line
Translate-URL: https://translation.odoo-community.org/projects/account-financial-tools-12-0/account-financial-tools-12-0-account_balance_line/
2020-02-07 09:00:44 +02:00
oca-travis
49a180f83d [UPD] Update account_balance_line.pot 2020-02-07 09:00:44 +02:00
OCA-git-bot
ee33c3a724 [UPD] README.rst 2020-02-07 09:00:44 +02:00
David Ríos Mollá
00ab0fc99c [MIG] account_balance_line: Migration to 12.0 2020-02-07 09:00:44 +02:00
Osoul
66c11fb114 Translated using Weblate (Arabic)
Currently translated at 100.0% (1 of 1 strings)

Translation: account-financial-tools-11.0/account-financial-tools-11.0-account_balance_line
Translate-URL: https://translation.odoo-community.org/projects/account-financial-tools-11-0/account-financial-tools-11-0-account_balance_line/ar/
2020-02-07 09:00:44 +02:00
oca-travis
08fe4eab8b [UPD] Update account_balance_line.pot 2020-02-07 09:00:44 +02:00
Robert Rübner
dfcf6d4564 [MIG] account_balance_line: Migration to 11.0 2020-02-07 09:00:44 +02:00
sergio.teruel
b29599ce42 [10.0][IMP] account_balance_line: Show balance always 2020-02-07 09:00:44 +02:00
Mourad Elhadj Mimoune
e6a77587fb [MIG] account_balance_line: Migrated to 10.0 2020-02-07 09:00:44 +02:00
Pedro M. Baeza
2fe20b172b account_balance_line: Use existing field 2020-02-07 09:00:44 +02:00