2
0
Commit Graph

15 Commits

Author SHA1 Message Date
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-git-bot
f99bac7b1f account_chart_update 13.0.1.0.3 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
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
ernesto
4bf18c89b7 [MIG] account_chart_update: Migration to 12.0 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
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
amcor
c564971dbf [MIG] account_chart_update: Migration to 11.0 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
moutio
45e6abae56 [FIX] account_chart_update: Limit fiscal position search with same name (#651) 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