Commit Graph

219 Commits (d49179e8832318ce26a46ff261f39070568ffe2c)

Author SHA1 Message Date
OCA-git-bot 21c7b60d2a account_financial_report 13.0.1.0.1 2020-04-14 08:39:53 +00:00
OCA-git-bot c794962193 Merge PR #673 into 13.0
Signed-off-by pedrobaeza
2020-04-14 08:31:03 +00:00
Ernesto Tejeda a805a4aa22 [FIX] account_financial_report: Fix error when generating reports
Some reports crash if account move line implicated are Sections lines or Notes lines in an invoice
2020-04-09 12:42:59 -04:00
Joan Sisquella 66c0ab5926 [FIX] account_financial_report: general_ledger
* centralization is only calculated on accounts where 'centralized' is True
* Cumul. Balance of each move_line fixed
* Ordering move_lines by date
* Fix trial_balance xlsx when not show_partner_details
2020-04-07 10:45:11 +02:00
OCA-git-bot 6760af4105 [ADD] setup.py 2020-03-23 17:53:07 +00:00
OCA-git-bot c6ba2ac108 [UPD] README.rst 2020-03-23 17:53:06 +00:00
oca-travis f3d3c84fd6 [UPD] Update account_financial_report.pot 2020-03-23 17:06:12 +00:00
OCA-git-bot e9232b41c3 Merge PR #663 into 13.0
Signed-off-by pedrobaeza
2020-03-23 16:29:38 +00:00
Ernesto Tejeda 8d2b7752c6 [MIG] account_financial_report: Migration to 13.0 2020-03-23 11:24:17 -04:00
Ernesto Tejeda 108afb1d20 [IMP] account_financial_report: black, isort 2020-03-23 11:14:52 -04:00
Joan Sisquella e41e718bfc [12.0] account_financial_report: refactor 2020-03-23 11:05:04 -04:00
Bole e0a36cc162 Added translation using Weblate (Croatian) 2020-03-23 11:05:04 -04:00
Martronic SA 19ff8ff2f5 Translated using Weblate (French)
Currently translated at 84.5% (278 of 329 strings)

Translation: account-financial-reporting-12.0/account-financial-reporting-12.0-account_financial_report
Translate-URL: https://translation.odoo-community.org/projects/account-financial-reporting-12-0/account-financial-reporting-12-0-account_financial_report/fr/
2020-03-23 11:05:04 -04:00
OCA-git-bot dfa1468901 [UPD] README.rst 2020-03-23 11:05:04 -04:00
Pedro M. Baeza 130fbeb057 [FIX] account_financial_report: Avoid slow vacuum due to ondelete=cascade
`report_journal_ledger` is auto-vacuumed as any transient model, but has some
ondelete="cascade" constraints that auto-remove subtables when a record is removed,
doing this operation very slow when selecting these sub-records.

Letting default ondelete="set null" would result in same performance bottleneck,
as the select on sub-table is performed the same for setting "null" value on them.

As a solution, and for avoiding a costly index operation, we delete by SQL sub-tables
rows in advance.

A bit of extra logic has been added for avoiding to remove that records if it's not
the turn of vacuum the parent table.
2020-03-23 11:05:04 -04:00
OCA-git-bot d3a76d4e2a account_financial_report 12.0.1.2.1 2020-03-23 11:05:04 -04:00
OCA Transbot eee38855af Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: account-financial-reporting-12.0/account-financial-reporting-12.0-account_financial_report
Translate-URL: https://translation.odoo-community.org/projects/account-financial-reporting-12-0/account-financial-reporting-12-0-account_financial_report/
2020-03-23 11:05:04 -04:00
OCA-git-bot 7d4448d46d account_financial_report 12.0.1.2.0 2020-03-23 11:05:04 -04:00
oca-travis a493969afd [UPD] Update account_financial_report.pot 2020-03-23 11:05:04 -04:00
sbejaoui bade76aed0 [12.0][FIX] - Hide ending balance if general ledger is filtered by partner 2020-03-23 11:05:04 -04:00
yterrettaz 8f0887995d Translated using Weblate (French)
Currently translated at 23.1% (76 of 329 strings)

