From: Martin Trigaux Date: Wed, 23 Apr 2014 10:18:47 +0000 (+0200) Subject: [MERGE] [FIX] account_voucher: in recompute_voucher_lines, ensure the price value... X-Git-Tag: InsPy_master01~40^2~9^2~3^2~26 X-Git-Url: http://git.inspyration.org/?a=commitdiff_plain;h=a6797e68e695d3d421f29fc1c2f0cf54c1c71e5e;p=odoo%2Fodoo.git [MERGE] [FIX] account_voucher: in recompute_voucher_lines, ensure the price value is not modified when computing the writeoff_amount. Using the remaining amount for writeoff does not make sense as the amount is already in credit or debit lines. This issue could be observed in the payment wizard where the execution of _compute_writeoff_amount (through onchange) would be a negative value at the first execution. bzr revid: mat@openerp.com-20140423101847-s0efihzqe7jcdcps --- a6797e68e695d3d421f29fc1c2f0cf54c1c71e5e