Commit Graph

13 Commits

Author SHA1 Message Date
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
Andrea
243b6d63af [FIX] _transient_clean_rows_older_than() WHERE clause 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
mpanarin
72c0e719ed [ADD] 11.0 account_financial_report: add filter by journals
To general ledger
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
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
Adrien Peiffer (ACSONE)
1488a92d5f [10.0] AFR Aged partner balance : columns and datas consistency. (#383) 2024-11-29 15:38:40 +07:00
Adrien Peiffer (ACSONE)
7d182bec41 [FIX] account_financial_report_qweb: date condition in open items report.
This commit includes move lines on the report date by default. These lines shouldn't be considered in the futur.
2024-11-29 15:38:40 +07:00
Jordi Ballester
554ad61027 [MIG] account_financial_report_qweb: Migration to 11.0
* dynamize general ledger
2024-11-29 15:38:40 +07:00