Commit Graph

55 Commits

Author SHA1 Message Date
Wolfgang Pichler
9f9211b6ea [MIG] account_financial_report: Migration to 12.0
[IMP] Reformated one query to avoid one sql injection warning message - but no sql injection was possible here
2024-11-29 15:38:40 +07:00
Adrià Gil Sorribes
3de3a119e5 [11.0][FIX] open Account Move Line view from Aged Partner Balance report 2024-11-29 15:38:40 +07:00
Quentin Groulard
efd0123bf6 [FIX] Few fixes to solve warnings:
- _description in account_financial_report_abstract
- _description in vat.report.wizard
- Two fields using same label 'Accounts' in account.group
- Two fields using same label 'Account' in report_journal_ledger_move_line
- Two fields using same label 'Partner' in report_journal_ledger_move_line
- Two fields using same label 'Accounts' in report_trial_balance_account
- Two fields using same label 'Tax' in report_vat_report_taxtag
- Two fields using same label 'Tax' in report_vat_report_tax
- Two fields using same label 'Filter accounts' in general.ledger.report.wizard
2024-11-29 15:38:40 +07:00
Pedro M. Baeza
dd1dface54 Translated using Weblate (Spanish)
Currently translated at 100.0% (323 of 323 strings)

Translation: account-financial-reporting-11.0/account-financial-reporting-11.0-account_financial_report
Translate-URL: https://translation.odoo-community.org/projects/account-financial-reporting-11-0/account-financial-reporting-11-0-account_financial_report/es/
2024-11-29 15:38:40 +07:00
Iryna Vushnevska
8b43ea4758 [IMP] account_financial_reports: Several improvements:
* Move to less files to compile variables
* hide contacts on partner
* Add reports to res partner actions
* initialize wizard from context
* initialize wizard by current fiscal year
2024-11-29 15:38:40 +07:00
Lara Baggio
0817cf3c4d fix check value param self.hierarchy for account grouping 2024-11-29 15:38:40 +07:00
labaggio
faff156590 Translated using Weblate (Italian)
Currently translated at 22.3% (72 of 323 strings)

Translation: account-financial-reporting-11.0/account-financial-reporting-11.0-account_financial_report
Translate-URL: https://translation.odoo-community.org/projects/account-financial-reporting-11-0/account-financial-reporting-11-0-account_financial_report/it/
2024-11-29 15:38:40 +07:00
Pedro M. Baeza
0a9e55850c Translated using Weblate (Spanish)
Currently translated at 100.0% (323 of 323 strings)

Translation: account-financial-reporting-11.0/account-financial-reporting-11.0-account_financial_report
Translate-URL: https://translation.odoo-community.org/projects/account-financial-reporting-11-0/account-financial-reporting-11-0-account_financial_report/es/
2024-11-29 15:38:40 +07:00
Jordi Ballester Alomar
70c329e4b0 account_financial_report: add option to hide parent hierarchy levels 2024-11-29 15:38:40 +07:00
cubells
c9576fc899 [IMP] account_financial_report: autoajust columns 2024-11-29 15:38:40 +07:00
Thorsten Vocks
b4ef1cfd50 Translated using Weblate (German)
Currently translated at 85.7% (276 of 322 strings)

Translation: account-financial-reporting-11.0/account-financial-reporting-11.0-account_financial_report
Translate-URL: https://translation.odoo-community.org/projects/account-financial-reporting-11-0/account-financial-reporting-11-0-account_financial_report/de/
2024-11-29 15:38:40 +07:00
Marta Vázquez Rodríguez
451c3328d9 Translated using Weblate (Spanish)
Currently translated at 100.0% (328 of 328 strings)

