[FIX] key in domain.

By hazard test where green but it was because level (field) and level_id where the same
This commit is contained in:
Nicolas Bessi
2014-04-28 13:20:24 +02:00
parent 4c67871ac8
commit e893d20abb

View File

@@ -202,7 +202,7 @@ class CreditControlLine(orm.Model):
previous_draft_ids = self.search(
cr, uid,
[('move_line_id', '=', line.id),
('level', '=', level.id),
('policy_level_id', '=', level.id),
('state', '=', 'draft'),
('id', '!=', line_id)],
context=context)