Comment 7 for bug 1127198

Revision history for this message
Niels Huylebroeck (red15) wrote :

So the fix for making sure the voucher creates account moves on the correct date is by changing the code in the voucher object to use the statement line date instead of the date on the voucher.

I admit that would work, but what about manual vouchers ? Those that are not part of a bank statement ? You still create the account moves on the date listed on the voucher itself. Why this double standard why not simply make sure that importing invoices on a bank statement creates a voucher that will match the date of the statement line ?

I'm not agreeing with the proposed solution because it leaves a voucher behind with a date that does not match the date the actual moves are being created on (unless this voucher was part of a bank statement).