Commit Graph

208 Commits

Author SHA1 Message Date
mreficent
caf2fd238e [IMP] account_move_line_tax_editable: black, isort 2020-02-13 16:48:52 +01:00
Pedro Castro Silva
2b409e3f59 Added translation using Weblate (Portuguese) 2020-02-13 16:47:27 +01:00
oca-travis
514fcb3d85 [UPD] Update account_move_line_tax_editable.pot
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_move_line_tax_editable
Translate-URL: https://translation.odoo-community.org/projects/account-financial-tools-12-0/account-financial-tools-12-0-account_move_line_tax_editable/
2020-02-13 16:47:27 +01:00
ernesto
289fb02e43 [MIG] account_move_line_tax_editable: Migration to 12.0 2020-02-13 16:47:27 +01:00
Rudolf Schnapka
614c1ae296 Translated using Weblate (German)
Currently translated at 100,0% (2 of 2 strings)

Translation: account-financial-tools-11.0/account-financial-tools-11.0-account_move_line_tax_editable
Translate-URL: https://translation.odoo-community.org/projects/account-financial-tools-11-0/account-financial-tools-11-0-account_move_line_tax_editable/de/
2020-02-13 16:47:27 +01:00
OCA Transbot
139d47d316 OCA Transbot updated translations from Transifex
[UPD] Update account_move_line_tax_editable.pot
2020-02-13 16:47:27 +01:00
Fekete Mihai
e5691228e1 Migrate account_move_line_tax_ediatble to 11.0
Update __manifest__.py
2020-02-13 16:47:27 +01:00
OCA Transbot
fca3a71b46 OCA Transbot updated translations from Transifex
OCA Transbot updated translations from Transifex

OCA Transbot updated translations from Transifex
2020-02-13 16:47:27 +01:00
Benjamin Willig
1b152af798 [IMP] Taxes data should not be editable if linked move is not in draft 2020-02-13 16:47:27 +01:00
Benjamin Willig
cd45b9383b [10.0][ADD] Module to allow account move line taxes edition 2020-02-13 16:47:27 +01:00
OCA Transbot
54248ce5c0 Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: account-financial-tools-13.0/account-financial-tools-13.0-account_balance_line
Translate-URL: https://translation.odoo-community.org/projects/account-financial-tools-13-0/account-financial-tools-13-0-account_balance_line/
2020-02-12 03:47:30 +00:00
OCA-git-bot
19a93bcca9 [ADD] setup.py 2020-02-10 19:11:17 +00:00
oca-travis
ca9a17b9e7 [UPD] Update account_asset_management.pot 2020-02-10 18:55:29 +00:00
OCA-git-bot
00d408f48f Merge PR #933 into 13.0
Signed-off-by pedrobaeza
2020-02-10 18:40:57 +00:00
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
hveficent
6696743fca [12.0] account_financial_tools: Lint fixing 2020-02-10 19:35:00 +01:00
Stéphane Valaeys
90bce17830 Fixed dynamic build of the name of the view to be called when errors are found 2020-02-10 19:35:00 +01:00
Luc De Meyer
3f8b033bd3 [12.0][FIX]traceback when deviating FY 2020-02-10 19:35:00 +01:00
Pedro M. Baeza
66835fe053 [FIX] account_asset_management: Fix tests on leap year
It's bad idea to let dates to be variable.
2020-02-10 19:35:00 +01:00
Pedro M. Baeza
b05d1afe82 [MIG] account_asset_management: Handle account_asset_analytic migration
Only field renaming is needed.
2020-02-10 19:35:00 +01:00
Rodrigo Macedo
cab6cf0c30 Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (200 of 200 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
Pedro M. Baeza
dda0e35ddc [MIG] account_asset_management: Handle account_asset_disposal migration 2020-02-10 19:33:32 +01:00
Iván Todorovich
6a7e93fb1f [12.0][FIX][account_asset_management] local variable 'asset' referenced before assignment
tools/account_asset_management/models/account_asset.py", line 970, in _compute_entries
    % (asset.name, asset.code) or asset.name
UnboundLocalError: local variable 'asset' referenced before assignment
2020-02-10 19:33:32 +01:00
Joan Sisquella
d9cb201281 [ADD] allows setting a depreciation ending date 2020-02-10 19:33:32 +01:00
Saran
2c18c391d7 [ADD] options 'use_leap_years' 2020-02-10 19:33:32 +01:00
Saran
0e34c8bd8c [12.0][IMP] account_asset_management 2020-02-10 19:33:32 +01:00
Rodrigo Macedo
20537e8fdb Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (193 of 193 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
Pedro M. Baeza
500ae8b4c9 [MIG+FIX+IMP] account_asset_management: Rework migration scripts + make asset group m2m 2020-02-10 19:33:32 +01:00
Henrik Norlin
4ecf1c62e3 [IMP] removed type, parent_id, parent_path, child_ids from account.asset & account.asset.profile 2020-02-10 19:33:32 +01:00
Henrik Norlin
cb18abb0e2 [MIG] 11.0 account_asset to 12.0 account_asset_management 2020-02-10 19:33:32 +01:00
Pedro M. Baeza
a115f2562a [FIX] account_asset_management: Don't depend on account.fiscal.year created records
* There's no need of forcing to create such records if your fiscal years are regular ones.
* FY date range computation duplicates code that is already on core.
* DummyFY is a good idea, but was not used at all. Now it is.
2020-02-10 19:33:32 +01:00
Luc De Meyer
911161a87e [FIX][12.0]asset_management - fix date string compare 2020-02-10 19:33:32 +01:00
Pedro M. Baeza
436707121b [FIX] account_asset_management: Invisible conditions must be independent from extra method_time values
If not, added methods won't hide these fields.
2020-02-10 19:33:32 +01:00
oca-travis
2984502905 [UPD] Update account_asset_management.pot 2020-02-10 19:33:32 +01:00
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