Translation: account-financial-reporting-11.0/account-financial-reporting-11.0-account_financial_report
Translate-URL: https://translation.odoo-community.org/projects/account-financial-reporting-11-0/account-financial-reporting-11-0-account_financial_report/es/
2024-11-29 15:38:40 +07:00
Pedro M. Baeza
9400274b38 [FIX] account_financial_report: Incorrect SQL query for cost centers 2024-11-29 15:38:40 +07:00
mreficent
5129afec18 [FIX] account_financial_report: singleton error in aged partner balance report
Solves https://github.com/OCA/account-financial-reporting/issues/513
2024-11-29 15:38:40 +07:00
Jordi Ballester Alomar
66dc355ba5 [account_financial_report] fix title formatting for all reports 2024-11-29 15:38:40 +07:00
Jordi Ballester Alomar
49ca90f15c [account_financial_report]
- minor usability fixes for multicompany
- improve performance of general ledger using a new index
2024-11-29 15:38:40 +07:00
Jordi Ballester Alomar
2abb852345 [FIX] account_financial_report: multicompany+layout behaviour (#498)
* Fix wizards for proper multicompany behaviour.
* Fix layout issue
2024-11-29 15:38:40 +07:00
Jordi Ballester Alomar
5b14306779 add proper titles 2024-11-29 15:38:40 +07:00
mreficent
cdf1382c8e [IMP] account_financial_report: adapt the wizards to multicompany 2024-11-29 15:38:40 +07:00
Jordi Ballester Alomar
83983f417f Translated using Weblate (Spanish)
Currently translated at 99.7% (311 of 312 strings)

Translation: account-financial-reporting-11.0/account-financial-reporting-11.0-account_financial_report
Translate-URL: https://translation.odoo-community.org/projects/account-financial-reporting-11-0/account-financial-reporting-11-0-account_financial_report/es/
2024-11-29 15:38:40 +07:00
Sergio Zanchetta
bf882c16f1 Translated using Weblate (Italian)
Currently translated at 21.5% (67 of 312 strings)

Translation: account-financial-reporting-11.0/account-financial-reporting-11.0-account_financial_report
Translate-URL: https://translation.odoo-community.org/projects/account-financial-reporting-11-0/account-financial-reporting-11-0-account_financial_report/it/
2024-11-29 15:38:40 +07:00
Pedro M. Baeza
072859bcb7 [FIX] account_financial_report: 2 things:
* Fix account group level computation

  Depends was not correct for recomputing when needed + better algorithm

* Make hide details on 0 work properly

  * Passing values to general ledger was stripping some correct records
  * Computed field for hiding lines doesn't have proper dependencies nor is not
    taking into account float currency accuracy
2024-11-29 15:38:40 +07:00
Dorin Hongu
5080632d83 Translated using Weblate (Romanian)
Currently translated at 39.7% (120 of 302 strings)

Translation: account-financial-reporting-11.0/account-financial-reporting-11.0-account_financial_report
Translate-URL: https://translation.odoo-community.org/projects/account-financial-reporting-11-0/account-financial-reporting-11-0-account_financial_report/ro/
2024-11-29 15:38:40 +07:00
Jordi Ballester Alomar
a22502176b [FIX+IMP] account_financial_report: new README structure + fixes in usability 2024-11-29 15:38:40 +07:00
Jordi Ballester Alomar
99fb232194 [account_financial_report][IMP] Adds the following:
All reports:
- Rename field to hide accounts at 0 to 'hide_account_at_0'
Trial Balance:
- Add possibility to filter by hierarchy levels
- XLSX format will show the hierarchy levels in bold

General Ledger:
- Add the possibility to filter by analytic tags
- Fixes an error on the default date
Journal Ledger:
- The filter on Journals is now optional. If the user does not choose
a journal, by default it will display all journals.

Aged Partner Balance:
- Fixes an error on the default date
2024-11-29 15:38:40 +07:00
Pedro M. Baeza
1aa03c7bb7 Translated using Weblate (Spanish)
Currently translated at 96.4% (291 of 302 strings)

Translation: account-financial-reporting-11.0/account-financial-reporting-11.0-account_financial_report
Translate-URL: https://translation.odoo-community.org/projects/account-financial-reporting-11-0/account-financial-reporting-11-0-account_financial_report/es/
2024-11-29 15:38:40 +07:00
Abraham Anes
44b0ddc63b [FIX] account_financial_report_qweb: Widget date for t-raw date (#483) 2024-11-29 15:38:40 +07:00
Peter Schubert
b2b3fffa04 Translated using Weblate (German)
Currently translated at 74.6% (217 of 291 strings)

Translation: account-financial-reporting-11.0/account-financial-reporting-11.0-account_financial_report
Translate-URL: https://translation.odoo-community.org/projects/account-financial-reporting-11-0/account-financial-reporting-11-0-account_financial_report/de/
2024-11-29 15:38:40 +07:00
Denis Leemann
a57138e50e account_financial_report: set backgroud-color to table 2024-11-29 15:38:40 +07:00
Jordi Ballester Alomar
0604ba65fb remove account groups if hierarchy = 'none' 2024-11-29 15:38:40 +07:00
Jordi Ballester Alomar
c90bafbb61 [account_financial_report] adds the following features to Trial Balance:
- Adds 'Period balance' column
- Renames the option 'Hide accounts at 0'. Means no initial, no debit, credit
  or ending balance for the period.
- Fixes logic to remove lines with 0 activity for the period.
- improve the calculation in the Trial Balance
  of undistributed profits/losses account, and provide a footer note
  to the user explaining why will the ending balances will not be zero, but the
  period's total profit and loss.
- add an extra line for P&L application so that the trial balance zeroes in the
  balance, and total debits = total credits
- refactoring of the unaffected earnings reporting in the general ledger
  and trial balance.
2024-11-29 15:38:40 +07:00
Alessandro Camilli
9afe86cb7e Translated using Weblate (Italian)
Currently translated at 23.0% (67 of 291 strings)

Translation: account-financial-reporting-11.0/account-financial-reporting-11.0-account_financial_report
Translate-URL: https://translation.odoo-community.org/projects/account-financial-reporting-11-0/account-financial-reporting-11-0-account_financial_report/it/
2024-11-29 15:38:40 +07:00
Harald Panten
5d346a9351 Translated using Weblate (Spanish)
Currently translated at 100.0% (291 of 291 strings)

Translation: account-financial-reporting-11.0/account-financial-reporting-11.0-account_financial_report
Translate-URL: https://translation.odoo-community.org/projects/account-financial-reporting-11-0/account-financial-reporting-11-0-account_financial_report/es/
2024-11-29 15:38:40 +07:00
Yung-Wa
e829ce6aff Translated using Weblate (Dutch)
Currently translated at 83.5% (243 of 291 strings)

Translation: account-financial-reporting-11.0/account-financial-reporting-11.0-account_financial_report
Translate-URL: https://translation.odoo-community.org/projects/account-financial-reporting-11-0/account-financial-reporting-11-0-account_financial_report/nl/
2024-11-29 15:38:40 +07:00
Jimmy Ramos
41ed33baec Translated using Weblate (Spanish)
Currently translated at 100.0% (291 of 291 strings)

Translation: account-financial-reporting-11.0/account-financial-reporting-11.0-account_financial_report
Translate-URL: https://translation.odoo-community.org/projects/account-financial-reporting-11-0/account-financial-reporting-11-0-account_financial_report/es/
2024-11-29 15:38:40 +07:00
yaseentai
bb16c9d764 Translated using Weblate (Arabic)
Currently translated at 96.2% (178 of 185 strings)

Translation: account-financial-reporting-11.0/account-financial-reporting-11.0-account_financial_report
Translate-URL: https://translation.odoo-community.org/projects/account-financial-reporting-11-0/account-financial-reporting-11-0-account_financial_report/ar/
2024-11-29 15:38:40 +07:00
Andrea
243b6d63af [FIX] _transient_clean_rows_older_than() WHERE clause 2024-11-29 15:38:40 +07:00
Pedro M. Baeza
819dc05de0 Translated using Weblate (Spanish)
Currently translated at 50.2% (146 of 291 strings)

Translation: account-financial-reporting-11.0/account-financial-reporting-11.0-account_financial_report
Translate-URL: https://translation.odoo-community.org/projects/account-financial-reporting-11-0/account-financial-reporting-11-0-account_financial_report/es/
2024-11-29 15:38:40 +07:00
Rudolf Schnapka
0cbbf6d0f4 Translated using Weblate (German)
Currently translated at 73.9% (215 of 291 strings)

Translation: account-financial-reporting-11.0/account-financial-reporting-11.0-account_financial_report
Translate-URL: https://translation.odoo-community.org/projects/account-financial-reporting-11-0/account-financial-reporting-11-0-account_financial_report/de/
2024-11-29 15:38:40 +07:00
Patrick Tombez
72f201674d [11.0][IMP] Improve transient models cleaning
When there are a lot of account.move.line (several millions) and print any of
the Qweb reports, that will generate also a lot of transient objects.
As these objects are created with an "insert" query, the cleaning normally
triggered by the count of the records in transient tables is not done, so only
the cleaning based on the age of the records is processed (by default, records
older than 1 hours are deleted), but the cron task is only ran one time per
day. For large setups this can lead to memory errors at that point. This change
prevents the memory error by executing the transient record cleanup for the
report models in this module in SQL.
2024-11-29 15:38:40 +07:00
Eloi Cousinet
ef17d5b23c [11][FIX] Replace partner_ids by journal_ids 2024-11-29 15:38:40 +07:00
mpanarin
72c0e719ed [ADD] 11.0 account_financial_report: add filter by journals
To general ledger
2024-11-29 15:38:40 +07:00
hveficent
40e75cd709 move font-family from generic tags 2024-11-29 15:38:40 +07:00
Pedro M. Baeza
8ae5e38733 [FIX] account_financial_report: Fix tests + sql for integration tests
When this module is installed along with other chart account different from generic one,
the number of expected accounts and the computation change (for example, in Spain,
the unaffected earnings account is 129000, choking with group with code prefix 1).

This commit makes the tests resistent to these changes.
2024-11-29 15:38:40 +07:00
Andreas Stauder
e7a66df9f9 Increasing version because of #PR403
Some changes in the databases been made in #403, but no migration is needed.
2024-11-29 15:38:40 +07:00
Osoul
02f456816f Added translation using Weblate (Arabic)
Translated using Weblate (Arabic)

Currently translated at 95.7% (177 of 185 strings)

Translation: account-financial-reporting-11.0/account-financial-reporting-11.0-account_financial_report
Translate-URL: https://translation.odoo-community.org/projects/account-financial-reporting-11-0/account-financial-reporting-11-0-account_financial_report/ar/
2024-11-29 15:38:40 +07:00
hveficent
cfb9a60df0 [11.0][IMP] account_financial_report - foreign_currency 2024-11-29 15:38:40 +07:00
Jordi Ballester Alomar
47c1a12dea fixes the reporting of unaffected earnings account 2024-11-29 15:38:40 +07:00
Fekete Mihai
2547753dcc Update links in report, add account group file, update trial balance with hierarchy.
Update indentation, remove empty lines from header.

Update test.

Update pylint.

Remove company_id on computing accounts, since account.group is not a company based model, filtering accounts is done on trial balance report.

Update account variables.

Improve condition in padding on accounts.

Add option to print hierarchy based on defined accounts/computed accounts.

Add VAT report, hierarchy from tax tags ans taxes.

Fix pylint, xlsx report generation header.

Update code to select code_prefix or name.

Update code to select code_prefix or name.

Update code to select code_prefix or name.

Fix domain in base amounts in vat report.

Change trial balance code_prefix or name.

Update trail balance, add tests for vat report.

Update pylint, amounts as monetary, many2one option on generation excels.

Update pulint.

Add VAT Report in readme.

Add VAT Report in readme.

Update array_agg.

Update array_agg.

Update array_agg.

Add option in VAT Report to be printed on Tax Tags - Tax Groups.

Add widget to hierarchy_on on trial balance.
2024-11-29 15:38:40 +07:00
rgarnau
feedc2aad2 [ADD] Responsive reports 2024-11-29 15:38:40 +07:00