Commit Graph

1706 Commits

Author SHA1 Message Date
OCA Transbot
cca1a4836f 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/
2021-03-08 16:17:38 +01:00
Pedro M. Baeza
2c2de5ce5d [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.
2021-03-08 16:17:38 +01:00
OCA Transbot
3a0b14c948 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/
2021-03-08 16:17:38 +01:00
OCA-git-bot
3c278cb68d account_chart_update 13.0.1.0.3 2021-03-08 16:17:38 +01:00
oca-travis
ae5d7c67a7 [UPD] Update account_chart_update.pot 2021-03-08 16:17:38 +01:00
ps-tubtim
ecdcfb21c1 [13.0][FIX] account_chart_update: Remove @api.multi 2021-03-08 16:17:38 +01:00
Pedro M. Baeza
0267982250 [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.
2021-03-08 16:17:38 +01:00
Pedro M. Baeza
7156b9cb14 [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.
2021-03-08 16:17:38 +01:00
OCA-git-bot
c84e969c18 pre-commit update 2021-03-08 16:17:38 +01:00
OCA Transbot
ffbfb152cd 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/
2021-03-08 16:17:38 +01:00
Pedro M. Baeza
a2a4301820 [FIX] account_chart_update: Clear caches before searching
If not, changes done in for example taxes are not reflected.
2021-03-08 16:17:38 +01:00
oca-travis
77df98b625 [UPD] Update account_chart_update.pot 2021-03-08 16:17:38 +01:00
ernestotejeda
2bf3046a7c [MIG] account_chart_update: Migration to 13.0 2021-03-08 16:17:38 +01:00
ernestotejeda
63d5714a79 [IMP] account_chart_update: black, isort 2021-03-08 16:17:38 +01:00
Bole
7412f48c44 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/
2021-03-08 16:17:38 +01:00
OCA-git-bot
92acae0a2d [UPD] README.rst 2021-03-08 16:17:38 +01:00
Josep M
1ba958f4e5 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/
2021-03-08 16:17:38 +01:00
OCA Transbot
70603e5b13 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/
2021-03-08 16:17:38 +01:00
oca-travis
f5026b1bc0 [UPD] Update account_chart_update.pot 2021-03-08 16:17:38 +01:00
OCA-git-bot
49678cf87d [UPD] README.rst 2021-03-08 16:17:38 +01:00
ernesto
b6e2359d01 [MIG] account_chart_update: Migration to 12.0 2021-03-08 16:17:38 +01:00
OCA Transbot
da9893be5f 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/
2021-03-08 16:17:38 +01:00
oca-travis
e68c7abc69 [UPD] Update account_chart_update.pot 2021-03-08 16:17:38 +01:00
OCA-git-bot
9661045209 [UPD] README.rst 2021-03-08 16:17:38 +01:00
ernesto
001f2e95ea account_chart_update: Fix number of updates and insertions in log 2021-03-08 16:17:38 +01:00
ernesto
434b80be66 account_chart_update: allows to set the matching value order
It allows to set the order of matching for Account, Taxes and
Fiscal position.
2021-03-08 16:17:38 +01:00
Thorsten Vocks
fa158f89df 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/
2021-03-08 16:17:38 +01:00
OCA Transbot
5fa38b590c Update translation files
Updated by Update PO files to match POT (msgmerge) hook in Weblate.
2021-03-08 16:17:38 +01:00
oca-travis
306113aa22 [UPD] Update account_chart_update.pot 2021-03-08 16:17:38 +01:00
Pedro M. Baeza
ea78ba2884 [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!
2021-03-08 16:17:38 +01:00
oca-travis
94f013e6ce [UPD] Update account_chart_update.pot 2021-03-08 16:17:38 +01:00
Pedro M. Baeza
c5a6eb2bf4 [FIX] account_chart_update: Handle updated m2m correctly 2021-03-08 16:17:38 +01:00
OCA Git Bot
26ff1f0ffd [UPD] README.rst 2021-03-08 16:17:38 +01:00
oca-travis
b4e25fcc10 [UPD] Update account_chart_update.pot 2021-03-08 16:17:38 +01:00
Pedro M. Baeza
0f19f777a9 [MIG] account_chart_update: Additional needed changes 2021-03-08 16:17:38 +01:00
amcor
f9642d9e84 [MIG] account_chart_update: Migration to 11.0 2021-03-08 16:17:38 +01:00
Stéphane Bidoul (ACSONE)
53fa385d08 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.
2021-03-08 16:17:38 +01:00
Pedro M. Baeza
a305c894f4 [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
2021-03-08 16:17:38 +01:00
Pedro M. Baeza
492fc9dd20 [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
2021-03-08 16:17:38 +01:00
moutio
42e9a0a584 [FIX] account_chart_update: Limit fiscal position search with same name (#651) 2021-03-08 16:17:38 +01:00
amcor
324a24b51a [MIG][ADD] i18n directly from 10.0 2021-03-08 16:17:38 +01:00
Pedro M. Baeza
7dc18f67c6 [FIX] account_chart_update: Fetch account code digits correctly 2021-03-08 16:17:38 +01:00
Sylvain Van Hoof
7e0b0d1411 [MIG] account_chart_update: Migration to 10.0 2021-03-08 16:17:38 +01:00
Pedro M. Baeza
87eec28f3a [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.
2021-03-08 16:17:38 +01:00
Jairo Llopis
58434748ae [MIG][9.0][account_chart_update] Migrate.
- New-style license headers.
- Remove .pot file.
- Remove tax codes stuff, now removed from v9.
- Refactor methods for search, create, update, delete. Now they are smaller, fitter, happier, more productive.
- Only update fields that have any kind of change on any updated record.
- Place the wizard in the configuration page, instead of its own menu item.
- Display amount of disabled taxes at ending page.
2021-03-08 16:17:38 +01:00
Stéphane Bidoul
8db0ee95b5 [FIX] account_chart_update:
* Process price_include field
* Detect change in price_include field
2021-03-08 16:17:38 +01:00
PabloCM
04c00c11dd [FIX] Include acc templates from parent CoA templates 2021-03-08 16:17:38 +01:00
Pedro M. Baeza
7fdb3ff8fe [FIX] account_chart_update: Don't write code on account update
As there's a constraint that forbids to write the code of the account
if it has moves, we delete the corresponding entry on update only,
because the method that prepares the values is the same for new and
existing accounts.
2021-03-08 16:17:38 +01:00
Angel Moya
336e4e8f4b [FIX][account-financial-tools] depends key is duplicated 2021-03-08 16:17:38 +01:00
Pedro M. Baeza
fddeb5f730 [FIX] account_chart_update: Call mapping function instead of removed cache. Closes #240 2021-03-08 16:17:38 +01:00