Commit Graph

107 Commits

Author SHA1 Message Date
OCA Transbot
e78e8dd73d Update translation files
Updated by Update PO files to match POT (msgmerge) hook in Weblate.
2018-11-21 20:10:47 +00:00
oca-travis
62ea7bd1a7 [UPD] Update account_chart_update.pot 2018-11-09 18:09:08 +00:00
Pedro M. Baeza
7bc8c53264 [IMP] account_chart_update: Include field selection
With this option, you can select which fields do you want to compare for updating.

Use case: you have specific accounts in taxes, and you don't want to lose them,
but you want to update their groups through the wizard. Before this, the update
was all or nothing. Now, you have total control!
2018-09-22 12:10:05 +02:00
Pedro M. Baeza
ce9b358cc0 [FIX] account_chart_update: Avoid Unicode decode error 2018-09-22 12:07:45 +02:00
oca-travis
1a98fbfced [UPD] Update account_chart_update.pot 2018-09-21 23:57:51 +00:00
Pedro M. Baeza
27a65f78ba [FIX] account_chart_update: Handle updated m2m correctly 2018-09-22 01:51:28 +02:00
oca-travis
3e7cb7ff48 [UPD] Update account_chart_update.pot 2018-09-21 01:04:19 +00:00
Pedro M. Baeza
464b88000b Merge pull request #663 from OCA/sbidoul-chart_udpate-inactive-tax-templates
account_chart_update: copy inactive tax templates too
2018-09-21 02:56:11 +02:00
Pedro M. Baeza
949ca0a235 [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:39:07 +02:00
Pedro M. Baeza
1eeb127f91 [FIX] account_chart_update: Don't cache recordsets
When marking methods as ormcache, you can't return recordsets, as they keep
the cursor information, and that cursor can be closed (worker spawn for example)
when you need to access again data.

This is fixed returning IDs instead, and browsing when needed
2018-09-19 19:43:34 +02:00
moutio
c4d62752a0 [FIX] account_chart_update: Limit fiscal position search with same name (#651) 2018-09-18 12:45:42 +02:00
Gelu
2340cf01df [FIX] account_chart_update: Fix error when updating account templates with a currency defined (#683) 2018-08-27 10:08:55 +02:00
Stéphane Bidoul (ACSONE)
c243195f7f account_chart_update: copy inactive tax templates too
In v10, tax templates have an active flag. It is useful to copy them too, letting the user select which one he wants to activate in it's instance.
2018-07-09 17:53:57 +02:00
oca-travis
86c3965db2 [UPD] Update account_chart_update.pot 2018-06-22 22:39:23 +00:00
OCA Transbot
2a1c157534 OCA Transbot updated translations from Transifex 2018-02-24 00:20:18 +01:00
OCA Transbot
beec702be6 OCA Transbot updated translations from Transifex 2018-02-03 00:22:08 +01:00
OCA Transbot
a6fedee9c2 OCA Transbot updated translations from Transifex 2018-01-27 00:19:18 +01:00
OCA Transbot
d769f0880a OCA Transbot updated translations from Transifex 2017-12-30 00:19:15 +01:00
OCA Transbot
486bf31cf8 OCA Transbot updated translations from Transifex 2017-12-02 00:19:30 +01:00
Pedro M. Baeza
dcf1db3765 [FIX] account_chart_update: Fetch account code digits correctly 2017-11-02 17:34:58 +01:00
Sylvain Van Hoof
37bfb7e86e [MIG] account_chart_update: Migration to 10.0 2017-08-15 12:46:34 +02:00
Pedro M. Baeza
f31b94dd04 [FIX] account_chart_update: Clean old authors
As this module has been written from scratch with a totally different technique, I clean the list and update copyrights.
2017-08-15 12:40:38 +02:00
Pedro M. Baeza
c8fb127770 [IMP] account_chart_update: Improve translations + Spanish 2017-08-15 12:38:17 +02:00
Pedro M. Baeza
f97668c362 [FIX] account_chart_update: Fix fiscal position mapping 2017-08-15 12:38:17 +02:00
Jairo Llopis
58980cacc5 [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.
2017-08-15 12:38:17 +02:00
Pedro M. Baeza
4b7311202c OCA Transbot updated translations from Transifex 2017-08-15 12:38:17 +02:00
Stéphane Bidoul
136fe1043c [FIX] account_chart_update:
* Process price_include field
* Detect change in price_include field
2017-08-15 12:38:17 +02:00
PabloCM
80730edc33 [FIX] Include acc templates from parent CoA templates 2017-08-15 12:38:17 +02:00
Pedro M. Baeza
edb3b066d3 [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.
2017-08-15 12:38:17 +02:00
Pedro M. Baeza
3441e7753a [MIG] Rename manifest files 2016-10-06 14:46:03 +02:00
Stéphane Bidoul (ACSONE)
1e4078b23e [FIX] remove en.po that was erroneously created by transbot 2016-08-15 18:54:03 +02:00
Pedro M. Baeza
ea8dc4862e [MIG] Make modules uninstallable 2015-10-14 02:52:55 +02:00
Stéphane Bidoul
de0ddf73c8 [UPD] prefix versions with 8.0 2015-10-09 09:59:23 +02:00
Angel Moya
556067664e [FIX][account-financial-tools] depends key is duplicated 2015-09-17 10:09:54 +02:00
OCA Transbot
5526efc8e7 OCA Transbot updated translations from Transifex 2015-09-12 17:39:28 -04:00
Pedro M. Baeza
0b51096cfc Merge pull request #231 from Antiun/pr-account_chart_update_taxes_bugfix
Several bugfixes on taxes compares and updates
2015-06-24 15:51:02 +02:00
Antonio Espinosa
028811e2a8 Add Antonio Espinosa as contributor 2015-06-24 12:25:19 +02:00
Pedro M. Baeza
9e3067237e [FIX] account_chart_update: Call mapping function instead of removed cache. Closes #240 2015-06-19 20:06:46 +02:00
Antonio Espinosa
6d6bed33cf [FIX] Spanish translation 2015-06-08 12:24:17 +02:00
Antonio Espinosa
9a56ddbc66 [FIX] Remove _logger line 2015-06-05 22:17:18 +02:00
Antonio Espinosa
b6fad122f2 [FIX] Set updated taxes as active
[FIX] Check parent_id field in '_is_different_tax' method
[FIX] PEP8
2015-06-05 22:00:47 +02:00
Pedro M. Baeza
985e714dbd [IMP] account_chart_update: README + authors 2015-05-27 10:18:41 +02:00
Pedro M. Baeza
3f3f59c16c [IMP] account_chart_update: Re-enable local cache variables 2015-05-22 20:00:28 +02:00
Pedro M. Baeza
09cb584fdb [IMP] account_chart_update: Whole refactoring
* 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.
2015-04-24 02:06:09 +02:00
Pedro M. Baeza
e0d785c619 [IMP] account_chart_update: Fix calculated field when showing inactives + add field to view 2015-04-18 13:08:29 +02:00
Alexandre Fayolle
4c2d94826e Add OCA as author of OCA addons
In order to get visibility on https://www.odoo.com/apps the OCA board has
decided to add the OCA as author of all the addons maintained as part of the
association.
2015-03-02 17:22:41 +01:00
Guewen Baconnier
d673aca58c Fix W503 errors 2015-02-17 13:00:43 +01:00
Leonardo Pistone
c79414d8b4 Merge remote-tracking branch 'origin/7.0' into merge-7.0-into-8.0 2015-02-11 17:52:30 +01:00
Stéphane Bidoul
b0efd0a46a [FIX] account_chart_update: fix None context issue 2015-02-05 15:14:53 +01:00
Stéphane Bidoul
90c240fb1f [IMP] account_chart_update: avoid inserting duplicates in presence of inactive taxes or tax codes 2015-01-14 22:41:05 +01:00