[FIX] account: domain on wrong field
The store recomputation method failed as the search was made comparing id of account.move.line to the account.journal values. Search was returing no result most of the time (opw 615554) Fixes #2454
This commit is contained in:
parent
5eb6e58156
commit
74157326f0
|
@ -434,7 +434,7 @@ class account_move_line(osv.osv):
|
|||
move[line.move_id.id] = True
|
||||
move_line_ids = []
|
||||
if move:
|
||||
move_line_ids = self.pool.get('account.move.line').search(cr, uid, [('journal_id','in',move.keys())], context=context)
|
||||
move_line_ids = self.pool.get('account.move.line').search(cr, uid, [('move_id','in',move.keys())], context=context)
|
||||
return move_line_ids
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue