Commit Graph

424 Commits

Author SHA1 Message Date
Pedro M. Baeza
9e59e58d84 [FIX] account_chart_update: Call mapping function instead of removed cache. Closes #240 2018-09-18 13:03:27 +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
Stéphane Bidoul
5bf43b0500 [FIX+IMP] account_chart_update: Several things
* search on code first to match tax codes

  The tax code code should be more discriminant that the tax code name.

* compare more fields in tax codes
* deletion of tax codes removed from templates

  For tax codes, it make sense to propose deletion, since tax codes
  are normally defined by the tax authority and the user does not
  customize them.

* update accounts on taxes even if an update of the account was not requested

  Useful when the chart of taxes changes but the chart of account
  need not be updated.

* depth-first search of tax codes

  This helps creating parents before children.

* compare more fields in taxes
* add active field on tax code

  Deactivate tax codes which are not in the template.

* deactivate taxes that are not in the template
* multi-company criteria for taxes
* avoid inserting duplicates in presence of inactive taxes or tax codes
2018-09-18 12:59:25 +02:00
Adrien Peiffer
0e05c2e561 [MIG] account_chart_update: Migration to 8.0
* Move out of unported
* Set account_chart_update installable
* value_reference of ir.property is a char
* Use get_by_record method of ir.property
* number digits is returned before assignment in case of property exist but account not
* product_obj isn't used
2018-09-18 12:56:48 +02:00
Nicolas Bessi
28b11e03e0 Set all addons to uninstallable 2018-09-18 12:56:26 +02:00
Pedro M. Baeza
1f663518b8 [FIX] account_chart_update: Selection of operations to do now is working.
[FIX] account_chart_update: Adapted to work with inherited account chart templates.
[FIX] account_chart_update: Remove required=True for chart_template_id on DB and put on screen to avoid error when removing chart templates.
[FIX] account_chart_update: Change method to compare taxes of fiscal positions to match with the one comparing taxes.
[FIX] account_chart_update: Change method to compare accounts of fiscal positions to match with the one comparing accounts.
[IMP] account_chart_update: Wizard now shows in tree view modification notes.
[IMP] account_chart_update: For new data to be created, it is marked on notes the reason for the creation (just for clarity).
[IMP] account_chart_update: Tabs for operations that are not going to be performed are hidden.
[IMP] account_chart_update: Some PEP8 here and there.
[IMP] account_chart_update: Enhance a little the mapping searches (there's more room to improve).
[IMP] account_chart_update: Now it takes into account name and description for mapping taxes.
2018-09-18 12:55:04 +02:00
Stéphane Bidoul
1acd2665a6 [IMP] attempt to match tax code on code if no match on name was found 2018-09-18 12:55:04 +02:00
Yann Papouin
dec0b0ed1c FIX: wrong dict passed in _update_accounts 2018-09-18 12:53:26 +02:00
Invitu
766db70200 [IMP] small improvement : calling reopen method in action_init + indentation 2018-09-18 12:53:26 +02:00
Pedro M. Baeza
2ce0311762 [IMP] account_chart_update: Menu path to avoid needing multi-company permission. 2018-09-18 12:53:26 +02:00
Joaquin Gutierrez
2e14249c67 [MIG]: account_char_update: Migration to version 7.0
[FIX]: Changed types to orm.Model, orm.TransientModel and orm.AbstractModel.
[FIX]: Fix deletion method for some fields of objects.
[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]: Change imports calls.
[FIX]: Remove __author__ variables in files, because authors are put on manifest file (__openerp__.py).
[FIX]: Update view definitions to version 7.0
[FIX]: Rename variables to OpenERP standard.
[FIX]: Increased compatibility with standard PEP8.
[IMP]:  User Invitu add the method call _reopen to keep open the wizard.
[MRG]: User Invitu add frech language.
2018-09-18 12:52:55 +02:00
Pedro M. Baeza
7c7ec2057b Merge pull request #692 from yung-wang/yung-wang-patch-2
[11.0][FIX] account_credit_control: improve readme
2018-09-18 11:50:50 +02:00
Pedro M. Baeza
044e70c244 [FIX] account_lock_date_update: Fix tests 2018-09-18 11:39:41 +02:00
Yung-Wa
1d04c0d46b Updating the readme with extra information 2018-09-18 10:22:39 +02:00
Hans Henrik Gabelgaard
d20cd786f7 Translated using Weblate (Danish)
Currently translated at 87.5% (7 of 8 strings)

Translation: account-financial-tools-11.0/account-financial-tools-11.0-account_fiscal_year
Translate-URL: https://translation.odoo-community.org/projects/account-financial-tools-11-0/account-financial-tools-11-0-account_fiscal_year/da/
2018-09-06 08:12:21 +00:00
Hans Henrik Gabelgaard
622e35f83a Added translation using Weblate (Danish) 2018-09-05 08:06:18 +00:00
Pedro M. Baeza
4b09ffa101 Merge pull request #686 from Jarsa-dev/11.0-fix_reversal_multi
[11.0][FIX] account_reversal - Reverse multiple journal entries.
2018-09-03 22:49:19 +02:00
ougc27
48d1e5816d [FIX] account_reversal - Reverse multiple journal entries. 2018-09-03 15:19:11 -05:00
OCA Git Bot
b46bbc48cf [ADD] setup.py 2018-08-29 04:33:44 +02:00
oca-travis
850f4a9255 [UPD] Update account_reversal.pot 2018-08-28 22:05:50 +00:00
oca-travis
21f23892bd [UPD] Update account_netting.pot 2018-08-28 22:05:48 +00:00
Pedro M. Baeza
0084910c7d Merge pull request #606 from feketemihai/11.0-mig-account_netting
[MIG] [11.0] account netting
2018-08-28 23:57:21 +02:00
OCA Git Bot
439d2fd120 [ADD] setup.py 2018-08-28 04:33:43 +02:00
OCA Git Bot
a621f055a6 [UPD] README.rst 2018-08-28 04:33:42 +02:00
oca-travis
d32d3874a2 [UPD] Update account_check_deposit.pot 2018-08-27 15:46:49 +00:00
Pedro M. Baeza
4094b60def Merge pull request #678 from Tecnativa/11.0-account_check_deposit
[11.0] [MIG] account_check_deposit: Migration to 11.0
2018-08-27 17:15:55 +02:00
OCA Git Bot
7548162c3c [UPD] README.rst 2018-08-24 04:33:43 +02:00
OCA Git Bot
04ed6540cb [ADD] setup.py 2018-08-16 04:33:51 +02:00
oca-travis
ed79a5d7d7 [UPD] Update account_reversal.pot 2018-08-15 16:02:37 +00:00
oca-travis
6126c43dfc [UPD] Update account_renumber.pot 2018-08-15 16:02:36 +00:00
Pedro M. Baeza
2b8a047e4f Merge pull request #577 from AbrahamTrey/11.0-mig-account_renumber
[11.0][MIG] account renumber: Migration to 11.0
2018-08-15 17:55:16 +02:00
Pedro M. Baeza
4bd2af050e [MIG] account_renumber: Migration to 11.0
* Standard procedure
* README by fragments
* 2to3 run
* Manifest changed
2018-08-15 17:35:40 +02:00
Pedro M. Baeza
6ac9679b03 [FIX] account_renumber: Fix translations after unsucessful git am
Due to the merge operations, a lot of conflicts arise. This way, I have rid off the problems
and let to the same translation status as before.
2018-08-15 17:23:31 +02:00
oca-travis
9f385ba8e7 [UPD] Update account_renumber.pot 2018-08-15 17:23:31 +02:00
OCA Transbot
876a6bd780 OCA Transbot updated translations from Transifex 2018-08-15 17:23:31 +02:00
Pedro M. Baeza
e7cf803de0 [FIX] account_renumber: sudo for assigning next sequences
You don't need to have settings permission for running this wizard.
2018-08-15 17:23:31 +02:00
David Vidal
da8a923b86 [MIG] account_renumber: Migration to 10.0 2018-08-15 17:23:31 +02:00
OCA Transbot
f818675212 OCA Transbot updated translations from Transifex 2018-08-15 17:23:31 +02:00
Jairo Llopis
6e2ffbe037 [IMP] account_renumber:
* Increase coverage to 100%.
* Update data file tags, remove old-style "or" from wizard view.
* Skip renumber when no date range is found.
2018-08-15 17:23:31 +02:00
Jairo Llopis
87df3f8905 [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.
2018-08-15 17:23:31 +02:00
OCA Transbot
e03198b311 OCA Transbot updated translations from Transifex 2018-08-15 17:23:31 +02:00
Rudolf Schnapka
78e2194877 initial german translation (mostly) 2018-08-15 17:23:31 +02:00
Jordi Llinares
c34d9ae5b2 [MIG] Migration of account_renumber to 8.0. 2018-08-15 17:23:31 +02:00
Nicolas Bessi
5109a99bd7 [FIX] move all unported addons into __unported__ folder instead of adding _unported suffix 2018-08-15 17:23:31 +02:00
Nicolas Bessi
efd128339b Set all addons to uninstallable 2018-08-15 17:23:31 +02:00
Pedro M. Baeza
cca2c660c3 [IMP] account_renumber: Full PEP8 in wizard_renumber.py 2018-08-15 17:23:31 +02:00
Launchpad Translations on behalf of account-core-editors
cf56e8a1c9 Launchpad automatic translations update. 2018-08-15 17:23:31 +02:00
Pedro M. Baeza
9cb70feef3 [IMP] account_renumber: PEP8
[IMP] account_renumber: Restrict to account managers.
[IMP] account_renumber: Fix translations.
2018-08-15 17:23:31 +02:00
Pedro M. Baeza
a3644993ff [IMP] account_renumber: Spaces instead tabs on XML.
[FIX] account_renumber: Group restriction for the menu removed.
2018-08-15 17:23:31 +02:00