2
0
Commit Graph

86 Commits

Author SHA1 Message Date
oca-ci
67830e4140 [UPD] Update account_chart_update.pot 2023-02-02 15:36:53 +00:00
Luis J. Salvatierra
e5151026a5 [MIG] account_chart_update: Migration to 16.0 2023-01-30 09:26:38 +01:00
OCA-git-bot
8c8b909132 account_chart_update 15.0.1.2.0 2023-01-17 08:54:49 +01:00
OCA-git-bot
f7282dfbea account_chart_update 15.0.1.1.0 2023-01-17 08:54:49 +01:00
OCA-git-bot
19efafc37c account_chart_update 15.0.1.0.4 2023-01-17 08:54:49 +01:00
OCA-git-bot
fb02802c27 [UPD] README.rst 2023-01-17 08:54:49 +01:00
Jairo Llopis
2edcf6c4ac [IMP] account_chart_update: reduce permissions
Only managers will be able to execute the chart of account wizard. This reflects [the requirement hardcoded upstream][1].

@moduon MT-1923

[1]: 4ac5ec6a2c/addons/account/models/chart_template.py (L234)
2023-01-17 08:54:49 +01:00
Jairo Llopis
79bbd7cdc4 [FIX] account_chart_update: false positive detecting diff on Html fields
When executing the chart updater and selecting the "notes" field from fiscal positions, you were getting differences 100% of the time.

This was because [fiscal position's notes field is Html][1], while [the template field is Text][2].

@moduon MT-1912

[1]: 5ef647d5d4/addons/account/models/partner.py (L32)
[2]: 5ef647d5d4/addons/account/models/chart_template.py (L1470)
2023-01-17 08:54:49 +01:00
Jairo Llopis
bcef995ecc [FIX] account_chart_update: responsive views
Make its 2nd step usable.

@moduon MT-1923
2023-01-17 08:54:49 +01:00
Jairo Llopis
fc7ec0bb64 Translated using Weblate (Spanish)
Currently translated at 69.3% (86 of 124 strings)

Translation: account-financial-tools-15.0/account-financial-tools-15.0-account_chart_update
Translate-URL: https://translation.odoo-community.org/projects/account-financial-tools-15-0/account-financial-tools-15-0-account_chart_update/es/
2023-01-17 08:54:49 +01:00
Lois Rilo
c630022abf [IMP] account_chart_update: improve extensibility 2023-01-17 08:54:49 +01:00
OCA-git-bot
8172b7158a account_chart_update 15.0.1.0.3 2023-01-17 08:54:49 +01:00
Pedro M. Baeza
934e2e57f6 [FIX] account_chart_update: Incorrect call in find account method
Clear copy/paste error.
2023-01-17 08:54:49 +01:00
OCA-git-bot
be87808000 account_chart_update 15.0.1.0.2 2023-01-17 08:54:49 +01:00
manu
b39b008b11 [15.0][FIX] account_chart_update: do not browse rep_line in _update_taxes_pending_for_accounts 2023-01-17 08:54:49 +01:00
Ignacio Buioli
45ad886f0b Translated using Weblate (Spanish (Argentina))
Currently translated at 100.0% (124 of 124 strings)

Translation: account-financial-tools-15.0/account-financial-tools-15.0-account_chart_update
Translate-URL: https://translation.odoo-community.org/projects/account-financial-tools-15-0/account-financial-tools-15-0-account_chart_update/es_AR/
2023-01-17 08:54:49 +01:00
Ignacio Buioli
8d72cc419f Translated using Weblate (Spanish (Argentina))
Currently translated at 36.2% (45 of 124 strings)

Translation: account-financial-tools-15.0/account-financial-tools-15.0-account_chart_update
Translate-URL: https://translation.odoo-community.org/projects/account-financial-tools-15-0/account-financial-tools-15-0-account_chart_update/es_AR/
2023-01-17 08:54:49 +01:00
Ignacio Buioli
53a7bc7699 Translated using Weblate (Spanish (Argentina))
Currently translated at 10.4% (13 of 124 strings)

Translation: account-financial-tools-15.0/account-financial-tools-15.0-account_chart_update
Translate-URL: https://translation.odoo-community.org/projects/account-financial-tools-15-0/account-financial-tools-15-0-account_chart_update/es_AR/
2023-01-17 08:54:49 +01:00
OCA-git-bot
079a665eda account_chart_update 15.0.1.0.1 2023-01-17 08:54:49 +01:00
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