Commit Graph

8 Commits

Author SHA1 Message Date
amcor
39c346ee11 [MIG] account_chart_update: Migration to 11.0 2018-09-21 03:11:19 +02:00
Pedro M. Baeza
05611916e2 [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
2018-09-21 02:45:25 +02:00
moutio
4d8a92ab5a [FIX] account_chart_update: Limit fiscal position search with same name (#651) 2018-09-18 13:10:17 +02:00
Sylvain Van Hoof
7698c61cd7 [MIG] account_chart_update: Migration to 10.0 2018-09-18 13:10:17 +02:00
Pedro M. Baeza
8c7b862fa8 [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.
2018-09-18 13:10:17 +02:00
Jairo Llopis
ed53dc1cb7 [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.
2018-09-18 13:10:16 +02:00
Antonio Espinosa
99fb58c2d7 [FIX+IMP] account_chart_update: Several things
* Set updated taxes as active
* Check parent_id field in '_is_different_tax' method
* PEP8
* Spanish translation
2018-09-18 13:03:27 +02:00
Pedro M. Baeza
af99940c81 [IMP] account_chart_update: Whole refactoring
* Fix calculated field when showing inactives + add field to view
* Migrated to new API.
* Provided hooks for detecting changes and for adding update/create values.
* Purge dead error detection code (not applying).
* Use global mapping dictionaries stored on class instead of passing arguments down to top and viceversa.
* Number fields computed by a function field instead of being computed by hand.
* Use recordsets as indexes instead of ids to avoid repetitive browses.
* Re-enable local cache variables
* README + authors
2018-09-18 13:01:25 +02:00