2
0
Commit Graph

472 Commits

Author SHA1 Message Date
Pedro M. Baeza
bc483a106f [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
2023-01-17 08:54:49 +01:00
Stéphane Bidoul
ef73f5ad50 [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
2023-01-17 08:54:49 +01:00
Adrien Peiffer
1f48ac7fd6 [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
2023-01-17 08:54:49 +01:00
Nicolas Bessi
35ff8d9671 Set all addons to uninstallable 2023-01-17 08:54:49 +01:00
Pedro M. Baeza
e3de4cbc1d [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.
2023-01-17 08:54:49 +01:00
Stéphane Bidoul
3e5d4a173c [IMP] attempt to match tax code on code if no match on name was found 2023-01-17 08:54:49 +01:00
Yann Papouin
f88d415142 FIX: wrong dict passed in _update_accounts 2023-01-17 08:54:49 +01:00
Invitu
83c5c74a7a [IMP] small improvement : calling reopen method in action_init + indentation 2023-01-17 08:54:49 +01:00
Pedro M. Baeza
dcfd81d0e1 [IMP] account_chart_update: Menu path to avoid needing multi-company permission. 2023-01-17 08:54:49 +01:00
Joaquin Gutierrez
e9da8fe0ea [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.
2023-01-17 08:54:49 +01:00
Weblate
fe86277ea2 Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: account-financial-tools-16.0/account-financial-tools-16.0-account_cash_deposit
Translate-URL: https://translation.odoo-community.org/projects/account-financial-tools-16-0/account-financial-tools-16-0-account_cash_deposit/
2023-01-17 03:35:37 +00:00
OCA-git-bot
d6c4dd2d34 [ADD] setup.py 2023-01-16 23:18:14 +00:00
OCA-git-bot
321a476989 [UPD] README.rst 2023-01-16 23:18:04 +00:00
OCA-git-bot
3af15d9100 [UPD] addons table in README.md 2023-01-16 23:17:48 +00:00
oca-ci
e99232bca1 [UPD] Update account_cash_deposit.pot 2023-01-16 23:14:11 +00:00
OCA-git-bot
a6232a6b32 Merge PR #1531 into 16.0
Signed-off-by alexis-via
2023-01-16 23:11:30 +00:00
OCA-git-bot
03be733426 [ADD] setup.py 2023-01-06 12:19:24 +00:00
OCA-git-bot
e1f9f5ce14 [UPD] README.rst 2023-01-06 12:19:23 +00:00
OCA-git-bot
7043ce8f6d [UPD] addons table in README.md 2023-01-06 12:19:22 +00:00
oca-ci
028e431e6e [UPD] Update account_asset_management.pot 2023-01-06 12:16:22 +00:00
OCA-git-bot
760f1a55ad Merge PR #1479 into 16.0
Signed-off-by pedrobaeza
2023-01-06 12:13:25 +00:00
Rodrigo
12a018de43 [REF] account_asset_management: the name of the company_currency_id field is changed to currency_id and currency_field is not required. 2023-01-04 16:07:33 +01:00
Rodrigo
f1371e5b33 [MIG] account_asset_management: Migration to 16.0 2023-01-04 16:07:33 +01:00
Bole
a779128ac4 Translated using Weblate (Croatian)
Currently translated at 78.5% (11 of 14 strings)

Translation: account-financial-tools-16.0/account-financial-tools-16.0-account_move_print
Translate-URL: https://translation.odoo-community.org/projects/account-financial-tools-16-0/account-financial-tools-16-0-account_move_print/hr/
2023-01-04 00:59:47 +00:00
Bole
1956b05833 Translated using Weblate (Croatian)
Currently translated at 90.9% (30 of 33 strings)

Translation: account-financial-tools-16.0/account-financial-tools-16.0-account_usability
Translate-URL: https://translation.odoo-community.org/projects/account-financial-tools-16-0/account-financial-tools-16-0-account_usability/hr/
2023-01-04 00:59:46 +00:00
Bole
314b641402 Translated using Weblate (Croatian)
Currently translated at 100.0% (9 of 9 strings)

Translation: account-financial-tools-16.0/account-financial-tools-16.0-account_fiscal_position_vat_check
Translate-URL: https://translation.odoo-community.org/projects/account-financial-tools-16-0/account-financial-tools-16-0-account_fiscal_position_vat_check/hr/
2023-01-04 00:59:43 +00:00
Bole
1e2cf98100 Translated using Weblate (Croatian)
Currently translated at 100.0% (6 of 6 strings)

Translation: account-financial-tools-16.0/account-financial-tools-16.0-account_invoice_constraint_chronology
Translate-URL: https://translation.odoo-community.org/projects/account-financial-tools-16-0/account-financial-tools-16-0-account_invoice_constraint_chronology/hr/
2023-01-04 00:59:40 +00:00
Bole
09f049204f Added translation using Weblate (Croatian) 2023-01-03 21:57:54 +00:00
Bole
cb18a9abf4 Added translation using Weblate (Croatian) 2023-01-03 21:50:58 +00:00
OCA-git-bot
facbfedc12 [ADD] setup.py 2023-01-03 08:25:33 +00:00
OCA-git-bot
093bf76f04 [UPD] README.rst 2023-01-03 08:25:32 +00:00
OCA-git-bot
9871611517 [UPD] addons table in README.md 2023-01-03 08:25:31 +00:00
oca-ci
25efde6a0e [UPD] Update account_move_print.pot 2023-01-03 08:22:47 +00:00
OCA-git-bot
abbc9dc716 Merge PR #1481 into 16.0
Signed-off-by JordiBForgeFlow
2023-01-03 08:20:01 +00:00
Pedro Castro Silva
7e24d2d411 Translated using Weblate (Portuguese)
Currently translated at 100.0% (33 of 33 strings)

Translation: account-financial-tools-16.0/account-financial-tools-16.0-account_usability
Translate-URL: https://translation.odoo-community.org/projects/account-financial-tools-16-0/account-financial-tools-16-0-account_usability/pt/
2023-01-03 02:19:43 +00:00
Alexis de Lattre
3c5d26b456 [IMP] : pre-commit stuff 2022-12-24 00:58:24 +01:00
KNVx
0466dc9c43 [FIX] account_asset_management: Poor performance updating assets massively
When updating assets massively the performance when searching for deprecation_lines_ids is very low.
It is a difficult problem to detect since massive asset updates are not common.
Indexing in this field dramatically improves the timing performance.
For example, to update 3000 records it took 30 sec. With this index it takes to 2 seconds.
2022-12-24 00:42:23 +01:00
OCA-git-bot
e1d170db68 [UPD] README.rst 2022-12-24 00:42:23 +01:00
Juany Davila
82f0144baf [MIG] account_asset_management_menu: Migration to 15.0 2022-12-24 00:42:23 +01:00
Luis D. Lafaurie
e50cd8ebbe Translated using Weblate (Spanish)
Currently translated at 100.0% (263 of 263 strings)

Translation: account-financial-tools-15.0/account-financial-tools-15.0-account_asset_management
Translate-URL: https://translation.odoo-community.org/projects/account-financial-tools-15-0/account-financial-tools-15-0-account_asset_management/es/
2022-12-24 00:42:23 +01:00
Luis D. Lafaurie
6020b197d0 Translated using Weblate (Spanish)
Currently translated at 98.8% (260 of 263 strings)

Translation: account-financial-tools-15.0/account-financial-tools-15.0-account_asset_management
Translate-URL: https://translation.odoo-community.org/projects/account-financial-tools-15-0/account-financial-tools-15-0-account_asset_management/es/
2022-12-24 00:42:23 +01:00
OCA-git-bot
fae4175934 account_asset_management 15.0.1.0.1 2022-12-24 00:42:23 +01:00
angel
2800a996db [15.0][FIX] account_asset_management: add post-install tagged. 2022-12-24 00:42:23 +01:00
Ignacio Buioli
aec329fab5 Translated using Weblate (Spanish (Argentina))
Currently translated at 100.0% (263 of 263 strings)

Translation: account-financial-tools-15.0/account-financial-tools-15.0-account_asset_management
Translate-URL: https://translation.odoo-community.org/projects/account-financial-tools-15-0/account-financial-tools-15-0-account_asset_management/es_AR/
2022-12-24 00:42:23 +01:00
OCA-git-bot
8d72c9b228 [UPD] README.rst 2022-12-24 00:42:23 +01:00
oca-ci
1c13300188 [UPD] Update account_asset_management.pot 2022-12-24 00:42:23 +01:00
manu
6fc511524d [MIG]account_asset_management: Migration to 15.0 2022-12-24 00:42:23 +01:00
manu
9d5714cd94 [IMP] : black, isort, prettier 2022-12-24 00:42:23 +01:00
Saran440
6a8c389b78 [FIX] calculate day mistake, remove asset 2022-12-24 00:42:23 +01:00
Francesco Foresti
9000d51a55 Translated using Weblate (Italian)
Currently translated at 26.9% (71 of 263 strings)

Translation: account-financial-tools-14.0/account-financial-tools-14.0-account_asset_management
Translate-URL: https://translation.odoo-community.org/projects/account-financial-tools-14-0/account-financial-tools-14-0-account_asset_management/it/
2022-12-24 00:42:23 +01:00