Commit Graph

50 Commits

Author SHA1 Message Date
Antonio Espinosa
a802d7f05c [FIX+IMP] account_chart_update: Several things
* Set updated taxes as active
* Check parent_id field in '_is_different_tax' method
* PEP8
* Spanish translation
2020-01-08 15:50:20 -05:00
Pedro M. Baeza
c6b863d7bd [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
2020-01-08 15:50:20 -05:00
Stéphane Bidoul
ae1c2b0e8c [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
2020-01-08 15:50:20 -05:00
Adrien Peiffer
4c05f39a30 [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
2020-01-08 15:50:20 -05:00
Nicolas Bessi
df78e131f9 Set all addons to uninstallable 2020-01-08 15:50:20 -05:00
Pedro M. Baeza
5426b4929b [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.
2020-01-08 15:50:20 -05:00
Stéphane Bidoul
18cf041b3f [IMP] attempt to match tax code on code if no match on name was found 2020-01-08 15:50:20 -05:00
Yann Papouin
6d56acbb83 FIX: wrong dict passed in _update_accounts 2020-01-08 15:50:20 -05:00
Invitu
0198ce7e74 [IMP] small improvement : calling reopen method in action_init + indentation 2020-01-08 15:50:20 -05:00
Pedro M. Baeza
36ff81dd35 [IMP] account_chart_update: Menu path to avoid needing multi-company permission. 2020-01-08 15:50:20 -05:00
Joaquin Gutierrez
92715ce8c1 [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.
2020-01-08 15:50:20 -05:00
OCA-git-bot
2e9981cf06 [ADD] setup.py 2019-12-30 15:20:05 +00:00
oca-travis
884f33fd08 [UPD] Update account_move_line_purchase_info.pot 2019-12-30 15:05:35 +00:00
OCA-git-bot
2f106bb32d Merge PR #921 into 13.0
Signed-off-by AaronHForgeFlow
2019-12-30 14:56:37 +00:00
Adrià Gil Sorribes
f9b81917c3 [MIG] account_move_line_purchase_info: Migration to 13.0 2019-12-30 15:40:27 +01:00
Adrià Gil Sorribes
270d7e00a3 [IMP] account_move_line_purchase_info: black, isort 2019-12-24 09:09:12 +01:00
Rodrigo Macedo
cc0063cb5d Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (6 of 6 strings)

Translation: account-financial-tools-12.0/account-financial-tools-12.0-account_move_line_purchase_info
Translate-URL: https://translation.odoo-community.org/projects/account-financial-tools-12-0/account-financial-tools-12-0-account_move_line_purchase_info/pt_BR/
2019-12-24 09:08:48 +01:00
Pedro Castro Silva
76407b644c Translated using Weblate (Portuguese)
Currently translated at 100.0% (5 of 5 strings)

Translation: account-financial-tools-12.0/account-financial-tools-12.0-account_move_line_purchase_info
Translate-URL: https://translation.odoo-community.org/projects/account-financial-tools-12-0/account-financial-tools-12-0-account_move_line_purchase_info/pt/
2019-12-24 09:08:48 +01:00
OCA Transbot
05b4535c2e 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_move_line_purchase_info
Translate-URL: https://translation.odoo-community.org/projects/account-financial-tools-12-0/account-financial-tools-12-0-account_move_line_purchase_info/
2019-12-24 09:08:48 +01:00
oca-travis
9aca52ddd4 [UPD] Update account_move_line_purchase_info.pot 2019-12-24 09:08:48 +01:00
Jordi Ballester Alomar
424029c4a8 forward port latest changes from 11.0 2019-12-24 09:08:48 +01:00
OCA-git-bot
5878cea9ea [UPD] README.rst 2019-12-24 09:08:48 +01:00
Stéphane Bidoul (ACSONE)
78267c83ab [FIX] bump version account_move_line_purchase_info
To force wheel regeneration, because the
currently published wheel wrongly
depends on odoo12-addon-purchase_stock
which is a standard Odoo module.
2019-12-24 09:08:48 +01:00
Eduardo Aparicio
ef92d3305d Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (5 of 5 strings)

Translation: account-financial-tools-12.0/account-financial-tools-12.0-account_move_line_purchase_info
Translate-URL: https://translation.odoo-community.org/projects/account-financial-tools-12-0/account-financial-tools-12-0-account_move_line_purchase_info/pt_BR/
2019-12-24 09:08:48 +01:00
OCA Transbot
816ddf7ccc 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_move_line_purchase_info
Translate-URL: https://translation.odoo-community.org/projects/account-financial-tools-12-0/account-financial-tools-12-0-account_move_line_purchase_info/
2019-12-24 09:08:48 +01:00
oca-travis
6f51845d5c [UPD] Update account_move_line_purchase_info.pot 2019-12-24 09:08:48 +01:00
OCA-git-bot
4c075e2f63 [UPD] README.rst 2019-12-24 09:08:48 +01:00
Adrià Gil Sorribes
50a2664c04 [12.0][MIG] Migrate module account_move_line_purchase_info to v12 2019-12-24 09:08:48 +01:00
Rudolf Schnapka
4af921755f Translated using Weblate (German)
Currently translated at 100,0% (5 of 5 strings)

Translation: account-financial-tools-11.0/account-financial-tools-11.0-account_move_line_purchase_info
Translate-URL: https://translation.odoo-community.org/projects/account-financial-tools-11-0/account-financial-tools-11-0-account_move_line_purchase_info/de/
2019-12-24 09:08:48 +01:00
oca-travis
4c32286f99 [UPD] Update account_move_line_purchase_info.pot 2019-12-24 09:08:48 +01:00
Lois Rilo
161435fd82 [11.0][MIG] account_move_line_purchase_info 2019-12-24 09:08:48 +01:00
lreficent
f1d4b9f056 [FIX] odoo imports 2019-12-24 09:08:48 +01:00
lreficent
1032a16d8f [FIX] moved method and fields. 2019-12-24 09:08:48 +01:00
lreficent
7f445dcd05 [MIG] account_move_line_purchase_info 2019-12-24 09:08:48 +01:00
OCA Transbot
1d009cf349 OCA Transbot updated translations from Transifex 2019-12-24 09:08:48 +01:00
Jordi Ballester
efb07ec6af module 'account_move_line_purchase_info' 2019-12-24 09:08:48 +01:00
OCA-git-bot
4cca7cbccf [ADD] .editorconfig [ci skip] 2019-11-19 20:23:07 +01:00
OCA-git-bot
0f8f58a7c4 [ADD] setup.py 2019-10-25 08:59:13 +00:00
OCA-git-bot
1929535dbd [UPD] README.rst 2019-10-25 08:59:12 +00:00
oca-travis
0078353bdb [UPD] Update account_menu.pot 2019-10-25 08:43:47 +00:00
OCA-git-bot
a2154aac9a Merge PR #889 into 13.0
Signed-off-by pedrobaeza
2019-10-25 08:04:18 +00:00
Raf Ven
b43721e369 [MIG] account_menu: Migration to 13.0 2019-10-25 10:02:41 +02:00
OCA-git-bot
fc2ffe0890 [UPD] README.rst
[UPD] Update account_menu.pot
2019-10-25 10:01:29 +02:00
Sylvain LE GAL
a173b166c7 [ADD] bank statements menu entries 2019-10-25 10:01:29 +02:00
OCA-git-bot
0468bf9e12 [UPD] README.rst
[UPD] Update account_menu.pot
2019-10-25 10:01:29 +02:00
Sylvain LE GAL
255756cbc3 [ADD] account_menu cortesy @arthru 2019-10-25 10:01:29 +02:00
OCA-git-bot
577621d8f7 pre-commit, black, isort [ci skip] 2019-10-12 11:56:17 +02:00
OCA-git-bot
fc0595b5fb pre-commit config [ci skip] 2019-10-11 23:59:09 +02:00
Pedro M. Baeza
a86d1ee303 [FIX] .travis.yml: Ending quote + other imps 2019-10-01 14:40:14 +02:00
OCA Bot
f564d26cfd [MIG] Add metafiles
[skip ci]
2019-09-29 23:26:19 +02:00