Commit Graph

251 Commits (ddf826a3a490a554e9f0728cb6e8a97c1037dc9c)

Author SHA1 Message Date
Pedro M. Baeza 3cb927d6f1 [RFR] Apply a mapping instead of separate queries 2020-10-22 22:11:42 +02:00
Stefan Rijnhart dfd8c8272f [ADD] Prefill move_type
Precreate move_type and fill with appropriate values to prevent
a MemoryError when the ORM attempts to call its compute method on a large
amount of preexisting moves.
2020-10-22 22:11:42 +02:00
Andrea 1d539a6860 Black, isort, etc... 2020-10-22 22:11:42 +02:00
Andrea 03d33996be Code review 2020-10-22 22:11:42 +02:00
Andrea 2f0e64754e Convert onchange to computed 2020-10-22 22:11:42 +02:00
Andrea b98aadf030 [13.0][MIG] account_tax_balance 2020-10-22 22:11:42 +02:00
Andrea 6a86916765 [IMP] Ease extension if multicompany fiscal unit 2020-10-22 22:11:42 +02:00
OCA-git-bot 9e61e14d71 [UPD] README.rst 2020-10-22 22:11:42 +02:00
Josep M e8b78543af Translated using Weblate (Spanish)
Currently translated at 100.0% (47 of 47 strings)

Translation: account-financial-reporting-12.0/account-financial-reporting-12.0-account_tax_balance
Translate-URL: https://translation.odoo-community.org/projects/account-financial-reporting-12-0/account-financial-reporting-12-0-account_tax_balance/es/
2020-10-22 22:11:42 +02:00
OCA Transbot 3d4fe86af5 Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: account-financial-reporting-12.0/account-financial-reporting-12.0-account_tax_balance
Translate-URL: https://translation.odoo-community.org/projects/account-financial-reporting-12-0/account-financial-reporting-12-0-account_tax_balance/
2020-10-22 22:11:42 +02:00
Jaume Planas 9f776717a2 Translated using Weblate (Catalan)
Currently translated at 67.4% (31 of 46 strings)

