[6.0] Cash and bank journals are unintendedly created as refund journals
Bug #741863 reported by
Stefan Rijnhart (Opener)
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo Addons (MOVED TO GITHUB) |
Fix Released
|
Low
|
Stefan Rijnhart (Opener) |
Bug Description
In 6.0 head, the chart of accounts wizard creates bank and cash journals as refund journals. This is an unintended consequence of the fact that the same python dictionary is reused for journal creation, right after the creation of the refund journals. The 'refund_journal' boolean value is never overwritten or deleted.
We noticed this when manually encoding cash entries on accounts with default taxes messed up our tax report.
The same problem does not appear to exist in trunk anymore due to a rewrite of this part of the code.
Related branches
lp:~openerp-community/openobject-addons/stefan-therp_lp741863
- Jay Vora (Serpent Consulting Services) (community): Approve
-
Diff: 11 lines (+1/-0)1 file modifiedaccount/account.py (+1/-0)
lp:~openerp-dev/openobject-addons/6.0-bug-741863-xrg
Rejected
for merging
into
lp:openobject-addons/6.0
- OpenERP Core Team: Pending requested
-
Diff: 10 lines (+1/-0)1 file modifiedaccount/account.py (+1/-0)
Changed in openobject-addons: | |
status: | Incomplete → Fix Committed |
Changed in openobject-addons: | |
assignee: | nobody → xrg (xrg) |
To post a comment you must log in.
Hello Stefan,
I have tested the issue in stable version but did not find any wrong behavior in journal type. I have attached the screen shot for your reference after running the wizard of installing the chart of account for belgium.
So please check it and notify us with more information if problem still persists at your end.
Thanks.