Translation: account-financial-reporting-12.0/account-financial-reporting-12.0-account_financial_report
Translate-URL: https://translation.odoo-community.org/projects/account-financial-reporting-12-0/account-financial-reporting-12-0-account_financial_report/fr/
2020-03-23 11:05:04 -04:00
jcleonard2018 60ea30f0dd Translated using Weblate (French)
Currently translated at 23.1% (76 of 329 strings)

Translation: account-financial-reporting-12.0/account-financial-reporting-12.0-account_financial_report
Translate-URL: https://translation.odoo-community.org/projects/account-financial-reporting-12-0/account-financial-reporting-12-0-account_financial_report/fr/
2020-03-23 11:05:04 -04:00
gaikaz c302a7fb59 account_financial_report: fix Trial Balance line order 2020-03-23 11:05:04 -04:00
Timon Tschanz bce9a11acd Fix display of captions in pdf 2020-03-23 11:05:04 -04:00
Marcel Savegnago a50c92ecfd Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (329 of 329 strings)

Translation: account-financial-reporting-12.0/account-financial-reporting-12.0-account_financial_report
Translate-URL: https://translation.odoo-community.org/projects/account-financial-reporting-12-0/account-financial-reporting-12-0-account_financial_report/pt_BR/
2020-03-23 11:05:04 -04:00
OCA-git-bot 1c5489fdb5 [UPD] README.rst 2020-03-23 11:05:04 -04:00
jcleonard2018 86f0ce0e70 Translated using Weblate (French)
Currently translated at 10.3% (34 of 329 strings)

Translation: account-financial-reporting-12.0/account-financial-reporting-12.0-account_financial_report
Translate-URL: https://translation.odoo-community.org/projects/account-financial-reporting-12-0/account-financial-reporting-12-0-account_financial_report/fr/
2020-03-23 11:05:04 -04:00
Pedro M. Baeza bd7d1365cc [FIX] account_financial_report: Don't fail with installed l10n
The number of computed account can be greater in certain databases with l10n modules.
2020-03-23 11:05:04 -04:00
OCA-git-bot d7cd4bfaac account_financial_report 12.0.1.1.0 2020-03-23 11:05:04 -04:00
Pedro S. Lopez 092ffc06b0 [FIX] account_financial_report: Update to bootstrap 4 2020-03-23 11:05:04 -04:00
Eduardo Aparicio 664bf6113e Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (329 of 329 strings)

Translation: account-financial-reporting-12.0/account-financial-reporting-12.0-account_financial_report
Translate-URL: https://translation.odoo-community.org/projects/account-financial-reporting-12-0/account-financial-reporting-12-0-account_financial_report/pt_BR/
2020-03-23 11:05:04 -04:00
Eduardo Aparicio a867406458 Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (329 of 329 strings)

Translation: account-financial-reporting-12.0/account-financial-reporting-12.0-account_financial_report
Translate-URL: https://translation.odoo-community.org/projects/account-financial-reporting-12-0/account-financial-reporting-12-0-account_financial_report/pt_BR/
2020-03-23 11:05:04 -04:00
Eduardo Aparicio 42e9f17f83 Translated using Weblate (Portuguese (Brazil))
Currently translated at 43.2% (142 of 329 strings)

Translation: account-financial-reporting-12.0/account-financial-reporting-12.0-account_financial_report
Translate-URL: https://translation.odoo-community.org/projects/account-financial-reporting-12-0/account-financial-reporting-12-0-account_financial_report/pt_BR/
2020-03-23 11:05:04 -04:00
Josep M 9ff094623a Translated using Weblate (Spanish)
Currently translated at 100.0% (329 of 329 strings)

Translation: account-financial-reporting-12.0/account-financial-reporting-12.0-account_financial_report
Translate-URL: https://translation.odoo-community.org/projects/account-financial-reporting-12-0/account-financial-reporting-12-0-account_financial_report/es/
2020-03-23 11:05:04 -04:00
Eduardo Aparicio e9b15add50 Added translation using Weblate (Portuguese (Brazil)) 2020-03-23 11:05:04 -04:00
Josep M afb0b1a11b Translated using Weblate (Spanish)
Currently translated at 100.0% (329 of 329 strings)

Translation: account-financial-reporting-12.0/account-financial-reporting-12.0-account_financial_report
Translate-URL: https://translation.odoo-community.org/projects/account-financial-reporting-12-0/account-financial-reporting-12-0-account_financial_report/es/
2020-03-23 11:05:04 -04:00
Yoshi Tashiro 88d1d1b30b Translated using Weblate (Japanese)
Currently translated at 5.5% (18 of 329 strings)

