Commit Graph

63 Commits

Author SHA1 Message Date
OCA-git-bot
068371e8e5 account_chart_update 13.0.1.0.5 2020-10-22 10:30:55 +00:00
Luc De Meyer
df4fd2a83a [13.0][FIX]account_chart_update inactive taxes false positives 2020-09-07 09:52:31 +02:00
OCA Transbot
53d1e05835 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/
2020-08-16 11:27:33 +00:00
Pedro M. Baeza
7262031458 [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.
2020-03-24 18:20:07 +01:00
OCA Transbot
18816f8865 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/
2020-03-24 10:06:21 +00:00
OCA-git-bot
f747503ffb account_chart_update 13.0.1.0.3 2020-03-24 10:06:05 +00:00
oca-travis
45a36f45cc [UPD] Update account_chart_update.pot 2020-03-24 09:32:15 +00:00
ps-tubtim
1fcbc3345d [13.0][FIX] account_chart_update: Remove @api.multi 2020-03-24 15:48:23 +07:00
Pedro M. Baeza
be8170a75d [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.
2020-03-20 12:47:40 +01:00
Pedro M. Baeza
bb634be3d0 [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.
2020-03-20 12:45:55 +01:00
OCA-git-bot
bc7c3fa5c1 pre-commit update 2020-03-14 11:47:13 +01:00
OCA Transbot
335ff15d69 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/
2020-01-30 21:32:52 +00:00
Pedro M. Baeza
03a7596ae0 [FIX] account_chart_update: Clear caches before searching
If not, changes done in for example taxes are not reflected.
2020-01-30 22:32:39 +01:00
oca-travis
f839bc32fd [UPD] Update account_chart_update.pot 2020-01-22 10:06:21 +00:00
ernestotejeda
1891982311 [MIG] account_chart_update: Migration to 13.0 2020-01-17 16:54:41 -05:00
ernestotejeda
48813c5d56 [IMP] account_chart_update: black, isort 2020-01-08 15:52:03 -05:00
Bole
4cde2a64e8 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/
2020-01-08 15:50:21 -05:00
OCA-git-bot
9b5519b18f [UPD] README.rst 2020-01-08 15:50:21 -05:00
Josep M
654f2b1039 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/
2020-01-08 15:50:21 -05:00
OCA Transbot
3d33edce2f 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/
2020-01-08 15:50:21 -05:00
oca-travis
659151bb08 [UPD] Update account_chart_update.pot 2020-01-08 15:50:21 -05:00
OCA-git-bot
ac0c4cb94f [UPD] README.rst 2020-01-08 15:50:21 -05:00
ernesto
8491abb6d7 [MIG] account_chart_update: Migration to 12.0 2020-01-08 15:50:21 -05:00
OCA Transbot
c8dd783302 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/
2020-01-08 15:50:21 -05:00
oca-travis
71438f6f64 [UPD] Update account_chart_update.pot 2020-01-08 15:50:20 -05:00
OCA-git-bot
4a77a4ebc1 [UPD] README.rst 2020-01-08 15:50:20 -05:00
ernesto
5f0a829c51 account_chart_update: Fix number of updates and insertions in log 2020-01-08 15:50:20 -05:00
ernesto
7a3618b657 account_chart_update: allows to set the matching value order
It allows to set the order of matching for Account, Taxes and
Fiscal position.
2020-01-08 15:50:20 -05:00
Thorsten Vocks
f465629ff4 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/
2020-01-08 15:50:20 -05:00
OCA Transbot
f2bf94db1b Update translation files
Updated by Update PO files to match POT (msgmerge) hook in Weblate.
2020-01-08 15:50:20 -05:00
oca-travis
e7bc8de9f5 [UPD] Update account_chart_update.pot 2020-01-08 15:50:20 -05:00
Pedro M. Baeza
9dbff9816d [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!
2020-01-08 15:50:20 -05:00
oca-travis
c211eb960e [UPD] Update account_chart_update.pot 2020-01-08 15:50:20 -05:00
Pedro M. Baeza
2e849a1e30 [FIX] account_chart_update: Handle updated m2m correctly 2020-01-08 15:50:20 -05:00
OCA Git Bot
3a5909cc93 [UPD] README.rst 2020-01-08 15:50:20 -05:00
oca-travis
e8c9b82935 [UPD] Update account_chart_update.pot 2020-01-08 15:50:20 -05:00
Pedro M. Baeza
72940bae06 [MIG] account_chart_update: Additional needed changes 2020-01-08 15:50:20 -05:00
amcor
1ff708e3dd [MIG] account_chart_update: Migration to 11.0 2020-01-08 15:50:20 -05:00
Stéphane Bidoul (ACSONE)
37df7fb1e7 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.
2020-01-08 15:50:20 -05:00
Pedro M. Baeza
9906636578 [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
2020-01-08 15:50:20 -05:00
Pedro M. Baeza
969579c6ab [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
2020-01-08 15:50:20 -05:00
moutio
bb5cae86ce [FIX] account_chart_update: Limit fiscal position search with same name (#651) 2020-01-08 15:50:20 -05:00
amcor
c97708c4c6 [MIG][ADD] i18n directly from 10.0 2020-01-08 15:50:20 -05:00
Pedro M. Baeza
8e86003b16 [FIX] account_chart_update: Fetch account code digits correctly 2020-01-08 15:50:20 -05:00
Sylvain Van Hoof
f6a4890b9a [MIG] account_chart_update: Migration to 10.0 2020-01-08 15:50:20 -05:00
Pedro M. Baeza
7f8c24a480 [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.
2020-01-08 15:50:20 -05:00
Jairo Llopis
f98bd62d1b [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.
2020-01-08 15:50:20 -05:00
Stéphane Bidoul
1d14a3979d [FIX] account_chart_update:
* Process price_include field
* Detect change in price_include field
2020-01-08 15:50:20 -05:00
PabloCM
fd570180d6 [FIX] Include acc templates from parent CoA templates 2020-01-08 15:50:20 -05:00
Pedro M. Baeza
76ba0ecdf0 [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.
2020-01-08 15:50:20 -05:00