[FIX] base: do not validate deactived custom views
This commit is contained in:
parent
1bcc5b5797
commit
33bb8db05e
|
@ -1096,6 +1096,7 @@ class view(osv.osv):
|
|||
LEFT JOIN ir_model_data md ON (md.model = 'ir.ui.view' AND md.res_id = v.id)
|
||||
WHERE md.module IS NULL
|
||||
AND v.model = %s
|
||||
AND v.active = true
|
||||
GROUP BY coalesce(v.inherit_id, v.id)
|
||||
""", (model,))
|
||||
|
||||
|
|
Loading…
Reference in New Issue