wrong analytic amount

Bug #1283432 reported by nima
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Odoo Addons (MOVED TO GITHUB)
New
Undecided
Unassigned

Bug Description

when defining a journal item which has anlalytic, the analytic amount is registered wrong in analytic journal items.
for example a 50$ credit in journal is 50$ debit in analytic journal item. i am using openerp 7.0-20140126-002446.

i checked the code. in /addons/account/account_move_line.py : line 182 the analytic amount is calculated by this formula
'amount': (obj_line.credit or 0.0) - (obj_line.debit or 0.0).
 but it should be (obj_line.debit or 0.0) - (obj_line.credit or 0.0).

Revision history for this message
nima (0.5a) wrote :
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.