[FIX] Account_Voucher : Correction in creating account.move from voucher

bzr revid: jma@tinyerp.com-20100510111252-gwsyp8o6wldxje5w
This commit is contained in:
JMA (OpenERP)
2010-05-10 16:42:52 +05:30
parent 7a2cc710fe
commit b98827bb14
+2 -2
View File
@@ -302,9 +302,9 @@ class account_voucher(osv.osv):
name = self.pool.get('ir.sequence').get_id(cr, uid, journal.sequence_id.id)
move = {
'name': name,
'name' : name,
'journal_id': journal_id,
'voucher_type':inv.type,
'type' : inv.type,
'narration' : inv.narration
}
if inv.period_id: