[MERGE] [FIX] account_voucher: forward port of fixes from 6.1 (rev 6966)
authorMartin Trigaux <mat@openerp.com>
Wed, 29 Jan 2014 17:20:09 +0000 (18:20 +0100)
committerMartin Trigaux <mat@openerp.com>
Wed, 29 Jan 2014 17:20:09 +0000 (18:20 +0100)
commita27251fbda342894939e612bc9df83c1f5a2e64c
tree02bd50b6fee47184d288ed5c8ad13382f1cb8ff1
parent08dfda9ec677d11556d3a218cb04af6f799646a0
parenteb8fb7c16d9c740d226e50afead05568d759af7f
[MERGE] [FIX] account_voucher: forward port of fixes from 6.1 (rev 6966)
When importing invoices to a bank statement the bank statement lines are created with statement date instead of today
Set the date on the created voucher in the same wizard to the statement date instead of invoice date (problematic if different period)
When creating the account moves (at bank statement confirmation), make sur the date and period of the vouncher are synchronised

bzr revid: mat@openerp.com-20140129172009-vbp5n1nco51kaly8
addons/account_voucher/account_voucher.py