Commit Graph

137 Commits

Author SHA1 Message Date
amcor
00a776c3b3 [MIG][ADD] i18n directly from 10.0 2019-03-14 22:51:10 -04:00
Pedro M. Baeza
ba92256389 [FIX] account_chart_update: Fetch account code digits correctly 2019-03-14 22:51:10 -04:00
Sylvain Van Hoof
754727a5f8 [MIG] account_chart_update: Migration to 10.0 2019-03-14 22:51:10 -04:00
Pedro M. Baeza
0f8de3bb9c [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.
2019-03-14 22:51:10 -04:00
Jairo Llopis
21f1136e34 [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.
2019-03-14 22:51:10 -04:00
Stéphane Bidoul
f2804f76f8 [FIX] account_chart_update:
* Process price_include field
* Detect change in price_include field
2019-03-14 22:51:10 -04:00
PabloCM
e5f065917a [FIX] Include acc templates from parent CoA templates 2019-03-14 22:51:10 -04:00
Pedro M. Baeza
bce67eecc5 [FIX] account_chart_update: Don't write code on account update
As there's a constraint that forbids to write the code of the account
if it has moves, we delete the corresponding entry on update only,
because the method that prepares the values is the same for new and
existing accounts.
2019-03-14 22:51:10 -04:00
Angel Moya
cc9fa2718d [FIX][account-financial-tools] depends key is duplicated 2019-03-14 22:51:10 -04:00
Pedro M. Baeza
e176068138 [FIX] account_chart_update: Call mapping function instead of removed cache. Closes #240 2019-03-14 22:51:10 -04:00
Antonio Espinosa
78ca276f52 [FIX+IMP] account_chart_update: Several things
* Set updated taxes as active
* Check parent_id field in '_is_different_tax' method
* PEP8
* Spanish translation
2019-03-14 22:51:10 -04:00
Pedro M. Baeza
07a3f2392d [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
2019-03-14 22:51:10 -04:00
Stéphane Bidoul
0ee7ed007a [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
2019-03-14 22:51:10 -04:00
Adrien Peiffer
35026cad5d [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
2019-03-14 22:51:10 -04:00
Nicolas Bessi
57253214a1 Set all addons to uninstallable 2019-03-14 22:51:10 -04:00
Pedro M. Baeza
915024fdcc [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.
2019-03-14 22:51:10 -04:00
Stéphane Bidoul
7970dd4ab8 [IMP] attempt to match tax code on code if no match on name was found 2019-03-14 22:51:10 -04:00
Yann Papouin
8ea262e975 FIX: wrong dict passed in _update_accounts 2019-03-14 22:51:10 -04:00
Invitu
9e1862b6f4 [IMP] small improvement : calling reopen method in action_init + indentation 2019-03-14 22:51:10 -04:00
Pedro M. Baeza
210efa5b28 [IMP] account_chart_update: Menu path to avoid needing multi-company permission. 2019-03-14 22:51:10 -04:00
Joaquin Gutierrez
5929d05892 [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.
2019-03-14 22:51:10 -04:00
oca-travis
23629cad81 [UPD] Update account_balance_line.pot 2019-03-08 10:06:33 +00:00
OCA-git-bot
d2a4e694da [ADD] setup.py 2019-03-08 09:12:05 +00:00
OCA-git-bot
6cdd760386 [UPD] README.rst 2019-03-08 09:12:05 +00:00
Pedro M. Baeza
386cad9f5f Merge pull request #769 from Studio73/12.0-mig-account_balance_line
[12.0][MIG] account balance line
2019-03-08 10:11:49 +01:00
oca-travis
a5e42f589b [UPD] Update account_move_fiscal_year.pot 2019-03-07 19:30:08 +00:00
OCA-git-bot
20dbb73baa [ADD] setup.py 2019-03-07 15:56:45 +00:00
OCA-git-bot
9c7f8daf82 [UPD] README.rst 2019-03-07 15:56:45 +00:00
Pedro M. Baeza
9e06980519 Merge pull request #741 from Eficent/12.0-mig-account_move_fiscal_year
[12.0] [MIG] account_move_fiscal_year
2019-03-07 16:56:29 +01:00
oca-travis
e8ddc64602 [UPD] Update account_check_deposit.pot 2019-03-04 08:05:49 +00:00
OCA-git-bot
1658765838 [ADD] setup.py 2019-03-04 07:59:06 +00:00
OCA-git-bot
00f0b7d6a2 [UPD] README.rst 2019-03-04 07:59:06 +00:00
Alexis de Lattre
cd4e91d0d8 Merge pull request #761 from acsone/12.0-mig_account_check_deposit_tbi
[12.0] [MIG] Account Check Deposit
2019-03-04 08:58:51 +01:00
Alexis de Lattre
800db2b5b0 account_check_deposit: Don't force 'name' of account.move
Add print button (feature up-ported from v10)
Add option to post moves (feature up-ported from v10)
Sequence now takes into account the deposit date
Customize the filename of the report
Update README with v12 labels
2019-03-04 08:28:33 +01:00
OCA Transbot
e6534a3e39 Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: account-financial-tools-12.0/account-financial-tools-12.0-account_renumber
Translate-URL: https://translation.odoo-community.org/projects/account-financial-tools-12-0/account-financial-tools-12-0-account_renumber/
2019-03-03 15:16:50 +00:00
Thomas Binsfeld
5cfb5bbb66 [REF] Gitignore: .eggs 2019-02-21 10:59:56 +01:00
Thomas Binsfeld
708a2e8130 [MIG] Account Check Deposit to 12.0 2019-02-21 10:59:56 +01:00
OCA Transbot
a58de9ec07 Update translation files
Updated by Update PO files to match POT (msgmerge) hook in Weblate.
2019-02-21 10:59:56 +01:00
Rudolf Schnapka
eeab255acb Translated using Weblate (German)
Currently translated at 100,0% (61 of 61 strings)

Translation: account-financial-tools-11.0/account-financial-tools-11.0-account_check_deposit
Translate-URL: https://translation.odoo-community.org/projects/account-financial-tools-11-0/account-financial-tools-11-0-account_check_deposit/de/
2019-02-21 10:59:56 +01:00
OCA Git Bot
eb1da5852b [UPD] README.rst 2019-02-21 10:59:56 +01:00
oca-travis
a1a5a3b2f0 [UPD] Update account_check_deposit.pot 2019-02-21 10:59:56 +01:00
Pedro M. Baeza
3b1f4b49d3 [MIG] account_check_deposit: Migration to 11.0 2019-02-21 10:59:56 +01:00
oca-travis
becb39d333 [UPD] Update account_check_deposit.pot 2019-02-21 10:59:56 +01:00
Pedro M. Baeza
44de5ceccf [FIX] account_check_deposit: Change company currency in tests by SQL
For avoiding constraint.
2019-02-21 10:59:56 +01:00
OCA Transbot
d980e5ab8a OCA Transbot updated translations from Transifex 2019-02-21 10:59:56 +01:00
Alexis de Lattre
67aef2578a [FIX+imp] account_check_deposit: no auto-post move + use the bank journal if the offsetting account is the bank account 2019-02-21 10:59:56 +01:00
OCA Transbot
4239d2eaf4 OCA Transbot updated translations from Transifex 2019-02-21 10:59:56 +01:00
Alexis de Lattre
47a487bbe7 [MIG] account_check_deposit: Migration to v10
* Add option to have the counter-part of the deposit move directly to the bank account
  Use account.config.settings page
* Remove data that create a bank journal because it blocks the loading of the chart of accounts when
  the module is installed at the same time as the chart of account (via dependencies)
2019-02-21 10:59:56 +01:00
Florian da Costa
70277c0234 Fix payment field + automatic reconciliation on validation 2019-02-21 10:59:56 +01:00
Mourad Elhadj Mimoune
91ed0df172 [MIG] account_check_deposit: Migration to 9.0
* create move and move line at the same time
* add tests
2019-02-21 10:59:56 +01:00