Commit Graph

6 Commits

Author SHA1 Message Date
cubells
5e34ffdffc [MIG] account_renumber: Migration to 12.0 2019-02-20 08:59:50 +01:00
David Vidal
01e04a11bf [MIG] account_renumber: Migration to 10.0 2019-02-18 09:34:36 +01:00
Jairo Llopis
fa621e2f59 [9.0][MIG][account_renumber] Migrate to 9.0, refactor.
- In v9 `account.period` has disappeared, so now the wizard asks for start and end dates.
- `ir.sequence` has changed logic too, this module is now adapted.
- Old tests had to be run through the CLI. New tests work with standard test system.
- Old menu parent does not exist anymore, so it is now moved to other place.
- Old license & copyright headers are now updated, respecting old copyrights where found.
- `.pot` file removed.
- README added.

Related to https://github.com/OCA/account-financial-tools/issues/311#issuecomment-219378169.
2019-02-18 09:34:36 +01:00
Jordi Llinares
7f431b65b4 [MIG] Migration of account_renumber to 8.0. 2019-02-18 09:34:36 +01:00
Nicolas Bessi
5c9c0c5c05 [FIX] move all unported addons into __unported__ folder instead of adding _unported suffix 2019-02-18 09:34:36 +01:00
Joaquin Gutierrez
57c24565d0 [FIX+IMP] account_renumber: General Refactoring:
[FIX] Changed types to orm.Model, orm.TransientModel and orm.AbstractModel.
[FIX] Change renumbering assistants in renumbering, show results and cancellation to version 7.
[FIX] Remove legacy code calls.
[FIX] Contributions have been written in the standard format of the community.
[FIX] Changes in the form to work as a real wizard.
[FIX] Remove 'init_xml' keys, because it's no longer needed in v7.
[FIX] Rename 'demo_xml' key to the new standard 'demo'.
[FIX] Rename menu entry to "Renumber journal entries".
[FIX] Change imports calls.
[FIX] Remove __author__ variables in files, because authors are put on manifest file (__openerp__.py).
[FIX] Increased compatibility with standard PEP8.
[FIX] Delete test folder. On the next review I'll be able to create with YAML.
[IMP] In selecting these come peridos sorted correctly. I modified the code to renumber the entries from period to period with this order.
[FIX] Wizard in new windows.
[FIX] Add oe_link class to close botton.
[FIX] Remove import time, it's not required.
[FIX] Delete "_process" method, it's not requerired.
[FIX] Delete "_get_id", now use the method "next_by_id" of object ir.sequence.
[FIX] Refactoring get_sequence_id_for_fiscalyear_id. At the core there is no method to get the id of a sequence based on the fiscal year. Change sql querys for browser method.
[FIX] Change order "Renumber" and "Cancel" buttons.
[FIX] Identation for return sequence_id in method get_sequence_id_for_fiscalyear_id
[FIX] Change variable name seq_facade for sequences.
[FIX] Revision for PEP8
2019-02-18 09:34:36 +01:00