[FIX]: account_voucher: Fixed log message and import

bzr revid: rpa@tinyerp.com-20100722084354-zeefn896rvrerwnu
This commit is contained in:
rpa (Open ERP)
2010-07-22 14:13:54 +05:30
parent 64e4a02ce7
commit 63e7e054f1
+2 -1
View File
@@ -22,6 +22,7 @@
import time
from osv import fields
from osv import osv
from tools.translate import _
journal2type = {
'cash':'rec_voucher',
@@ -367,7 +368,7 @@ class account_voucher(osv.osv):
'move_ids':[(6, 0,line_ids)]
}
message = _('Voucher ') + " '" + inv.name + "' "+ _("is confirm")
message = _('Voucher ') + " '" + inv.name + "' "+ _("is confirmed")
self.log(cr, uid, inv.id, message)
self.write(cr, uid, [inv.id], rec)