Commit Graph

1706 Commits

Author SHA1 Message Date
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 Transbot
a0a5168771 Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: account-financial-tools-13.0/account-financial-tools-13.0-account_journal_lock_date
Translate-URL: https://translation.odoo-community.org/projects/account-financial-tools-13-0/account-financial-tools-13-0-account_journal_lock_date/
2021-03-08 16:05:01 +01:00
OCA Transbot
a5b5a6e4d2 Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: account-financial-tools-13.0/account-financial-tools-13.0-account_journal_lock_date
Translate-URL: https://translation.odoo-community.org/projects/account-financial-tools-13-0/account-financial-tools-13-0-account_journal_lock_date/
2021-03-08 16:05:01 +01:00
OCA-git-bot
8aefed0f10 [UPD] README.rst 2021-03-08 16:05:01 +01:00
oca-travis
d897b01a88 [UPD] Update account_journal_lock_date.pot 2021-03-08 16:05:01 +01:00
Ernesto Tejeda
a55f8a19e3 [MIG] account_journal_lock_date: Migration to 13.0 2021-03-08 16:05:01 +01:00
Ernesto Tejeda
231683427e [IMP] account_journal_lock_date: black, isort, prettier 2021-03-08 16:05:01 +01:00
oca-travis
862ab7cf5f [UPD] Update account_journal_lock_date.pot 2021-03-08 16:05:01 +01:00
Ernesto Tejeda
0774392e35 [IMP] account_journal_lock_date: two dates per journal
- Change in journal the existing 'Lock date' by two dates, the same as in company.
- Add a wizard to allows a massive update of those dates for several journals at the same time.
2021-03-08 16:05:01 +01:00
sbejaoui
4bb9f2f493 [MIG] - account_journal_lock_date migration to 12.0 2021-03-08 16:05:01 +01:00
oca-travis
c5da082649 [UPD] Update account_journal_lock_date.pot 2021-03-08 16:05:01 +01:00
OCA Transbot
5922f5cfdc OCA Transbot updated translations from Transifex 2021-03-08 16:05:01 +01:00
Stéphane Bidoul (ACSONE)
6244e7f554 [FIX] account_journal_lock_date test on travis
The test failed on travis (not on a local install) because the
admin users if part of the Adviser group. Make sure we have the right
group and add a test for that feature too.
2021-03-08 16:05:01 +01:00
Stéphane Bidoul (ACSONE)
89fb250faa [ADD] account_journal_lock_date 2021-03-08 16:05:01 +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