Commit Graph

121 Commits (ece71bba7bf35e7b36877afe9fb757c0bbdfa5be)

Author SHA1 Message Date
Iryna Vushnevska ece71bba7b [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
2021-01-15 11:26:17 +00:00
Lara Baggio 9177edf82a fix check value param self.hierarchy for account grouping 2021-01-15 11:26:17 +00:00
labaggio 3d8876c086 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/
2021-01-15 11:26:17 +00:00
Pedro M. Baeza 122229ee08 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/
2021-01-15 11:26:17 +00:00
Jordi Ballester Alomar a903d03600 account_financial_report: add option to hide parent hierarchy levels 2021-01-15 11:26:17 +00:00
cubells dc152ee7f2 [IMP] account_financial_report: autoajust columns 2021-01-15 11:26:17 +00:00
Thorsten Vocks c038705b5d 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/
2021-01-15 11:26:17 +00:00
Marta Vázquez Rodríguez d1ed0cac99 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/
2021-01-15 11:26:17 +00:00
Pedro M. Baeza 3eb40e1927 [FIX] account_financial_report: Incorrect SQL query for cost centers 2021-01-15 11:26:17 +00:00
mreficent 6ff1c98867 [FIX] account_financial_report: singleton error in aged partner balance report
Solves https://github.com/OCA/account-financial-reporting/issues/513
2021-01-15 11:26:17 +00:00
Jordi Ballester Alomar cc41e1e21b [account_financial_report] fix title formatting for all reports 2021-01-15 11:26:17 +00:00
Jordi Ballester Alomar 50bad1902a [account_financial_report]
- minor usability fixes for multicompany
- improve performance of general ledger using a new index
2021-01-15 11:26:17 +00:00
Jordi Ballester Alomar 55fd97d711 [FIX] account_financial_report: multicompany+layout behaviour (#498)
* Fix wizards for proper multicompany behaviour.
* Fix layout issue
2021-01-15 11:26:17 +00:00
Jordi Ballester Alomar a2a3ac2b47 add proper titles 2021-01-15 11:26:17 +00:00
mreficent 10fe7ffc66 [IMP] account_financial_report: adapt the wizards to multicompany 2021-01-15 11:26:17 +00:00
Jordi Ballester Alomar 9bd96738c5 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/
2021-01-15 11:26:17 +00:00
Sergio Zanchetta 9acd454de0 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/
2021-01-15 11:26:17 +00:00
Pedro M. Baeza 68c5261ab0 [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
2021-01-15 11:26:17 +00:00
Dorin Hongu e29acb0abf 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/
2021-01-15 11:26:17 +00:00
Jordi Ballester Alomar 3f15df256e [FIX+IMP] account_financial_report: new README structure + fixes in usability 2021-01-15 11:26:17 +00:00
Jordi Ballester Alomar 54b0c808f8 [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
2021-01-15 11:26:17 +00:00
Pedro M. Baeza 49dab0e738 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/
2021-01-15 11:26:17 +00:00
Abraham Anes 6f1968f3fc [FIX] account_financial_report_qweb: Widget date for t-raw date (#483) 2021-01-15 11:26:17 +00:00
Peter Schubert 901ab8df05 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/
2021-01-15 11:26:17 +00:00
Denis Leemann 1656753054 account_financial_report: set backgroud-color to table 2021-01-15 11:26:17 +00:00
Jordi Ballester Alomar 52a3e93909 remove account groups if hierarchy = 'none' 2021-01-15 11:26:17 +00:00
Jordi Ballester Alomar 46ec9fd9cc [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.
2021-01-15 11:26:17 +00:00
Alessandro Camilli 38c67800ae 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/
2021-01-15 11:26:17 +00:00
Harald Panten 048ee3d0ad 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/
2021-01-15 11:26:17 +00:00
Yung-Wa 1f047df6d2 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/
2021-01-15 11:26:17 +00:00
Jimmy Ramos 266cc9266a 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/
2021-01-15 11:26:17 +00:00
yaseentai 54e9d03465 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/
2021-01-15 11:26:17 +00:00
Andrea 85176bee4a [FIX] _transient_clean_rows_older_than() WHERE clause 2021-01-15 11:26:17 +00:00
Pedro M. Baeza 8d0bf605c2 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/
2021-01-15 11:26:17 +00:00
Rudolf Schnapka e9cfe9fa35 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/
2021-01-15 11:26:17 +00:00
Patrick Tombez 4b220041f5 [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.
2021-01-15 11:26:17 +00:00
Eloi Cousinet eaf8bdabcd [11][FIX] Replace partner_ids by journal_ids 2021-01-15 11:26:17 +00:00
mpanarin 2a7e16c57f [ADD] 11.0 account_financial_report: add filter by journals
To general ledger
2021-01-15 11:26:17 +00:00
hveficent c043313d58 move font-family from generic tags 2021-01-15 11:26:17 +00:00
Pedro M. Baeza 6b60e6d7d6 [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.
2021-01-15 11:26:17 +00:00
Andreas Stauder f79c7edc11 Increasing version because of #PR403
Some changes in the databases been made in #403, but no migration is needed.
2021-01-15 11:26:17 +00:00
Osoul 1bc08e7033 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/
2021-01-15 11:26:17 +00:00
hveficent 1edc2a870d [11.0][IMP] account_financial_report - foreign_currency 2021-01-15 11:26:17 +00:00
Jordi Ballester Alomar 2e7768f37a fixes the reporting of unaffected earnings account 2021-01-15 11:26:17 +00:00
Fekete Mihai f4ce705ab2 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.
2021-01-15 11:26:17 +00:00
rgarnau 1d6b3f8584 [ADD] Responsive reports 2021-01-15 11:26:17 +00:00
Adrien Peiffer (ACSONE) 248c19ea66 [10.0] AFR Aged partner balance : columns and datas consistency. (#383) 2021-01-15 11:26:17 +00:00
Adrien Peiffer (ACSONE) a29a2da1cb [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.
2021-01-15 11:26:16 +00:00
Jordi Ballester 05e24f9ef4 [MIG] account_financial_report_qweb: Migration to 11.0
* dynamize general ledger
2021-01-15 11:26:16 +00:00
oca-git-bot 97ac7d2577
[IMP] update dotfiles [ci skip] 2020-12-11 19:24:31 +01:00