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
Goffin Simon
47208550a2
[FIX] account: periods in general ledger report
...
When "Filter by Periods" is choosen in the wizard, the right periods
must be set in ctx to filter the account moves according to the right periods
opw:674593
2016-05-11 09:44:27 +02:00
Denis Ledoux
3aae56582a
[FIX] account: general ledger & trial balance report from accounts list
...
When printing these reports from the accounts list
Accounting > Configuration > Accounts > Print menu > General Ledger
the ID of the wizard was considered as the ID of an account,
leading to obvious issues when this ID wasn't available
in the account_account table, or when the user
do not had the access rights to see the accounts with this
ID.
The override was completely useless: The wizard is
launched whether you print these reports from
Accounting > Reporting > Legal reports > Accounting Reports
or from the accounts list, and the super _get_account can
be called correctly for these two use cases.
opw-643589
2015-07-01 11:06:21 +02:00
Simon Lejeune
106d06ce5d
[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
...
bzr revid: sle@openerp.com-20140402164053-gry12scy8zca68lv
2014-04-02 18:40:53 +02:00
Martin Trigaux
8fd6cb92e7
[IMP] use exact writing for fsf address
...
bzr revid: mat@openerp.com-20130514142837-jt65d8xjd1eozqst
2013-05-14 16:28:37 +02:00
Martin Trigaux
3c11652fac
[IMP] trmove double space in fsf address
...
bzr revid: mat@openerp.com-20130514141132-610k885sxtcr8vpb
2013-05-14 16:11:32 +02:00
Martin Trigaux
7b8f704f90
[FIX] fix FSF address
...
bzr revid: mat@openerp.com-20130514120424-xwjzdf3mufifl90d
2013-05-14 14:04:24 +02:00
Vo Minh Thu
e7f4891d46
[IMP] use the openerp namespace.
...
bzr revid: vmt@openerp.com-20121206145632-0h1coh5aaem65wsy
2012-12-06 15:56:32 +01:00
Hardik Ansodariya (OpenERP)
024b70b8c7
[FIX]account : Fixed the issue of translation
...
bzr revid: mma@tinyerp.com-20121106101730-a9m06qv1lhj82qhl
2012-11-06 15:47:30 +05:30
Quentin (OpenERP)
b0022af2c7
[IMP] account: good default value for some accounting reports
...
bzr revid: qdp-launchpad@openerp.com-20110608100427-l3q2epim235cgg14
2011-06-08 12:04:27 +02:00
psi (Open ERP)
d14b3cd7f5
[FIX] small fix so report run will not raise unwanted YML errors
...
bzr revid: psi@tinyerp.co.in-20110506064356-6li6jr6oiyp9nve8
2011-05-06 12:13:56 +05:30
qdp-launchpad@tinyerp.com
2df4a68377
[MERGE] merged the dev3 branch
...
bzr revid: qdp-launchpad@tinyerp.com-20110114001101-wk77opsrvslh7pak
2011-01-14 01:11:01 +01:00
qdp-launchpad@tinyerp.com
6c7c712235
[FIX] account: is_zero function of res.currency obj was not used in the correct way
...
bzr revid: qdp-launchpad@tinyerp.com-20110113165726-s2a377wrk8jdxrjr
2011-01-13 17:57:26 +01:00
Mustufa Rangwala
fbec6744a1
[MERGE] Account: Report general ledger => with is_zero method instead of direct comparision for bal_solde
...
bzr revid: mra@mra-laptop-20110104072629-8pm3wqqncd1iawi2
2011-01-04 12:56:29 +05:30
ARA (OpenERP)
aa44246fe4
[FIX]account: general ledger
...
lp bug: https://launchpad.net/bugs/656378 fixed
bzr revid: ara@tinyerp.com-20110104055112-wnqayojs4db8igmr
2011-01-04 11:21:12 +05:30
husen
f433b959c2
merged with trunk
...
bzr revid: husen@husen-laptop-20101230095809-cl6dkve1odgdtqtv
2010-12-30 15:28:09 +05:30
qdp-launchpad@tinyerp.com
fa408fab65
[IMP] account: improved the general ledger report
...
bzr revid: qdp-launchpad@tinyerp.com-20101125144127-b7xf8xta4w2jcwkd
2010-11-25 15:41:27 +01:00
apa-tiny
e4b1403e44
[IMP]:account:improved for strip_name function and add rowHeight.
...
bzr revid: apa@tinyerp.com-20101123121511-31jkgmx1kpv22f78
2010-11-23 17:45:11 +05:30
qdp-launchpad@tinyerp.com
4c8a58015a
[FIX] account, general ledger report: fixed the strip_name function
...
bzr revid: qdp-launchpad@tinyerp.com-20101122162348-paxq56r4wj6mtjqn
2010-11-22 17:23:48 +01:00
apa-tiny
228099c33b
merged from trunk
...
bzr revid: apa@tinyerp.com-20101110131239-i0kua7cplgr17z2o
2010-11-10 18:42:39 +05:30
Mustufa Rangwala
4ec35ed711
[FIX] Account: General ledger report => Currency id keyerror with initial balance ticked (Bug refernce: https://bugs.launchpad.net/openobject-addons/+bug/668215 )
...
bzr revid: mra@mra-laptop-20101030085804-hbevgcqs8wnjsvzl
2010-10-30 14:28:04 +05:30
apa-tiny
8bd4923b9b
[IMP]:account:added strip_name function in general ledger report.
...
bzr revid: apa@tinyerp.com-20101026094840-k7eoajbkipno8k1u
2010-10-26 15:18:40 +05:30
apa-tiny
fe32b72179
[REM]:account,hr_payroll:remove rml_parse.py file.
...
bzr revid: apa@tinyerp.com-20101026093541-0bze9bqj444gntut
2010-10-26 15:05:41 +05:30
vra
4685282c4b
[MERGE][IMP] account_voucher: restore the previous commit lost changes in some reports of hr payroll.
...
bzr revid: vra@tinyerp.com-20101011125646-4qjzb2gr2lbjqe0v
2010-10-11 18:26:46 +05:30
apa-tiny
a82e2f729c
merged from trunk
...
bzr revid: apa@tinyerp.com-20101011094034-3gqu5rsswp784gr0
2010-10-11 15:10:34 +05:30
apa-tiny
c6d60694dc
improve
...
bzr revid: apa@tinyerp.com-20101011070819-co8p6lneh3nbosvn
2010-10-11 12:38:19 +05:30
vth
685489a172
[REF] account
...
bzr revid: vth@tinyerp.com-20101011055153-h8hygvtjqkxc8004
2010-10-11 11:21:53 +05:30
vra
1a088c5b61
[ADD] accounts: added account move target move in all related account reports.
...
bzr revid: vra@tinyerp.com-20101004113109-vca9ihk5d22hgl8m
2010-10-04 17:01:09 +05:30
Mustufa Rangwala
07362d6706
[MERGE] Merge from trunk addons
...
bzr revid: mra@mra-laptop-20101001121607-8p533amm9jqz91dp
2010-10-01 17:46:07 +05:30
olt@tinyerp.com
78736c910d
[IMP] account: 'account_general_ledger' report now uses decimal_precicion
...
bzr revid: olt@tinyerp.com-20101001115816-ez0lzvu9ywo3858q
2010-10-01 13:58:16 +02:00
qdp-launchpad@tinyerp.com
45e78ba71e
[IMP] account: improved the query_get of account_move_line to put the logic of initial balance computing + fixes on general ledger report
...
bzr revid: qdp-launchpad@tinyerp.com-20101001113241-ojddhmvr3q3zppzj
2010-10-01 13:32:41 +02:00
Mustufa Rangwala
5c4592ba23
[FIX] Account: Generel ledger small fix for new changes for sql injection
...
bzr revid: mra@mra-laptop-20101001083602-9hxbron7n7y6fin1
2010-10-01 14:06:02 +05:30
qdp-launchpad@tinyerp.com
e42cc1278b
[IMP] account: moved the build of the query_get used in the reports, on the reports file... to avoid sql injections
...
bzr revid: qdp-launchpad@tinyerp.com-20101001081202-n2yc97fvh3rqdl7m
2010-10-01 10:12:02 +02:00
vra
a95005cc4c
[IMP][ADD] account: added leveling and calculating balance of view type of account in general ledger report.
...
bzr revid: vra@tinyerp.com-20100921093857-e2k9aiywzl2sr0zb
2010-09-21 15:08:57 +05:30
psi (Open ERP)
a6d6fa5040
[IMP] Account: Add target moves in general ledger report
...
bzr revid: psi@tinyerp.co.in-20100917110357-eqczcxbrg6l66d6u
2010-09-17 16:33:57 +05:30
psi (Open ERP)
f5037005dd
[IMP] account: Remove argument form from general ledger report
...
bzr revid: psi@tinyerp.co.in-20100915121544-6yl56ljnrkssof7i
2010-09-15 17:45:44 +05:30
vra
53c631b74a
[IMP] account: general ledger report improvement.
...
bzr revid: vra@tinyerp.com-20100915104741-itdpn45zl5fi1wbu
2010-09-15 16:17:41 +05:30
Mustufa Rangwala
ed6d18a6b1
[IMP] Account: General ledger report
...
bzr revid: mra@mra-laptop-20100914123636-lhs4ow6hgz7yior8
2010-09-14 18:06:36 +05:30
Fabien Pinckaers
74addab292
[FIX] fixing report headers
...
bzr revid: fp@tinyerp.com-20100824123711-wp7hwd89yeqgpjaa
2010-08-24 14:37:11 +02:00
ARA(OpenERP)
1121f929e3
typo
...
bzr revid: mra@mra-laptop-20100814121231-xl63g5ao5gm2cvix
2010-08-14 17:42:31 +05:30
Mustufa Rangwala
4017f5dc13
[IMP] Clean and improvements on all reports & wizards
...
bzr revid: mra@mra-laptop-20100803042554-gctua4lghmfjk1f4
2010-08-03 09:55:54 +05:30
Mustufa Rangwala
861a151467
[FIX] general ledger
...
bzr revid: mra@mra-laptop-20100802124852-yt0d1gu4xvi8m72q
2010-08-02 18:18:52 +05:30
sbh (Open ERP)
a8ab50cf31
[IMP] rename the general_ledger report
...
bzr revid: sbh@tinyerp.com-20100802120825-oh7g03zamv79blqi
2010-08-02 17:38:25 +05:30