Commit Graph

289 Commits (a85e0e686b41cb67a1a9fee2ba9546587369dada)

Author SHA1 Message Date
Pedro M. Baeza 87d99ed45f [RFR] Apply a mapping instead of separate queries 2022-11-11 13:39:05 +01:00
Stefan Rijnhart bd8aa0bb8d [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.
2022-11-11 13:39:05 +01:00
Andrea fb9681431b Black, isort, etc... 2022-11-11 13:39:05 +01:00
Andrea e73ac973ff Code review 2022-11-11 13:39:05 +01:00
Andrea 5b2d24f8eb Convert onchange to computed 2022-11-11 13:39:05 +01:00
Andrea 25387c2a8e [13.0][MIG] account_tax_balance 2022-11-11 13:39:04 +01:00
Andrea 62cca3c94d [IMP] Ease extension if multicompany fiscal unit 2022-11-11 13:39:04 +01:00
Josep M 7743d34c97 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/
2022-11-11 13:39:04 +01:00
Jaume Planas bb3c1faf55 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/
2022-11-11 13:39:04 +01:00
David Beal e63ba7b241 [IMP] tax_balance: breadcrumb name (#548) 2022-11-11 13:39:04 +01:00
Pedro M. Baeza 25337e178d [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.
2022-11-11 13:39:04 +01:00
Pedro M. Baeza 9563457d06 [IMP] account_tax_balance: Ensure test correctness
On certain environments, expense account might not exist, so we create it directly
for avoiding problems.
2022-11-11 13:39:04 +01:00
Katerina Katapodi 39672c9c4e 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/
2022-11-11 13:39:04 +01:00
Marta Vázquez Rodríguez ea24325b66 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/
2022-11-11 13:39:04 +01:00
Sergio Zanchetta effc9b0ebf 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/
2022-11-11 13:39:04 +01:00
OCA Transbot 598e76503b Update translation files
Updated by Update PO files to match POT (msgmerge) hook in Weblate.
2022-11-11 13:39:04 +01:00
Sergio Zanchetta 85652a30ab 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/
2022-11-11 13:39:04 +01:00
JordyBlankestijn 92d1ac276b 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/
2022-11-11 13:39:04 +01:00
Andrea 72e78c7fbf [FIX] at_install/post_install test decorators 2022-11-11 13:39:03 +01:00
Andrea c1448a0b5b [12.0][MIG] account_tax_balance 2022-11-11 13:39:03 +01:00
Jimmy Ramos ee4f91b915 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/
2022-11-11 13:39:03 +01:00
Davide Corio 3fe77f1aff 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/
2022-11-11 13:39:03 +01:00
hveficent d8688393c8 utf-8 remove from .py files 2022-11-11 13:39:02 +01:00
Pedro M. Baeza fd9c2d195e [IMP] account_tax_balance: Change tests to post instal and protect again freezes 2022-11-11 13:39:02 +01:00
Jordi Ballester f5ebe29367 dynamize general ledger 2022-11-11 13:39:01 +01:00
Pedro M. Baeza 94fcd3178b [MIG] account_tax_balance: Migration to 11.0 2022-11-11 13:39:01 +01:00
Stéphane Bidoul (ACSONE) 508801e3c6 [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.
2022-11-11 13:39:01 +01:00
Lara Baggio d611bcaea5 add condition tax_exigible in domain variable 2022-11-11 13:39:01 +01:00
Stéphane Bidoul (ACSONE) 4f70e6d6d9 account_tax_balance: improve test coverage 2022-11-11 13:39:01 +01:00
Stéphane Bidoul (ACSONE) c41b939e42 [IMP] account_tax_balance: faster search of taxes with moves 2022-11-11 13:39:00 +01:00
Stéphane Bidoul (ACSONE) b604ac4bec [IMP] account_tax_balance: performance
Let the database do some computations (sum) and do not
put large lists of ids in action domain.
2022-11-11 13:39:00 +01:00
Stefan Rijnhart b9cdcc3e10 [FIX] Include tax amounts from all move types 2022-11-11 13:39:00 +01:00
eLBati 6a8cc2be9b [FIX+IMP] account_tax_balance:
* Test
* README
* add extra parent menu. If not, with the web_responsive module is mixed
  between other menus
2022-11-11 13:39:00 +01:00
Stéphane Bidoul (ACSONE) e5f5ff2dd1 [MIG] account_tax_balance 10.0 2022-10-20 22:11:40 +02:00
Antonio Espinosa 2bdeb1f2ea 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
2022-10-20 22:11:40 +02:00
eLBati 473c54e6e2 [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
2022-10-20 22:11:40 +02:00
gfcapalbo 10384e31a2 tests 2022-10-20 22:11:39 +02:00
eLBati 4c88180ab0 [ADD] account_tax_balance: Compute tax balances based on date range 2022-10-20 22:11:39 +02:00
oca-git-bot 068a3108b6
Initialize 16.0 branch 2022-10-03 19:46:49 +02:00