Commit Graph

15 Commits

Author SHA1 Message Date
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-git-bot
f747503ffb account_chart_update 13.0.1.0.3 2020-03-24 10:06:05 +00: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
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
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
ernesto
8491abb6d7 [MIG] account_chart_update: Migration to 12.0 2020-01-08 15:50:21 -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
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
Pedro M. Baeza
2e849a1e30 [FIX] account_chart_update: Handle updated m2m correctly 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
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
moutio
bb5cae86ce [FIX] account_chart_update: Limit fiscal position search with same name (#651) 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