Account Invoice compute method does not working properly without account_voucher
Bug #664897 reported by
Jacara
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo Addons (MOVED TO GITHUB) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
I'm testing rc1 code and I installed account module without account_voucher module.
Then i create Customer Invoice and confirmed. But Residual field appearing zero. It is a BUG?
Please check this.
Thanks
To post a comment you must log in.
I explored some code in addons/ account/ invoice. py.
I think the reason :
method of function field _amount_residual is called before _account_all.
the residual field set before total_amount field.
then after confirmed that invoice total_amount = 100.0, residual = 0.0