[FIX] account_voucher: better pay invoice wizard
authorMartin Trigaux <mat@openerp.com>
Tue, 10 Jun 2014 10:26:46 +0000 (12:26 +0200)
committerMartin Trigaux <mat@openerp.com>
Tue, 10 Jun 2014 11:41:27 +0000 (13:41 +0200)
commitfdd00fe635a9666d337a4ef420e08d49973ff307
tree679e26fab96d8a64ed3a51a67fa4c8591b69be44
parent6fdb783a378104700138dd0abcc571856fdc9541
[FIX] account_voucher: better pay invoice wizard

If the writeoff_amount is above 0, the fields writeoff_acc_id can be displayed and is required depending of the payment option. If the writeoff_amount is reset to 0, this field should no longer be required.
addons/account_voucher/voucher_payment_receipt_view.xml