2
0
Commit Graph

867 Commits

Author SHA1 Message Date
OCA-git-bot
8eca2dba7f [UPD] README.rst 2023-01-17 08:54:49 +01:00
oca-ci
e4df8cf7b6 [UPD] Update account_chart_update.pot 2023-01-17 08:54:49 +01:00
Fernando La Chica
7fa493cf91 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
2023-01-17 08:54:49 +01:00
Lois Rilo
236a764c99 [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.
2023-01-17 08:54:49 +01:00
Fernando La Chica
3707eede1f Standard migration 2023-01-17 08:54:49 +01:00
OCA-git-bot
e9c85795f5 account_chart_update 14.0.2.0.2 2023-01-17 08:54:49 +01:00
Miquel Raïch
8beac87a40 [FIX] account_loan: post() -> action_post() 2023-01-17 08:54:49 +01:00
Miquel Raïch
320079d543 [FIX] account_chart_update: Warning -> UserError 2023-01-17 08:54:49 +01:00
OCA Transbot
945e735943 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/
2023-01-17 08:54:49 +01:00
Pedro M. Baeza
63435fbbed [FIX] account_chart_update: cash_basis_base_account_id no longer exists
This field disappears in this version.
2023-01-17 08:54:49 +01:00
Donatas
7fbf1ab7c6 [IMP] account_chart_update: update tests 2023-01-17 08:54:49 +01:00
Luc De Meyer
7a7f0f447c [13.0][FIX]account_chart_update refactor tax update 2023-01-17 08:54:49 +01:00
Luc De Meyer
eefe80e215 [FIX] account_chart_update: ignore template fields that do not exist in real 2023-01-17 08:54:49 +01:00
Reyes4711
d4094eff87 [14.0][MIG] account_chart_update: Migration to 14.0 2023-01-17 08:54:49 +01:00
Reyes4711
45096c56ef [13.0][IMP] account_chart_update: black, isort, prettier 2023-01-17 08:54:49 +01:00
OCA-git-bot
94a6ddfcd6 account_chart_update 13.0.1.0.5 2023-01-17 08:54:49 +01:00
Luc De Meyer
5662dfe483 [13.0][FIX]account_chart_update inactive taxes false positives 2023-01-17 08:54:49 +01:00
OCA Transbot
796b056c9b 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_chart_update
Translate-URL: https://translation.odoo-community.org/projects/account-financial-tools-13-0/account-financial-tools-13-0-account_chart_update/
2023-01-17 08:54:49 +01:00
Pedro M. Baeza
2ec48c4fea [IMP] account_chart_update: Search for real XML-IDs only
Previously, only a check on an existing XML-ID which is not coming from exportation
was done, but now we check that the XML-ID is the exact one. With this, we avoid
that the same record changed their XML-ID and thus, there's no more link between
them.
2023-01-17 08:54:49 +01:00
OCA Transbot
9da7d54ff8 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_chart_update
Translate-URL: https://translation.odoo-community.org/projects/account-financial-tools-13-0/account-financial-tools-13-0-account_chart_update/
2023-01-17 08:54:49 +01:00
OCA-git-bot
f99bac7b1f account_chart_update 13.0.1.0.3 2023-01-17 08:54:49 +01:00
ps-tubtim
ac2034c28b [13.0][FIX] account_chart_update: Remove @api.multi 2023-01-17 08:54:49 +01:00
Pedro M. Baeza
ad1b376b89 [FIX+IMP] account_chart_update: Add consistency method
With this, we prevent lock due to infinite loop if children taxes are matched, but
not the parent one and it's marked to be created.
2023-01-17 08:54:49 +01:00
Pedro M. Baeza
d8644c16a3 [FIX+IMP] account_chart_update: Create taxes in batch
With this, we gain some performance, but also prevent an error if there are template
taxes that have children taxes, as Odoo standard method forces that in the same call
all of them are created simultaneously, or it will enter in an infinite loop.
2023-01-17 08:54:49 +01:00
OCA-git-bot
98fd1e8c65 pre-commit update 2023-01-17 08:54:49 +01:00
OCA Transbot
2d0280cdc3 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_chart_update
Translate-URL: https://translation.odoo-community.org/projects/account-financial-tools-13-0/account-financial-tools-13-0-account_chart_update/
2023-01-17 08:54:49 +01:00
Pedro M. Baeza
7f4622bb9b [FIX] account_chart_update: Clear caches before searching
If not, changes done in for example taxes are not reflected.
2023-01-17 08:54:49 +01:00
ernestotejeda
f20f692994 [MIG] account_chart_update: Migration to 13.0 2023-01-17 08:54:49 +01:00
ernestotejeda
2e7396b485 [IMP] account_chart_update: black, isort 2023-01-17 08:54:49 +01:00
Bole
14ff14c635 Translated using Weblate (Croatian)
Currently translated at 30.5% (36 of 118 strings)

Translation: account-financial-tools-12.0/account-financial-tools-12.0-account_chart_update
Translate-URL: https://translation.odoo-community.org/projects/account-financial-tools-12-0/account-financial-tools-12-0-account_chart_update/hr/
2023-01-17 08:54:49 +01:00
Josep M
a40c695e6e Translated using Weblate (Spanish)
Currently translated at 72.0% (85 of 118 strings)

Translation: account-financial-tools-12.0/account-financial-tools-12.0-account_chart_update
Translate-URL: https://translation.odoo-community.org/projects/account-financial-tools-12-0/account-financial-tools-12-0-account_chart_update/es/
2023-01-17 08:54:49 +01:00
OCA Transbot
3ba64768e0 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_chart_update
Translate-URL: https://translation.odoo-community.org/projects/account-financial-tools-12-0/account-financial-tools-12-0-account_chart_update/
2023-01-17 08:54:49 +01:00
ernesto
4bf18c89b7 [MIG] account_chart_update: Migration to 12.0 2023-01-17 08:54:49 +01:00
OCA Transbot
a8a21d0c0f Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: account-financial-tools-11.0/account-financial-tools-11.0-account_chart_update
Translate-URL: https://translation.odoo-community.org/projects/account-financial-tools-11-0/account-financial-tools-11-0-account_chart_update/
2023-01-17 08:54:49 +01:00
ernesto
7c03d64afc account_chart_update: Fix number of updates and insertions in log 2023-01-17 08:54:49 +01:00
ernesto
203c45b253 account_chart_update: allows to set the matching value order
It allows to set the order of matching for Account, Taxes and
Fiscal position.
2023-01-17 08:54:49 +01:00
Thorsten Vocks
0fc24c8a74 Translated using Weblate (German)
Currently translated at 100.0% (100 of 100 strings)

Translation: account-financial-tools-11.0/account-financial-tools-11.0-account_chart_update
Translate-URL: https://translation.odoo-community.org/projects/account-financial-tools-11-0/account-financial-tools-11-0-account_chart_update/de/
2023-01-17 08:54:49 +01:00
OCA Transbot
ad21402a40 Update translation files
Updated by Update PO files to match POT (msgmerge) hook in Weblate.
2023-01-17 08:54:49 +01:00
Pedro M. Baeza
9e63f90527 [IMP] account_chart_update: Include field selection
With this option, you can select which fields do you want to compare for updating.

Use case: you have specific accounts in taxes, and you don't want to lose them,
but you want to update their groups through the wizard. Before this, the update
was all or nothing. Now, you have total control!
2023-01-17 08:54:49 +01:00
Pedro M. Baeza
e206a37bdd [FIX] account_chart_update: Handle updated m2m correctly 2023-01-17 08:54:49 +01:00
Pedro M. Baeza
768276e964 [MIG] account_chart_update: Additional needed changes 2023-01-17 08:54:49 +01:00
amcor
c564971dbf [MIG] account_chart_update: Migration to 11.0 2023-01-17 08:54:49 +01:00
Stéphane Bidoul (ACSONE)
4b597e417c account_chart_update: copy inactive tax templates too
In v10, tax templates have an active flag. It is useful to copy them too, letting the user select which one he wants to activate in it's instance.
2023-01-17 08:54:49 +01:00
Pedro M. Baeza
f833ccdf36 [FIX+IMP] account_chart_update: Major refactoring
* Compare all fields from template

  Not all fields were properly compared with previous code. This means also
  to exclude some of them, but now we have a full and extensible system.

* Optimize cached method
* Generate accounts and fiscal positions using Odoo methods (tax already did)
* README by fragments
* Add tests up to full coverage
2023-01-17 08:54:49 +01:00
Pedro M. Baeza
7c52e09c8d [FIX] account_chart_update: Don't cache recordsets
When marking methods as ormcache, you can't return recordsets, as they keep
the cursor information, and that cursor can be closed (worker spawn for example)
when you need to access again data.

This is fixed returning IDs instead, and browsing when needed
2023-01-17 08:54:49 +01:00
moutio
45e6abae56 [FIX] account_chart_update: Limit fiscal position search with same name (#651) 2023-01-17 08:54:49 +01:00
amcor
9b51612116 [MIG][ADD] i18n directly from 10.0 2023-01-17 08:54:49 +01:00
Pedro M. Baeza
cf714c11f8 [FIX] account_chart_update: Fetch account code digits correctly 2023-01-17 08:54:49 +01:00
Sylvain Van Hoof
7093779041 [MIG] account_chart_update: Migration to 10.0 2023-01-17 08:54:49 +01:00
Pedro M. Baeza
fa34bca71b [FIX+IMP] account_chart_update: Fix fiscal position mapping + translations + clean authors
As this module has been written from scratch with a totally different technique, I clean the list and update copyrights.
2023-01-17 08:54:49 +01:00