Commit Graph

5 Commits

Author SHA1 Message Date
Jairo Llopis
f2f6485264 [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-11 10:48:22 +00:00
Fernando La Chica
397210bd6d Standard migration 2022-04-09 22:20:38 +02:00
ernesto
2fa9693437 [MIG] account_chart_update: Migration to 12.0 2022-04-09 22:20:38 +02:00
amcor
3362140b15 [MIG] account_chart_update: Migration to 11.0 2022-04-09 22:20:38 +02:00
Pedro M. Baeza
15e360a0c0 [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
2022-04-09 22:20:38 +02:00