odoo/upgrade-util#364

Created by Erwan Gaynor (erga)

Blocked

label
odoo-dev:master-util-disable-view-erga
head
79de643fc1a97ac36cb3d28fbb81060a7e68279d
odoo/upgrade-util
master #364 missing r+

[ADD] util: view helper functions for active tag

Helper functions for activating and disabling views.

Addition of two functions to simplify the manipulation of the active state of ir.ui.view records. Function call is done through a util.disable_views(cr, (view_ids)), with view_ids being a list.

util.activate_views(cr, (view_ids)) works the same way.