Translation: account-financial-reporting-12.0/account-financial-reporting-12.0-account_tax_balance
Translate-URL: https://translation.odoo-community.org/projects/account-financial-reporting-12-0/account-financial-reporting-12-0-account_tax_balance/ca/
2020-10-22 22:11:42 +02:00
oca-travis 58e90b501d [UPD] Update account_tax_balance.pot 2020-10-22 22:11:42 +02:00
David Beal d86a4405c7 [IMP] tax_balance: breadcrumb name (#548) 2020-10-22 22:11:42 +02:00
Pedro M. Baeza e3a8006cf4 [IMP] account_tax_balance: Ensure test correctness (2)
Tests failed if you don't have an account called 'Tax Paid' in your test DB, which
can happen when you are integrating tests in other environments, for example with
other starting language.
2020-10-22 22:11:42 +02:00
Pedro M. Baeza 44b469d0c2 [IMP] account_tax_balance: Ensure test correctness
On certain environments, expense account might not exist, so we create it directly
for avoiding problems.
2020-10-22 22:11:42 +02:00
Katerina Katapodi f1c22db708 Translated using Weblate (French)
Currently translated at 95.7% (44 of 46 strings)

Translation: account-financial-reporting-12.0/account-financial-reporting-12.0-account_tax_balance
Translate-URL: https://translation.odoo-community.org/projects/account-financial-reporting-12-0/account-financial-reporting-12-0-account_tax_balance/fr/
2020-10-22 22:11:42 +02:00
Marta Vázquez Rodríguez 58de7cdb42 Translated using Weblate (Spanish)
Currently translated at 100.0% (46 of 46 strings)

Translation: account-financial-reporting-12.0/account-financial-reporting-12.0-account_tax_balance
Translate-URL: https://translation.odoo-community.org/projects/account-financial-reporting-12-0/account-financial-reporting-12-0-account_tax_balance/es/
2020-10-22 22:11:42 +02:00
Sergio Zanchetta b885ba7b5e Translated using Weblate (Italian)
Currently translated at 84.8% (39 of 46 strings)

Translation: account-financial-reporting-12.0/account-financial-reporting-12.0-account_tax_balance
Translate-URL: https://translation.odoo-community.org/projects/account-financial-reporting-12-0/account-financial-reporting-12-0-account_tax_balance/it/
2020-10-22 22:11:42 +02:00
OCA Transbot 77226a3f36 Update translation files
Updated by Update PO files to match POT (msgmerge) hook in Weblate.
2020-10-22 22:11:42 +02:00
oca-travis bf87cd1272 [UPD] Update account_tax_balance.pot 2020-10-22 22:11:42 +02:00
Sergio Zanchetta 28eb2c2166 Translated using Weblate (Italian)
Currently translated at 80.4% (41 of 51 strings)

Translation: account-financial-reporting-12.0/account-financial-reporting-12.0-account_tax_balance
Translate-URL: https://translation.odoo-community.org/projects/account-financial-reporting-12-0/account-financial-reporting-12-0-account_tax_balance/it/
2020-10-22 22:11:42 +02:00
OCA-git-bot fe254bb9bd [UPD] README.rst 2020-10-22 22:11:42 +02:00
JordyBlankestijn e54e359034 Translated using Weblate (Dutch)
Currently translated at 47.1% (24 of 51 strings)

Translation: account-financial-reporting-12.0/account-financial-reporting-12.0-account_tax_balance
Translate-URL: https://translation.odoo-community.org/projects/account-financial-reporting-12-0/account-financial-reporting-12-0-account_tax_balance/nl_NL/
2020-10-22 22:11:42 +02:00
Andrea 01574e251a [FIX] at_install/post_install test decorators 2020-10-22 22:11:42 +02:00
OCA Git Bot ba2135de25 [UPD] README.rst 2020-10-22 22:11:42 +02:00
Andrea 36f057c323 [12.0][MIG] account_tax_balance 2020-10-22 22:11:42 +02:00
Jimmy Ramos 8f2dd12354 Translated using Weblate (Spanish)
Currently translated at 100.0% (51 of 51 strings)

Translation: account-financial-reporting-11.0/account-financial-reporting-11.0-account_tax_balance
Translate-URL: https://translation.odoo-community.org/projects/account-financial-reporting-11-0/account-financial-reporting-11-0-account_tax_balance/es/
2020-10-22 22:11:42 +02:00
Davide Corio 3b11a8cef9 Translated using Weblate (Italian)
Currently translated at 9.8% (5 of 51 strings)

Translation: account-financial-reporting-11.0/account-financial-reporting-11.0-account_tax_balance
Translate-URL: https://translation.odoo-community.org/projects/account-financial-reporting-11-0/account-financial-reporting-11-0-account_tax_balance/it/
2020-10-22 22:11:42 +02:00
oca-travis 359aeb589a [UPD] Update account_tax_balance.pot 2020-10-22 22:11:42 +02:00
OCA Transbot 88edf06b6f OCA Transbot updated translations from Transifex 2020-10-22 22:11:42 +02:00
hveficent ff59a45d16 utf-8 remove from .py files 2020-10-22 22:11:42 +02:00
OCA Transbot 15bdd0d4b6 OCA Transbot updated translations from Transifex 2020-10-22 22:11:42 +02:00
Pedro M. Baeza a50b2eca8f [IMP] account_tax_balance: Change tests to post instal and protect again freezes 2020-10-22 22:11:42 +02:00
OCA Transbot 8a2905137c OCA Transbot updated translations from Transifex 2020-10-22 22:11:42 +02:00
Jordi Ballester feefac187c dynamize general ledger 2020-10-22 22:11:42 +02:00
Pedro M. Baeza 40566a3417 [MIG] account_tax_balance: Migration to 11.0 2020-10-22 22:11:42 +02:00
Stéphane Bidoul (ACSONE) 216ca75750 [IMP] account_tax_balance: add index
This indexes improve the display time of
account_tax_balance by a factor of 10 on a database
with 1M move lines.
2020-10-22 22:11:42 +02:00
Lara Baggio 6670369ed3 add condition tax_exigible in domain variable 2020-10-22 22:11:42 +02:00
OCA Transbot b8f8e86c5e OCA Transbot updated translations from Transifex 2020-10-22 22:11:42 +02:00
Stéphane Bidoul (ACSONE) 12aaa9d4a1 account_tax_balance: improve test coverage 2020-10-22 22:11:42 +02:00
Stéphane Bidoul (ACSONE) fe51028772 [IMP] account_tax_balance: faster search of taxes with moves 2020-10-22 22:11:42 +02:00
Stéphane Bidoul (ACSONE) 538abbb47b [IMP] account_tax_balance: performance
Let the database do some computations (sum) and do not
put large lists of ids in action domain.
2020-10-22 22:11:42 +02:00
Stefan Rijnhart f56f1ca3bc [FIX] Include tax amounts from all move types 2020-10-22 22:11:42 +02:00
OCA Transbot b511e1bbc7 OCA Transbot updated translations from Transifex 2020-10-22 22:11:42 +02:00
eLBati 956f30fbe0 [FIX+IMP] account_tax_balance:
* Test
* README
* add extra parent menu. If not, with the web_responsive module is mixed
  between other menus
2020-10-22 22:11:42 +02:00
Stéphane Bidoul (ACSONE) 8d2c2ea39f [MIG] account_tax_balance 10.0 2020-10-22 22:11:42 +02:00
Antonio Espinosa f68b04db32 Consider normal and refund operations separately
Allow to explore all move lines

Spanish translation

Bugfixes

Show negative lines too

Show move type in account.move views

Tests include new fields
2020-10-22 22:11:42 +02:00
eLBati 344a28a524 [FIX+IMP] account_tax_balance:
* Tests
* PEP8
* Use invoice._convert_to_write(invoice._cache). This way, the onchange will be inheritable and will add here also the added values
* better get_context_values
* unify method compute_balance
* open move lines linked to balance
2020-10-22 22:11:42 +02:00
gfcapalbo 9d9eb26356 tests 2020-10-22 22:11:42 +02:00
eLBati e51c474f57 [ADD] account_tax_balance: Compute tax balances based on date range 2020-10-22 22:11:42 +02:00