Commit Graph

317 Commits

Author SHA1 Message Date
Pedro M. Baeza
fddeb5f730 [FIX] account_chart_update: Call mapping function instead of removed cache. Closes #240 2021-03-08 16:17:38 +01:00
Antonio Espinosa
8961f0cdf5 [FIX+IMP] account_chart_update: Several things
* Set updated taxes as active
* Check parent_id field in '_is_different_tax' method
* PEP8
* Spanish translation
2021-03-08 16:17:38 +01:00
Pedro M. Baeza
24fac18c57 [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
2021-03-08 16:17:38 +01:00
Stéphane Bidoul
b9c7c74812 [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
2021-03-08 16:17:38 +01:00
Adrien Peiffer
78b56d23ca [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
2021-03-08 16:17:38 +01:00
Nicolas Bessi
35d775ccea Set all addons to uninstallable 2021-03-08 16:17:38 +01:00
Pedro M. Baeza
53c56a152e [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.
2021-03-08 16:17:38 +01:00
Stéphane Bidoul
1c457b43e9 [IMP] attempt to match tax code on code if no match on name was found 2021-03-08 16:17:38 +01:00
Yann Papouin
f25a71b71c FIX: wrong dict passed in _update_accounts 2021-03-08 16:17:38 +01:00
Invitu
229b780aa8 [IMP] small improvement : calling reopen method in action_init + indentation 2021-03-08 16:17:38 +01:00
Pedro M. Baeza
ed21db575d [IMP] account_chart_update: Menu path to avoid needing multi-company permission. 2021-03-08 16:17:38 +01:00
Joaquin Gutierrez
e097a93712 [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.
2021-03-08 16:17:38 +01:00
OCA-git-bot
4ba79d7632 [ADD] setup.py 2021-02-18 21:38:46 +00:00
OCA-git-bot
e47be278b1 [ADD] icon.png 2021-02-18 21:38:46 +00:00
OCA-git-bot
d6204cc386 [UPD] README.rst 2021-02-18 21:38:46 +00:00
OCA-git-bot
da95c7c2af [UPD] addons table in README.md 2021-02-18 21:38:44 +00:00
oca-travis
6bdbafb0b4 [UPD] Update account_move_line_menu.pot 2021-02-18 21:09:03 +00:00
OCA-git-bot
0ecd1c0db3 Merge PR #1122 into 14.0
Signed-off-by dreispt
2021-02-18 20:59:24 +00:00
OCA-git-bot
826e98633e [ADD] setup.py 2021-02-17 20:20:36 +00:00
OCA-git-bot
62a23a3482 [UPD] README.rst 2021-02-17 20:20:36 +00:00
OCA-git-bot
722b341a76 [UPD] addons table in README.md 2021-02-17 20:20:34 +00:00
oca-travis
ab9fc27cf5 [UPD] Update account_move_template.pot 2021-02-17 20:07:56 +00:00
OCA-git-bot
14a9143afb Merge PR #1096 into 14.0
Signed-off-by StefanRijnhart
2021-02-17 20:02:44 +00:00
Freni-OSI
f408e2f3f3 [14.0][IMP]Improved account_move_line_menu 2021-02-10 14:33:38 +05:30
Freni-OSI
4ce3d1ba98 [14.0][ADD]Added Module account_move_line_menu 2021-02-09 13:09:41 +05:30
Alexis de Lattre
9d4d93ad13 [MIG] account_move_template to v14 2021-02-03 21:13:58 +01:00
OCA-git-bot
c3f6c83d23 [UPD] addons table in README.md 2021-02-03 18:37:40 +00:00
OCA-git-bot
f7760e63cc account_fiscal_year 14.0.1.1.0 2021-02-03 18:37:29 +00:00
OCA-git-bot
f563fff376 Merge PR #1121 into 14.0
Signed-off-by StefanRijnhart
2021-02-03 17:47:15 +00:00
Alexis de Lattre
8313d6b5b5 Add multi-company ir.rule on account.fiscal.year 2021-02-03 14:36:02 +01:00
OCA-git-bot
33eb4e5ea2 [UPD] addons table in README.md 2021-01-29 08:57:55 +00:00
OCA-git-bot
b0f1d186b3 account_fiscal_year 14.0.1.0.1 2021-01-29 08:57:44 +00:00
OCA-git-bot
0cb1cb4fd9 [ADD] setup.py 2021-01-29 08:57:44 +00:00
OCA-git-bot
71f407cf47 [UPD] README.rst 2021-01-29 08:57:44 +00:00
OCA-git-bot
1a19a7ad41 [UPD] addons table in README.md 2021-01-29 08:57:42 +00:00
oca-travis
ba258f9be8 [UPD] Update account_fiscal_year.pot 2021-01-29 08:45:25 +00:00
OCA-git-bot
b601250a4c Merge PR #1081 into 14.0
Signed-off-by tafaRU
2021-01-29 08:40:13 +00:00
OCA-git-bot
16507208c7 [UPD] addons table in README.md 2021-01-26 15:00:19 +00:00
Pedro M. Baeza
e7128db342 [FIX] account_asset_management: Missing field renaming
type > move_type, due to uncovered code.
2021-01-26 15:59:48 +01:00
Bosd
2155c1d47f Translated using Weblate (Dutch)
Currently translated at 52.3% (11 of 21 strings)

Translation: account-financial-tools-14.0/account-financial-tools-14.0-account_menu
Translate-URL: https://translation.odoo-community.org/projects/account-financial-tools-14-0/account-financial-tools-14-0-account_menu/nl/
2021-01-25 17:44:55 +00:00
Bosd
22ef5cb910 Translated using Weblate (Dutch)
Currently translated at 59.0% (114 of 193 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/nl/
2021-01-25 17:44:55 +00:00
Bosd
030159f322 Translated using Weblate (Dutch)
Currently translated at 100.0% (1 of 1 strings)

Translation: account-financial-tools-14.0/account-financial-tools-14.0-account_balance_line
Translate-URL: https://translation.odoo-community.org/projects/account-financial-tools-14-0/account-financial-tools-14-0-account_balance_line/nl/
2021-01-25 17:44:55 +00:00
Bosd
57758e2b67 Added translation using Weblate (Dutch) 2021-01-25 15:02:50 +00:00
OCA-git-bot
87d9284a25 [ADD] setup.py 2021-01-14 18:34:19 +00:00
OCA-git-bot
bf682b24ab [ADD] icon.png 2021-01-14 18:34:18 +00:00
OCA-git-bot
970fe7e13a [UPD] README.rst 2021-01-14 18:34:18 +00:00
OCA-git-bot
9c14c684d4 [UPD] addons table in README.md 2021-01-14 18:34:17 +00:00
oca-travis
73cc12f30b [UPD] Update account_no_default.pot 2021-01-14 18:21:52 +00:00
OCA-git-bot
73361fb180 Merge PR #1110 into 14.0
Signed-off-by dreispt
2021-01-14 18:03:49 +00:00
OCA-git-bot
36189a3930 [ADD] setup.py 2021-01-14 12:44:52 +00:00