odoo/addons/account/report
Nicolas Martinelli 6742d1fafe [FIX] account: wrong initial balance in GL
When the General Ledger is printed, the initial balance is zero if the
filtering is done by period.

It appears that in this case, the method `_query_get` selects all the
periods before the selected period range thanks to:
`build_ctx_periods(cr, uid, first_period, context['period_from'])`
On the other hand, `_query_get` builds the query as:
`date_start <= %(date_start)s AND id NOT IN %(period_ids)s`

That doesn't make sense since we first choose the periods before the
selected period range, then we exclude them. What the method
`_query_get` is doing seems wrong, but since this method is used in many
reports, it is safer to only fix the GL report directly.

Another solution could be
https://gist.github.com/nim-odoo/453176d9ae820615e69f9a809a3780cc

opw-681601
2016-07-26 18:12:14 +02:00
..
__init__.py [IMP] account* reports: removed rml, added qweb template, changed the wizard to return qweb actions 2014-03-27 19:25:20 +01:00
account_aged_partner_balance.py [FIX] account: substitution in aged partner report 2016-05-27 15:00:59 +02:00
account_analytic_entries_report.py [IMP] Cleaning of reporting (group_by, filters), adding new favourites and default views, some renaming (py and xml files) 2014-08-26 11:56:49 +02:00
account_analytic_entries_report_view.xml [IMP] Cleaning of reporting (group_by, filters), adding new favourites and default views, some renaming (py and xml files) 2014-08-26 11:56:49 +02:00
account_balance.py [FIX] account: general ledger & trial balance report from accounts list 2015-07-01 11:06:21 +02:00
account_central_journal.py [IMP] account* reports: removed unused class/report/commented code/test, added the abstract_report wrapper on all old style report classes + some fixes on views and wizards in order to use these classes to render the qweb reports 2014-04-02 18:40:53 +02:00
account_entries_report.py [MERGE] forward port of branch saas-3 up to da93981 2015-05-07 11:34:48 +02:00
account_entries_report_view.xml [IMP] Cleaning of reporting (group_by, filters), adding new favourites and default views, some renaming (py and xml files) 2014-08-26 11:56:49 +02:00
account_financial_report.py [IMP] account* reports: removed unused class/report/commented code/test, added the abstract_report wrapper on all old style report classes + some fixes on views and wizards in order to use these classes to render the qweb reports 2014-04-02 18:40:53 +02:00
account_general_journal.py [IMP] account* reports: removed unused class/report/commented code/test, added the abstract_report wrapper on all old style report classes + some fixes on views and wizards in order to use these classes to render the qweb reports 2014-04-02 18:40:53 +02:00
account_general_ledger.py [FIX] account: wrong initial balance in GL 2016-07-26 18:12:14 +02:00
account_invoice_report.py [FIX] account.invoice.report: performance problem in currency rate computation 2015-04-30 00:20:12 +02:00
account_invoice_report_view.xml [FIX] account: open Monthly Turnover partner in graph mode 2014-12-12 12:16:56 +01:00
account_journal.py [FIX] account, crm, l10n_fr: avoid exceptions when processing parameters 2015-11-03 21:38:53 +01:00
account_partner_balance.py [MERGE] forward port of branch saas-3 up to 21b1203 2014-10-29 19:33:02 +01:00
account_partner_ledger.py [MERGE] forward port of branch saas-3 up to 12f600c 2015-04-01 19:13:25 +02:00
account_print_overdue.py [IMP] account* reports: removed unused class/report/commented code/test, added the abstract_report wrapper on all old style report classes + some fixes on views and wizards in order to use these classes to render the qweb reports 2014-04-02 18:40:53 +02:00
account_report.py [FIX] fields_view_get super arguments 2015-08-27 11:07:11 +02:00
account_report_view.xml Removed version="7.0" from form views 2014-06-12 09:09:59 +02:00
account_treasury_report.py [REF] removed explicit model instanciations. 2013-04-15 12:23:49 +02:00
account_treasury_report_view.xml [IMP] Cleaning of reporting (group_by, filters), adding new favourites and default views, some renaming (py and xml files) 2014-08-26 11:56:49 +02:00
common_report_header.py [REF] account: removed openerp.pooler imports. 2013-03-27 14:43:37 +01:00
report_vat.py [FIX] VAT Report: Fiscalyear and period selection 2015-06-23 17:06:25 +02:00
transfer.xml merged with trunk 2010-12-30 15:28:09 +05:30
transfer.xsl merged with trunk 2010-12-30 15:28:09 +05:30