Translation: account-financial-reporting-12.0/account-financial-reporting-12.0-account_financial_report
Translate-URL: https://translation.odoo-community.org/projects/account-financial-reporting-12-0/account-financial-reporting-12-0-account_financial_report/ja/
2020-03-23 11:05:04 -04:00
Yoshi Tashiro 23ec82941b Added translation using Weblate (Japanese) 2020-03-23 11:05:04 -04:00
OCA Transbot f0c82a04e9 Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: account-financial-reporting-12.0/account-financial-reporting-12.0-account_financial_report
Translate-URL: https://translation.odoo-community.org/projects/account-financial-reporting-12-0/account-financial-reporting-12-0-account_financial_report/
2020-03-23 11:05:04 -04:00
Marco Calcagni 0f4d6b234c Translated using Weblate (Italian)
Currently translated at 63.8% (210 of 329 strings)

Translation: account-financial-reporting-12.0/account-financial-reporting-12.0-account_financial_report
Translate-URL: https://translation.odoo-community.org/projects/account-financial-reporting-12-0/account-financial-reporting-12-0-account_financial_report/it/
2020-03-23 11:05:04 -04:00
i-vyshnevska b62efe9dd1 [FIX] account_financial_report: add group access to report actions (#579) 2020-03-23 11:05:04 -04:00
OCA Transbot c0e2404b0c Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: account-financial-reporting-12.0/account-financial-reporting-12.0-account_financial_report
Translate-URL: https://translation.odoo-community.org/projects/account-financial-reporting-12-0/account-financial-reporting-12-0-account_financial_report/
2020-03-23 11:05:04 -04:00
oca-travis 6d8a1be50a [UPD] Update account_financial_report.pot 2020-03-23 11:05:04 -04:00
eLBati 7086049112 [MIG] account_financial_report: Finalize migration to 12.0
* Move back to CSS and FIX

  NameError: variable @odoo-view-background-color is undefined in - on line 99, column 23:
  98 .o_account_financial_reports_page {
  99     background-color: @odoo-view-background-color;
  100     color: @odoo-main-text-color;

* Porting: parent_left does not exist anymore. Using parent_path + account code to sort report lines

* FIX js error with date object not converted to string while clicking on initial balance amount
  See https://user-images.githubusercontent.com/1033131/58337566-5d525c80-7e46-11e9-913a-3c3e0115fb3e.gif

* IMP style and metadata

* FIX tests about new date format and partner_id computed field of account.move

* FIX errors like

  2019-06-03 16:11:51,406 17857 ERROR dev_12_account_financial_report odoo.sql_db: bad query: b"\nDELETE FROM 'report_vat_report_tax'\nWHERE COALESCE(\n    write_date, create_date, (now() at time zone 'UTC'))::timestamp\n    < ((now() at time zone 'UTC') - interval '3600.0 seconds')\n"
  ERROR: syntax error at or near "'report_vat_report_tax'"
  LINE 2: DELETE FROM 'report_vat_report_tax'
                    ^
* IMP translation template and IMP Italian translation

* Remove useless comments
* Use AsIs to avoid SQL injection
* Use fields.Date methods
* Remove useless data from tests
* Improve comments
* Fix wizard.multi.charts.accounts
* Move _get_partner_ids_domain to abstract wizard
* Refactor default partners in wizard to use recordsets
* Improve js style
2020-03-23 11:05:04 -04:00
Wolfgang Pichler 987f5fcbd2 [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
2020-03-23 11:05:04 -04:00
Adrià Gil Sorribes a8b4323eeb [11.0][FIX] open Account Move Line view from Aged Partner Balance report 2020-03-23 11:05:04 -04:00
Quentin Groulard 122b0e52d9 [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
2020-03-23 11:05:04 -04:00
Pedro M. Baeza 81d976cc88 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/
2020-03-23 11:05:04 -04:00
Iryna Vushnevska 59a8c10a71 [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
2020-03-23 11:05:04 -04:00
Lara Baggio 6ddf053729 fix check value param self.hierarchy for account grouping 2020-03-23 11:05:03 -04:00