odoo/upgrade-util#363
Created by Erwan Gaynor (erga)
Blocked
- Merge method
- Review
- CI
- label
- odoo-dev:util-disable-view-erga
- head
- df1076efc0b1308d3f5317304bcac023c41f674f
| odoo/upgrade-util | |
|---|---|
| master | #363 missing statuses missing r+ |
[ADD] records.py: Disable view helper method
Insertion of a helper method to allow disabling of views without the use of an SQL query.
Function call: util.disable_view(cr, id) with id being either the record's xml_id or view_id. If neither is provided, the function call has no action on the record.