mirror of
https://github.com/OCA/web.git
synced 2025-02-22 13:21:25 +02:00
[FIX] flake8
This commit is contained in:
@@ -111,7 +111,8 @@ class IrFilters(Model):
|
|||||||
'union_filter_ids': [(6, 0, [])],
|
'union_filter_ids': [(6, 0, [])],
|
||||||
'complement_filter_ids': [(6, 0, [])],
|
'complement_filter_ids': [(6, 0, [])],
|
||||||
})
|
})
|
||||||
#if we removed inactive filters which are orphaned now, delete them
|
# if we removed inactive filters which are orphaned now, delete
|
||||||
|
# them
|
||||||
cr.execute('''delete from ir_filters
|
cr.execute('''delete from ir_filters
|
||||||
where
|
where
|
||||||
not active and id in %s
|
not active and id in %s
|
||||||
|
|||||||
Reference in New Issue
Block a user