Consolidation wizard raise: Wrong credit or debit value in accounting entry !

Bug #1149429 reported by Nicolas Bessi - Camptocamp
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Account - Consolidation
Fix Committed
Undecided
Unassigned

Bug Description

When consolidating partner account the following message is raised:
'Wrong credit or debit value in accounting entry !'

My firend pdb shows me that we tried to write an move line with a debit and a credit:

{'name': u'Consolidation line in ytd mode', 'company_id': 5, 'journal_id': 53, 'credit': 196.0, 'period_id': 41, 'debit': 1196.0, 'date': '2013-01-31', 'move_id': 59L, 'account_id': 5075}

Related branches

Changed in account-consolidation:
status: New → Confirmed
assignee: nobody → Nicolas Bessi - Camptocamp (nbessi-c2c)
Revision history for this message
Nicolas Bessi - Camptocamp (nbessi-c2c-deactivatedaccount) wrote :

Same message is thrown if move line has no debit and no credit

Changed in account-consolidation:
status: Confirmed → Fix Released
Revision history for this message
Nicolas Bessi - Camptocamp (nbessi-c2c-deactivatedaccount) wrote :

Correction credit was negative but the debug print rounded the value

Changed in account-consolidation:
status: Fix Released → Fix Committed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.