bzr revid: fp@tinyerp.com-20090119153600-943qz5yzgpb0dbuh
This commit is contained in:
Fabien Pinckaers
2009-01-19 16:36:00 +01:00
parent 520f5aec9c
commit c369a50e06
+1 -1
View File
@@ -942,7 +942,7 @@ class account_move_line(osv.osv):
if check:
tmp = self.pool.get('account.move').validate(cr, uid, [vals['move_id']], context)
if journal.entry_posted and tmp:
self.pool.get('account.move').write(cr,uid, [vals['move_id']],{'state':'posted'})
self.pool.get('account.move').button_validate(cr,uid, [vals['move_id']],context)
return result
account_move_line()