[IMP] Account: cash statement => Does not consider boolean on journal(posted) while creating move

bzr revid: mra@mra-laptop-20100830103841-toed4biilpkxtixd
This commit is contained in:
Mustufa Rangwala
2010-08-30 16:08:41 +05:30
parent b2395a0b37
commit a5f47a15de
+1 -2
View File
@@ -499,8 +499,7 @@ class account_cash_statement(osv.osv):
else:
account_move_line_obj.reconcile_partial(cr, uid, torec, 'statement', context)
if st.journal_id.entry_posted:
account_move_obj.write(cr, uid, [move_id], {'state':'posted'})
account_move_obj.write(cr, uid, [move_id], {'state':'posted'})
done.append(st.id)
vals = {