Tryton - Issues

 

Issue4479

Title balance non-deferral accounts is broken with non-view parent accounts
Priority bug Status resolved
Superseder Nosy List ced, rhertzog, roundup-bot
Type behavior Components account
Assigned To ced Keywords review
Reviews 6211003
View: 6211003

Created on 2015-01-12.11:27:26 by rhertzog, last changed by roundup-bot.

Messages
New changeset ffb42370bcf4 by C?dric Krier in branch '3.4':
Use debit - credit instead of balance to balance non-deferral
http://hg.tryton.org/modules/account/rev/ffb42370bcf4

New changeset 497521a4fde7 by C?dric Krier in branch '3.2':
Use debit - credit instead of balance to balance non-deferral
http://hg.tryton.org/modules/account/rev/497521a4fde7

New changeset df8faf4c031d by C?dric Krier in branch '3.0':
Use debit - credit instead of balance to balance non-deferral
http://hg.tryton.org/modules/account/rev/df8faf4c031d
New changeset 2349c4ac39c0 by C?dric Krier in branch 'default':
Use debit - credit instead of balance to balance non-deferral
http://hg.tryton.org/modules/account/rev/2349c4ac39c0
msg20903 (view) Author: [hidden] (ced) (Tryton committer) (Tryton translator) Date: 2015-03-23.21:21:47
Here is the review6211003
msg19549 (view) Author: [hidden] (ced) (Tryton committer) (Tryton translator) Date: 2015-01-12.12:33:37
Agreed, it uses the debit/credit instead of balance to balance an account.
msg19546 (view) Author: [hidden] (rhertzog) (Tryton committer) Date: 2015-01-12.11:27:25
I just tried to run the wizard and have encountered the following problem: I have multiple 646X accounts with a negative balance (that needs to be zeroed) but their parent account (646) is not a view. Unfortunately when you run the wizard, it will correctly zero the 646X accounts but it will also try to zero the total of all 646X accounts in the 646 account (which in fact already had a zero balance). So you end up with a wrong result at the end.

This is probably related to the fact that tryton tends to display the total of the sub-accounts in parents accounts... this is visible in the income statement and in many other views. I have always found this intermediary total to be misleading when used on non-view accounts (but I can understand that it is also useful at times).
History
Date User Action Args
2015-05-06 23:38:28roundup-botsetmessages: + msg21183
2015-03-26 21:14:43roundup-botsetstatus: testing -> resolved
nosy: + roundup-bot
messages: + msg20959
2015-03-23 21:30:11reviewbotsetreviews: 6211003
keyword: + review
2015-03-23 21:21:48cedsetstatus: chatting -> testing
assignedto: ced
messages: + msg20903
2015-01-12 12:33:37cedsetstatus: unread -> chatting
nosy: + ced
messages: + msg19549
2015-01-12 11:27:26rhertzogcreate

Showing 10 items. Show all history (warning: this could be VERY long)