mirror of
https://github.com/OCA/account-financial-tools.git
synced 2025-02-02 12:47:26 +02:00
[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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user