Commit Graph

1234 Commits

Author SHA1 Message Date
Rodrigo Macedo
b129512106 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/
2022-04-13 10:57:57 +02:00
Pedro M. Baeza
5358104889 [MIG+FIX+IMP] account_asset_management: Rework migration scripts + make asset group m2m 2022-04-13 10:57:57 +02:00
Henrik Norlin
aa9a6be74d [IMP] removed type, parent_id, parent_path, child_ids from account.asset & account.asset.profile 2022-04-13 10:57:57 +02:00
Henrik Norlin
a5ecabff87 [MIG] 11.0 account_asset to 12.0 account_asset_management 2022-04-13 10:57:57 +02:00
Pedro M. Baeza
7ebeeff4a3 [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.
2022-04-13 10:57:57 +02:00
Luc De Meyer
8d2424e84a [FIX][12.0]asset_management - fix date string compare 2022-04-13 10:57:57 +02:00
Pedro M. Baeza
475c1370a1 [FIX] account_asset_management: Invisible conditions must be independent from extra method_time values
If not, added methods won't hide these fields.
2022-04-13 10:57:56 +02:00
Pedro M. Baeza
6e64ea2dea [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.
2022-04-13 10:57:56 +02:00
Josep M
45de99c14d 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/
2022-04-13 10:57:56 +02:00
Valaeys Stéphane
0ef4fbe83d 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/
2022-04-13 10:57:56 +02:00
Eduardo Aparicio
9d3ec44e75 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/
2022-04-13 10:57:56 +02:00
Eduardo Aparicio
e4ba886690 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/
2022-04-13 10:57:56 +02:00
Marcel Savegnago
89bb6555db 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/
2022-04-13 10:57:56 +02:00
Henrik
4fae2e0ae9 [12.0][FIX] account_asset_management: date_range -> account_fiscal_year, account_analytic_id without domain 2022-04-13 10:57:56 +02:00
Bejaoui Souheil
e7f2beb6fb 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
2022-04-13 10:57:56 +02:00
Maxence Groine
8b8831980c Included PR #828 Fix computation of depreciation lines when having multiple assets in invoice 2022-04-13 10:57:56 +02:00
Maxence Groine
f27e97b4f9 account_asset_management: Add unit test for invoices with multiple assets 2022-04-13 10:57:56 +02:00
Henrik Norlin
b67fe0b79c [MIG] account_asset_management: Migration to 12.0 2022-04-13 10:57:56 +02:00
Stéphane Bidoul (ACSONE)
1dce84f230 [IMP] asset mgt: use exclude manifest key
This is now supported natively by Odoo 11.
2022-04-13 10:57:56 +02:00
Akim Juillerat
93e4756698 [MIG] account_asset_management: Migration to 11.0 2022-04-13 10:57:56 +02:00
Luc De Meyer
8ad64ceb73 [FIX] account_asset_management: Test data + onchange 2022-04-13 10:57:56 +02:00
Akim Juillerat
e89dc8ed20 [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
2022-04-13 10:57:56 +02:00
Luc De Meyer
2fe06219b6 [10.0][MIG]account_asset_management suite refactoring + 10.0 port 2022-04-13 10:57:56 +02:00
Stéphane Bidoul
edbbf476ac [UPD] prefix versions with 8.0 2022-04-13 10:57:56 +02:00
Adrien Peiffer (ACSONE)
888bba735d [FIX][account_asset_management] Avoid to select closed or cancelled analytic account 2022-04-13 10:57:56 +02:00
Stéphane Bidoul
9af16e063e [FIX] account_asset_management: do not propose special and closed periods for asset posting 2022-04-13 10:57:56 +02:00
Adrien Peiffer (ACSONE)
2e10149553 [FIX][account_asset_management] Add items on affects fields list 2022-04-13 10:57:56 +02:00
Adrien Peiffer (ACSONE)
411b371fa8 [ADD][account_asset_management] Add check on account move line 2022-04-13 10:57:56 +02:00
luc-demeyer
ebc014d150 analytic enhancement 2022-04-13 10:57:56 +02:00
luc-demeyer
95d4da66a8 account_asset_management: group invoice lines fix 2022-04-13 10:57:56 +02:00
luc-demeyer
85e62239ea [IMP] account_asset_management: code cosmetics 2022-04-13 10:57:56 +02:00
Adrien Peiffer (ACSONE)
2b92aa11ba [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
2022-04-13 10:57:56 +02:00
Stéphane Bidoul
10e085503c [IMP] account_asset_management: use reload_on_button instead of reloading page 2022-04-13 10:57:56 +02:00
Stefan Rijnhart
ab5ab51193 [FIX] Inherited model is a transient model 2022-04-13 10:57:56 +02:00
Leonardo Pistone
09d905c3f8 make *asset* installable again 2022-04-13 10:57:56 +02:00
Romain Deheele
96789a657e [FIX] test floats with assertAlmostEqual
[UPD] add places arg in assertAlmostEqual tests

[UPD] flake clean
2022-04-13 10:57:56 +02:00
Leonardo Pistone
9fc21c64b7 move account_asset_management* out of __unported__
add asset management modules

asset mgt update

redo

synch asset mgt with recent V7 changes
2022-04-13 10:57:56 +02:00
Fernando La Chica
cb32510413 Migration and some fixes:
* Ignore changes in mail thread fields
   * account.tax.template._generate_tax return dict of objects
     and wizard fails
   * Load generic coa localization module to improve the test
2022-04-12 16:41:26 +02:00
Ignacio Buioli
8f6f554f73 Translated using Weblate (Spanish (Argentina))
Currently translated at 100.0% (19 of 19 strings)

Translation: account-financial-tools-15.0/account-financial-tools-15.0-account_lock_date_update
Translate-URL: https://translation.odoo-community.org/projects/account-financial-tools-15-0/account-financial-tools-15-0-account_lock_date_update/es_AR/
2022-04-10 18:05:12 +00:00
Lois Rilo
d552b7c713 [FIX] account_chart_update: do not match twice the same repartition line
When updating a tax with several repartition lines, the same existing
candidates were considered in all iteration which could lead the wizard
to match the same repartition line with different lines of the template
and not detecting any change to do.
2022-04-09 22:20:38 +02:00
Fernando La Chica
397210bd6d Standard migration 2022-04-09 22:20:38 +02:00
Fernando La Chica
af17396e3b [IMP] account_chart_update: black, isort, prettier 2022-04-09 22:20:38 +02:00
OCA-git-bot
a7ae27634a account_chart_update 14.0.2.0.2 2022-04-09 22:20:38 +02:00
Miquel Raïch
116c6f32ec [FIX] account_loan: post() -> action_post() 2022-04-09 22:20:38 +02:00
Miquel Raïch
b94506eb5f [FIX] account_chart_update: Warning -> UserError 2022-04-09 22:20:38 +02:00
OCA Transbot
4791a42129 Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: account-financial-tools-14.0/account-financial-tools-14.0-account_chart_update
Translate-URL: https://translation.odoo-community.org/projects/account-financial-tools-14-0/account-financial-tools-14-0-account_chart_update/
2022-04-09 22:20:38 +02:00
Pedro M. Baeza
48f56eda9b [FIX] account_chart_update: cash_basis_base_account_id no longer exists
This field disappears in this version.
2022-04-09 22:20:38 +02:00
Donatas
2757b035d3 [IMP] account_chart_update: update tests 2022-04-09 22:20:38 +02:00
Luc De Meyer
970c0212e3 [13.0][FIX]account_chart_update refactor tax update 2022-04-09 22:20:38 +02:00
Luc De Meyer
a0ed803a88 [FIX] account_chart_update: ignore template fields that do not exist in real 2022-04-09 22:20:38 +02:00