Commit Graph

484 Commits

Author SHA1 Message Date
Pedro M. Baeza
cc47b15e5f [IMP] account_tax_balance: Ensure test correctness
On certain environments, expense account might not exist, so we create it directly
for avoiding problems.
2024-12-06 14:42:42 +01:00
Andrea
c9c51e6ebb [FIX] at_install/post_install test decorators 2024-12-06 14:42:42 +01:00
Andrea
667dee8bd8 [12.0][MIG] account_tax_balance 2024-12-06 14:42:42 +01:00
hveficent
7772169b20 utf-8 remove from .py files 2024-12-06 14:42:42 +01:00
Pedro M. Baeza
49da62e548 [IMP] account_tax_balance: Change tests to post instal and protect again freezes 2024-12-06 14:42:42 +01:00
Jordi Ballester
7213521d04 dynamize general ledger 2024-12-06 14:42:42 +01:00
Pedro M. Baeza
cdf59c4033 [MIG] account_tax_balance: Migration to 11.0 2024-12-06 14:42:42 +01:00
Stéphane Bidoul (ACSONE)
9c43ee99f5 [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.
2024-12-06 14:42:42 +01:00
Lara Baggio
3350026521 add condition tax_exigible in domain variable 2024-12-06 14:42:42 +01:00
Stéphane Bidoul (ACSONE)
8ac6a73170 account_tax_balance: improve test coverage 2024-12-06 14:42:42 +01:00
Stéphane Bidoul (ACSONE)
8fea288900 [IMP] account_tax_balance: faster search of taxes with moves 2024-12-06 14:42:42 +01:00
Stéphane Bidoul (ACSONE)
28092deea0 [IMP] account_tax_balance: performance
Let the database do some computations (sum) and do not
put large lists of ids in action domain.
2024-12-06 14:42:42 +01:00
Stefan Rijnhart
48fb957fc5 [FIX] Include tax amounts from all move types 2024-12-06 14:42:42 +01:00
eLBati
d3fcbb4455 [FIX+IMP] account_tax_balance:
* Test
* README
* add extra parent menu. If not, with the web_responsive module is mixed
  between other menus
2024-12-06 14:42:42 +01:00
Stéphane Bidoul (ACSONE)
052ebd4472 [MIG] account_tax_balance 10.0 2024-12-06 14:42:42 +01:00
Antonio Espinosa
3b74e4813c 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
2024-12-06 14:42:42 +01:00
eLBati
a48acb15d4 [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
2024-12-06 14:42:42 +01:00
gfcapalbo
980f35ce5e tests 2024-12-06 14:42:42 +01:00
eLBati
174a14ef3c [ADD] account_tax_balance: Compute tax balances based on date range 2024-12-06 14:42:42 +01:00
chaule97
01f22b8256 [MIG] account_financial_report: Migration to 18.0 2024-12-04 14:40:57 +07:00
chaule97
c46e83a4a4 [IMP] account_financial_report: pre-commit auto fixes 2024-12-04 14:40:56 +07:00
Jairo Llopis
4413611f93 [FIX] account_financial_report: KeyError rendering report
Some reports were failing to render without this fix.

It seems there was a regression introduced in 0a2b2736cdc1a73d6248b91fa79a0f4c6aedc99b.

@moduon MT-8285
2024-12-04 14:40:56 +07:00
Víctor Martínez
0e6c43603a [IMP] account_financial_report: Add grouping by analytical account in Trial balance
TT48969
2024-12-04 10:19:58 +07:00
Víctor Martínez
e4e301af0e [IMP] account_financial_report: Change t-esc and t-raw to t-out from Trial Balance report
TT48969
2024-12-04 10:12:22 +07:00
OCA-git-bot
f4a3a2675e [BOT] post-merge updates 2024-11-29 15:38:41 +07:00
Víctor Martínez
9c59addd0f [IMP] account_financial_report: Add Amount cur. to General Ledger totals if the account has not set currency
Related to https://github.com/OCA/account-financial-reporting/pull/1235#issuecomment-2419269015

[FIX] account_financial_report: Avoid error in General ledger if the Show foreign currency checkbox is not checked.

Related to https://github.com/OCA/account-financial-reporting/pull/1236

TT51996
2024-11-29 15:38:41 +07:00
Víctor Martínez
01b2e35847 [IMP] account_financial_report: Change t-esc and t-raw to t-out from General Ledger report 2024-11-29 15:38:41 +07:00
Weblate
bb5fa6641b Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: account-financial-reporting-17.0/account-financial-reporting-17.0-account_financial_report
Translate-URL: https://translation.odoo-community.org/projects/account-financial-reporting-17-0/account-financial-reporting-17-0-account_financial_report/
2024-11-29 15:38:41 +07:00
OCA-git-bot
a67a805f19 [BOT] post-merge updates 2024-11-29 15:38:41 +07:00
oca-ci
6c4b97da62 [UPD] Update account_financial_report.pot 2024-11-29 15:38:41 +07:00
OCA-git-bot
de2e844b73 [BOT] post-merge updates 2024-11-29 15:38:41 +07:00
Florian da Costa
580a6b785c [FIX] account_financial_report : fix wizard model names sent to qweb reports for vat and aged balance reports 2024-11-29 15:38:41 +07:00
Alexis de Lattre
3273d27e6c [IMP] account_financial_report: avoid crash if data structure changes in the future 2024-11-29 15:38:41 +07:00
Alexis de Lattre
2dad961ebb [FIX] account_financial_report: Open Items report now sorted by account code 2024-11-29 15:38:41 +07:00
Alexis de Lattre
50270b6e00 [FIX] account_financial_report: crash in XSLX report on partner balance 2024-11-29 15:38:41 +07:00
Alexis de Lattre
8a20028357 [FIX] account_financial_report: partner trial balance: sort by partner name 2024-11-29 15:38:41 +07:00
Alexis de Lattre
38dab025b1 [FIX] account_financial_report: in XLSX report, display null ending balance (just like we display null initial balance) 2024-11-29 15:38:41 +07:00
mymage
2ff06610f6 Translated using Weblate (Italian)
Currently translated at 100.0% (267 of 267 strings)

Translation: account-financial-reporting-17.0/account-financial-reporting-17.0-account_financial_report
Translate-URL: https://translation.odoo-community.org/projects/account-financial-reporting-17-0/account-financial-reporting-17-0-account_financial_report/it/
2024-11-29 15:38:41 +07:00
OCA-git-bot
1582443d7e [BOT] post-merge updates 2024-11-29 15:38:41 +07:00
Víctor Martínez
3d36527370 [FIX] account_financial_report: Display the values of Amount cur. + Cumul cur. values in general ledger only if necessary
The currency_id field of the lines is always set, so follow the same logic as
in report/templates/general_ledger and show the data only if the currency is set
in the account.

TT51204
2024-11-29 15:38:41 +07:00
OCA-git-bot
1af1121962 [BOT] post-merge updates 2024-11-29 15:38:41 +07:00
SilvioC2C
f3a8695c0c [FIX] account_financial_report: fix ValueError
``analytic_distribution`` is a JSON field where keys are 'account.id' or 'account.id,account.id'
Eg: https://github.com/odoo/odoo/blob/8479b4e/addons/sale/models/account_move_line.py#L158
Previous implementation tried to convert to ``int`` the ``analytic_distribution`` dict keys, leading to a ``ValueError``.
This commit fixes this bug.
2024-11-29 15:38:41 +07:00
mymage
e6ea9c90e2 Translated using Weblate (Italian)
Currently translated at 100.0% (267 of 267 strings)

Translation: account-financial-reporting-17.0/account-financial-reporting-17.0-account_financial_report
Translate-URL: https://translation.odoo-community.org/projects/account-financial-reporting-17-0/account-financial-reporting-17-0-account_financial_report/it/
2024-11-29 15:38:41 +07:00
OCA-git-bot
b6d6009356 [BOT] post-merge updates 2024-11-29 15:38:41 +07:00
Carolina Fernandez
5bb0106541 [FIX] account_financial_report: Export to XLSX after report preview
Fix ReferenceError: _ is not defined when printing report to xlsx after preview
2024-11-29 15:38:41 +07:00
carolinafernandez-tecnativa
3ca5cefa87 Translated using Weblate (Spanish)
Currently translated at 100.0% (267 of 267 strings)

Translation: account-financial-reporting-17.0/account-financial-reporting-17.0-account_financial_report
Translate-URL: https://translation.odoo-community.org/projects/account-financial-reporting-17-0/account-financial-reporting-17-0-account_financial_report/es/
2024-11-29 15:38:41 +07:00
mymage
824be52cf2 Translated using Weblate (Italian)
Currently translated at 100.0% (267 of 267 strings)

Translation: account-financial-reporting-17.0/account-financial-reporting-17.0-account_financial_report
Translate-URL: https://translation.odoo-community.org/projects/account-financial-reporting-17-0/account-financial-reporting-17-0-account_financial_report/it/
2024-11-29 15:38:41 +07:00
mymage
bf4cea4a7f Translated using Weblate (Italian)
Currently translated at 100.0% (267 of 267 strings)

Translation: account-financial-reporting-17.0/account-financial-reporting-17.0-account_financial_report
Translate-URL: https://translation.odoo-community.org/projects/account-financial-reporting-17-0/account-financial-reporting-17-0-account_financial_report/it/
2024-11-29 15:38:41 +07:00
mymage
48d13750db Translated using Weblate (Italian)
Currently translated at 100.0% (267 of 267 strings)

Translation: account-financial-reporting-17.0/account-financial-reporting-17.0-account_financial_report
Translate-URL: https://translation.odoo-community.org/projects/account-financial-reporting-17-0/account-financial-reporting-17-0-account_financial_report/it/
2024-11-29 15:38:41 +07:00
Pedro Castro Silva
dff8bd7df9 Translated using Weblate (Portuguese)
Currently translated at 100.0% (267 of 267 strings)

Translation: account-financial-reporting-17.0/account-financial-reporting-17.0-account_financial_report
Translate-URL: https://translation.odoo-community.org/projects/account-financial-reporting-17-0/account-financial-reporting-17-0-account_financial_report/pt/
2024-11-29 15:38:41 +07:00